Merge pull request #322331 from afh/update-pebble

pebble: 2.4.0 -> 2.6.0 and fix version info

authored by tomberek and committed by GitHub 8fe1db00 32767490

+10 -5
+10 -5
pkgs/tools/admin/pebble/default.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "pebble"; 10 - version = "2.4.0"; 10 + version = "2.6.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "letsencrypt"; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "0sh67bzq3hlagk73w2kp45viq15g2rcxm760jk9fqshamq784m6m"; 16 + hash = "sha256-YPU/bl7h6rOWg+5ut0Thn2UupeKpJ7u4KXc2svIeZEM="; 17 17 }; 18 18 19 19 vendorHash = null; 20 20 21 + ldflags = [ 22 + "-s" "-w" 23 + "-X main.version=${version}" 24 + ]; 25 + 21 26 passthru.tests = { 22 27 smoke-test = nixosTests.acme; 23 28 }; 24 29 25 30 meta = { 26 - # ca/ca.go:374:67: 9223372038 (untyped int constant) overflows uint 27 - broken = stdenv.hostPlatform.is32bit; 28 31 homepage = "https://github.com/letsencrypt/pebble"; 29 - description = "Miniature version of Boulder, Pebble is a small RFC 8555 ACME test server not suited for a production CA"; 32 + description = "Small RFC 8555 ACME test server"; 33 + longDescription = "Miniature version of Boulder, Pebble is a small RFC 8555 ACME test server not suited for a production CA"; 30 34 license = [ lib.licenses.mpl20 ]; 35 + mainProgram = "pebble"; 31 36 maintainers = lib.teams.acme.members; 32 37 }; 33 38 }