Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 26 lines 534 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 nixosTests, 6}: 7 8let 9 sources = (import ./sources.nix) { inherit fetchFromGitHub; }; 10in 11buildGoModule { 12 inherit (sources) pname version src; 13 14 modRoot = "src/hockeypuck/"; 15 vendorHash = null; 16 doCheck = false; # Uses networking for tests 17 18 passthru.tests = nixosTests.hockeypuck; 19 20 meta = with lib; { 21 description = "OpenPGP Key Server"; 22 homepage = "https://github.com/hockeypuck/hockeypuck"; 23 license = licenses.agpl3Plus; 24 maintainers = [ maintainers.etu ]; 25 }; 26}