2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
2022-10-21 18:38:19 +00:00
|
|
|
, stdenv
|
2022-06-16 17:23:12 +00:00
|
|
|
, buildGoModule
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
2021-05-20 23:08:51 +00:00
|
|
|
, nixosTests
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "pebble";
|
2022-06-26 10:26:21 +00:00
|
|
|
version = "2.4.0";
|
2022-03-05 16:20:37 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "letsencrypt";
|
|
|
|
repo = pname;
|
2022-03-05 16:20:37 +00:00
|
|
|
rev = "v${version}";
|
2022-06-26 10:26:21 +00:00
|
|
|
sha256 = "0sh67bzq3hlagk73w2kp45viq15g2rcxm760jk9fqshamq784m6m";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
vendorSha256 = null;
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
passthru.tests = {
|
|
|
|
smoke-test = nixosTests.acme;
|
|
|
|
};
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
2022-10-21 18:38:19 +00:00
|
|
|
# ca/ca.go:374:67: 9223372038 (untyped int constant) overflows uint
|
|
|
|
broken = stdenv.hostPlatform.is32bit;
|
2020-04-24 23:36:52 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|