diff options
Diffstat (limited to 'systems/eldiron/websites/games/codenames/greenapid.nix')
-rw-r--r-- | systems/eldiron/websites/games/codenames/greenapid.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/systems/eldiron/websites/games/codenames/greenapid.nix b/systems/eldiron/websites/games/codenames/greenapid.nix new file mode 100644 index 0000000..52bda3b --- /dev/null +++ b/systems/eldiron/websites/games/codenames/greenapid.nix | |||
@@ -0,0 +1,18 @@ | |||
1 | { buildGoPackage, fetchFromGitHub, socket ? "/run/codenamesgreen/socket.sock" }: | ||
2 | buildGoPackage rec { | ||
3 | pname = "greenapid"; | ||
4 | version = "master-6d014d0"; | ||
5 | |||
6 | goPackagePath = "github.com/jbowens/codenamesgreen"; | ||
7 | subPackages = [ "cmd/greenapid" ]; | ||
8 | |||
9 | src = fetchFromGitHub { | ||
10 | owner = "jbowens"; | ||
11 | repo = "codenamesgreen"; | ||
12 | rev = "6d014d0df14bee72495e01f12885ef31cba3bd6b"; | ||
13 | sha256 = "0bkaf52rnjw792q0755in4k5jbcrmgq06cl03fdl6zdr8kq2mhm0"; | ||
14 | }; | ||
15 | |||
16 | patches = [ ./greenapid.patch ]; | ||
17 | goDeps = ./deps.nix; | ||
18 | } | ||