nixpkgs-suyu/pkgs/tools/admin/pebble/default.nix

32 lines
711 B
Nix
Raw Normal View History

2019-10-20 22:02:48 +02:00
{ buildGoPackage
, fetchFromGitHub
, lib
2021-04-04 00:34:13 +02:00
, nixosTests
2019-10-20 22:02:48 +02:00
}:
let
version = "v2.3.0";
2019-10-20 22:02:48 +02: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 22:02:48 +02:00
};
2021-04-04 00:34:13 +02:00
passthru.tests = {
smoke-test = nixosTests.acme;
};
2019-10-20 22:02:48 +02:00
meta = {
homepage = "https://github.com/letsencrypt/pebble";
2019-10-20 22:02:48 +02: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 02:36:42 +02:00
maintainers = lib.teams.acme.members;
2019-10-20 22:02:48 +02:00
};
}