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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
780 B
Nix
Raw Normal View History

2022-06-10 19:39:06 +00:00
{ lib
2022-10-12 11:11:54 +00:00
, stdenv
2022-06-10 19:39:06 +00:00
, buildGoModule
2019-10-20 20:02:48 +00:00
, fetchFromGitHub
2021-04-03 22:34:13 +00:00
, nixosTests
2019-10-20 20:02:48 +00:00
}:
2022-06-10 19:39:06 +00:00
buildGoModule rec {
2019-10-20 20:02:48 +00:00
pname = "pebble";
2022-04-24 20:48:48 +00:00
version = "2.4.0";
2019-10-20 20:02:48 +00:00
src = fetchFromGitHub {
owner = "letsencrypt";
repo = pname;
rev = "v${version}";
sha256 = "0sh67bzq3hlagk73w2kp45viq15g2rcxm760jk9fqshamq784m6m";
2019-10-20 20:02:48 +00:00
};
2022-06-10 19:39:06 +00:00
vendorSha256 = null;
2021-04-03 22:34:13 +00:00
passthru.tests = {
smoke-test = nixosTests.acme;
};
2019-10-20 20:02:48 +00:00
meta = {
2022-10-12 11:11:54 +00:00
# ca/ca.go:374:67: 9223372038 (untyped int constant) overflows uint
broken = stdenv.hostPlatform.is32bit;
homepage = "https://github.com/letsencrypt/pebble";
2019-10-20 20:02:48 +00: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 00:36:42 +00:00
maintainers = lib.teams.acme.members;
2019-10-20 20:02:48 +00:00
};
}