diff options
author | Elis Hirwing <elis@hirwing.se> | 2021-07-14 20:28:10 +0200 |
---|---|---|
committer | Elis Hirwing <elis@hirwing.se> | 2021-07-18 20:30:02 +0200 |
commit | af5d91db55372c9181cdfffeba32e8181ab96ec2 (patch) | |
tree | d0395a2519794219db6ad329941402f0023d081f /pkgs | |
parent | eb0aa6ea31ea14724a5c8b6c10f3d9b282d77461 (diff) |
hockeypuck: init at 2.1.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/hockeypuck/server.nix | 19 | ||||
-rw-r--r-- | pkgs/servers/hockeypuck/sources.nix | 16 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/servers/hockeypuck/server.nix b/pkgs/servers/hockeypuck/server.nix new file mode 100644 index 0000000000000..5a95f227832d8 --- /dev/null +++ b/pkgs/servers/hockeypuck/server.nix @@ -0,0 +1,19 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +let + sources = (import ./sources.nix) { inherit fetchFromGitHub; }; +in +buildGoModule { + inherit (sources) pname version src; + + modRoot = "src/hockeypuck/"; + vendorSha256 = null; + doCheck = false; # Uses networking for tests + + meta = with lib; { + description = "OpenPGP Key Server"; + homepage = "https://github.com/hockeypuck/hockeypuck"; + license = licenses.agpl3Plus; + maintainers = [ maintainers.etu ]; + }; +} diff --git a/pkgs/servers/hockeypuck/sources.nix b/pkgs/servers/hockeypuck/sources.nix new file mode 100644 index 0000000000000..b504cd331410f --- /dev/null +++ b/pkgs/servers/hockeypuck/sources.nix @@ -0,0 +1,16 @@ +{ fetchFromGitHub }: + +let + pname = "hockeypuck"; + version = "2.1.0"; +in +{ + inherit version pname; + + src = fetchFromGitHub { + owner = pname; + repo = pname; + rev = version; + sha256 = "0da3ffbqck0dr7d89gy2yillp7g9a4ziyjlvrm8vgkkg2fs8dlb1"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 52038e03e5751..50652e2f9410a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5827,6 +5827,8 @@ in lua = lua5; }); + hockeypuck = callPackage ../servers/hockeypuck/server.nix { }; + holochain-go = callPackage ../servers/holochain-go { }; homesick = callPackage ../tools/misc/homesick { }; |