3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/admin/pebble/default.nix

32 lines
711 B
Nix
Raw Normal View History

2019-10-20 21:02:48 +01:00
{ buildGoPackage
, fetchFromGitHub
, lib
2021-04-03 23:34:13 +01:00
, nixosTests
2019-10-20 21:02:48 +01:00
}:
let
version = "v2.3.0";
2019-10-20 21:02:48 +01:00
pname = "pebble";
in buildGoPackage {
inherit pname version;
goPackagePath = "github.com/letsencrypt/${pname}";
src = fetchFromGitHub {
owner = "letsencrypt";
repo = pname;
rev = version;
sha256 = "1piwzzfqsdx6s2niczzp4mf4r3qn9nfdgpn7882g52cmmm0vzks2";
2019-10-20 21:02:48 +01:00
};
2021-04-03 23:34:13 +01:00
passthru.tests = {
smoke-test = nixosTests.acme;
};
2019-10-20 21:02:48 +01:00
meta = {
homepage = "https://github.com/letsencrypt/pebble";
2019-10-20 21:02:48 +01:00
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 ];
2020-04-20 01:36:42 +01:00
maintainers = lib.teams.acme.members;
2019-10-20 21:02:48 +01:00
};
}