nixpkgs-suyu/pkgs/servers/hockeypuck/server.nix

22 lines
527 B
Nix
Raw Normal View History

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