lol
1{ lib
2, stdenv
3, buildGoModule
4, fetchFromGitHub
5, nixosTests
6}:
7
8buildGoModule rec {
9 pname = "pebble";
10 version = "2.4.0";
11
12 src = fetchFromGitHub {
13 owner = "letsencrypt";
14 repo = pname;
15 rev = "v${version}";
16 sha256 = "0sh67bzq3hlagk73w2kp45viq15g2rcxm760jk9fqshamq784m6m";
17 };
18
19 vendorHash = null;
20
21 passthru.tests = {
22 smoke-test = nixosTests.acme;
23 };
24
25 meta = {
26 # ca/ca.go:374:67: 9223372038 (untyped int constant) overflows uint
27 broken = stdenv.hostPlatform.is32bit;
28 homepage = "https://github.com/letsencrypt/pebble";
29 description = "A miniature version of Boulder, Pebble is a small RFC 8555 ACME test server not suited for a production CA";
30 license = [ lib.licenses.mpl20 ];
31 maintainers = lib.teams.acme.members;
32 };
33}