aboutsummaryrefslogtreecommitdiff
path: root/systems/eldiron/websites/games/codenames/greenapid.nix
blob: 52bda3b4d3b9e869cc6050b6d089b2164f6931e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ buildGoPackage, fetchFromGitHub, socket ? "/run/codenamesgreen/socket.sock" }:
buildGoPackage rec {
  pname = "greenapid";
  version = "master-6d014d0";

  goPackagePath = "github.com/jbowens/codenamesgreen";
  subPackages = [ "cmd/greenapid" ];

  src = fetchFromGitHub {
    owner = "jbowens";
    repo = "codenamesgreen";
    rev = "6d014d0df14bee72495e01f12885ef31cba3bd6b";
    sha256 = "0bkaf52rnjw792q0755in4k5jbcrmgq06cl03fdl6zdr8kq2mhm0";
  };

  patches = [ ./greenapid.patch ];
  goDeps = ./deps.nix;
}