nixpkgs/pkgs/servers/hockeypuck/server.nix

22 lines
527 B
Nix
Raw Normal View History

2021-07-18 07:51:49 +00:00
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
2021-07-14 18:28:10 +00:00
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
2021-07-18 07:51:49 +00:00
passthru.tests = nixosTests.hockeypuck;
2021-07-14 18:28:10 +00:00
meta = with lib; {
description = "OpenPGP Key Server";
homepage = "https://github.com/hockeypuck/hockeypuck";
license = licenses.agpl3Plus;
maintainers = [ maintainers.etu ];
};
}