Commit 20f6559f authored by Alexis Hildebrandt's avatar Alexis Hildebrandt
Browse files

pebble: fix version info

parent 98ef8c01
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, nixosTests
@@ -18,6 +17,11 @@ buildGoModule rec {

  vendorHash = null;

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

  passthru.tests = {
    smoke-test = nixosTests.acme;
  };
@@ -26,8 +30,10 @@ buildGoModule rec {
    # 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;
  };
}