about summary refs log tree commit diff
path: root/pkgs/servers/hockeypuck/server.nix
blob: cf48fd5716c94e914b614d5914f2e7f8b31401cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:

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

  passthru.tests = nixosTests.hockeypuck;

  meta = with lib; {
    description = "OpenPGP Key Server";
    homepage = "https://github.com/hockeypuck/hockeypuck";
    license = licenses.agpl3Plus;
    maintainers = [ maintainers.etu ];
  };
}