summary refs log blame commit diff
path: root/pkgs/tools/admin/pebble/default.nix
blob: 1fb902a8c803506e7efedcad69e4c8fe73c5b103 (plain) (tree)
1
2
3
4
5
6
7
8


                 
            


   
                     








                                                    
                                                                    

    



                                 
          
                                                       

                                                                                                                               
                                         

    
{ buildGoPackage
, fetchFromGitHub
, lib
, nixosTests
}:

let
  version = "v2.3.0";
  pname = "pebble";
in buildGoPackage {
  inherit pname version;
  goPackagePath = "github.com/letsencrypt/${pname}";

  src = fetchFromGitHub {
    owner = "letsencrypt";
    repo = pname;
    rev = version;
    sha256 = "1piwzzfqsdx6s2niczzp4mf4r3qn9nfdgpn7882g52cmmm0vzks2";
  };

  passthru.tests = {
    smoke-test = nixosTests.acme;
  };

  meta = {
    homepage = "https://github.com/letsencrypt/pebble";
    description = "A miniature version of Boulder, Pebble is a small RFC 8555 ACME test server not suited for a production CA";
    license = [ lib.licenses.mpl20 ];
    maintainers = lib.teams.acme.members;
  };
}