2022-06-10 21:39:06 +02:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
2019-10-20 22:02:48 +02:00
|
|
|
, fetchFromGitHub
|
2021-04-04 00:34:13 +02:00
|
|
|
, nixosTests
|
2019-10-20 22:02:48 +02:00
|
|
|
}:
|
|
|
|
|
2022-06-10 21:39:06 +02:00
|
|
|
buildGoModule rec {
|
2019-10-20 22:02:48 +02:00
|
|
|
pname = "pebble";
|
2022-04-24 22:48:48 +02:00
|
|
|
version = "2.4.0";
|
2022-02-28 12:35:10 +01:00
|
|
|
|
2019-10-20 22:02:48 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "letsencrypt";
|
|
|
|
repo = pname;
|
2022-02-28 12:35:10 +01:00
|
|
|
rev = "v${version}";
|
2022-04-24 23:57:31 +02:00
|
|
|
sha256 = "0sh67bzq3hlagk73w2kp45viq15g2rcxm760jk9fqshamq784m6m";
|
2019-10-20 22:02:48 +02:00
|
|
|
};
|
|
|
|
|
2022-06-10 21:39:06 +02:00
|
|
|
vendorSha256 = null;
|
|
|
|
|
2021-04-04 00:34:13 +02:00
|
|
|
passthru.tests = {
|
|
|
|
smoke-test = nixosTests.acme;
|
|
|
|
};
|
|
|
|
|
2019-10-20 22:02:48 +02:00
|
|
|
meta = {
|
2020-03-24 06:21:39 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|