about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/hockeypuck/server.nix
blob: 4a59ebe77463e83e1700289fa4430c4fb9b86469 (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/";
  vendorHash = 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 ];
  };
}