Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 39 lines 722 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 nixosTests, 6}: 7 8buildGoModule rec { 9 pname = "certmgr"; 10 version = "3.0.3"; 11 12 src = fetchFromGitHub { 13 owner = "cloudflare"; 14 repo = "certmgr"; 15 rev = "v${version}"; 16 hash = "sha256-MgNPU06bv31tdfUnigcmct8UTVztNLXcmTg3H/J7mic="; 17 }; 18 19 vendorHash = null; 20 21 ldflags = [ 22 "-s" 23 "-w" 24 ]; 25 26 passthru.tests = { inherit (nixosTests) certmgr; }; 27 28 meta = with lib; { 29 homepage = "https://cfssl.org/"; 30 description = "Cloudflare's automated certificate management using a CFSSL CA"; 31 mainProgram = "certmgr"; 32 platforms = platforms.linux; 33 license = licenses.bsd2; 34 maintainers = with maintainers; [ 35 johanot 36 srhb 37 ]; 38 }; 39}