2020-04-24 23:36:52 +00:00
|
|
|
{ buildGoPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
2021-05-20 23:08:51 +00:00
|
|
|
, nixosTests
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
buildGoPackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "pebble";
|
2022-04-15 01:41:22 +00:00
|
|
|
version = "2.3.1";
|
2022-03-05 16:20:37 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
goPackagePath = "github.com/letsencrypt/${pname}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "letsencrypt";
|
|
|
|
repo = pname;
|
2022-03-05 16:20:37 +00:00
|
|
|
rev = "v${version}";
|
2022-04-15 01:41:22 +00:00
|
|
|
sha256 = "sha256-S9+iRaTSRt4F6yMKK0OJO6Zto9p0dZ3q/mULaipudVo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
passthru.tests = {
|
|
|
|
smoke-test = nixosTests.acme;
|
|
|
|
};
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
2020-05-03 17:38:23 +00:00
|
|
|
maintainers = lib.teams.acme.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|