depot/third_party/nixpkgs/pkgs/tools/admin/pebble/default.nix
Default email 889482aab3 Project import generated by Copybara.
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
2022-06-26 12:26:21 +02:00

30 lines
657 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
, nixosTests
}:
buildGoModule rec {
pname = "pebble";
version = "2.4.0";
src = fetchFromGitHub {
owner = "letsencrypt";
repo = pname;
rev = "v${version}";
sha256 = "0sh67bzq3hlagk73w2kp45viq15g2rcxm760jk9fqshamq784m6m";
};
vendorSha256 = null;
passthru.tests = {
smoke-test = nixosTests.acme;
};
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 ];
maintainers = lib.teams.acme.members;
};
}