Unverified Commit 5bcc2a2c authored by Emily's avatar Emily Committed by GitHub
Browse files

pebble: 2.4.0 -> 2.6.0 (#331721)

parents cd0356b6 e373cc2c
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, nixosTests
@@ -7,27 +6,32 @@

buildGoModule rec {
  pname = "pebble";
  version = "2.4.0";
  version = "2.6.0";

  src = fetchFromGitHub {
    owner = "letsencrypt";
    repo = pname;
    rev = "v${version}";
    sha256 = "0sh67bzq3hlagk73w2kp45viq15g2rcxm760jk9fqshamq784m6m";
    hash = "sha256-YPU/bl7h6rOWg+5ut0Thn2UupeKpJ7u4KXc2svIeZEM=";
  };

  vendorHash = null;

  ldflags = [
    "-s" "-w"
    "-X main.version=${version}"
  ];

  passthru.tests = {
    smoke-test = nixosTests.acme;
  };

  meta = {
    # ca/ca.go:374:67: 9223372038 (untyped int constant) overflows uint
    broken = stdenv.hostPlatform.is32bit;
    homepage = "https://github.com/letsencrypt/pebble";
    description = "Miniature version of Boulder, Pebble is a small RFC 8555 ACME test server not suited for a production CA";
    description = "Small RFC 8555 ACME test server";
    longDescription = "Miniature version of Boulder, Pebble is a small RFC 8555 ACME test server not suited for a production CA";
    license = [ lib.licenses.mpl20 ];
    mainProgram = "pebble";
    maintainers = lib.teams.acme.members;
  };
}