depot/third_party/nixpkgs/pkgs/tools/admin/pebble/default.nix
Default email 8e65f7f0cc Project import generated by Copybara.
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
2022-03-05 17:20:37 +01:00

30 lines
689 B
Nix

{ buildGoPackage
, fetchFromGitHub
, lib
, nixosTests
}:
buildGoPackage rec {
pname = "pebble";
version = "2.3.0";
goPackagePath = "github.com/letsencrypt/${pname}";
src = fetchFromGitHub {
owner = "letsencrypt";
repo = pname;
rev = "v${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;
};
}