diff --git a/pkgs/tools/admin/pebble/default.nix b/pkgs/tools/admin/pebble/default.nix index 0d6d2f57df14..f111cb887b42 100644 --- a/pkgs/tools/admin/pebble/default.nix +++ b/pkgs/tools/admin/pebble/default.nix @@ -1,15 +1,13 @@ -{ buildGoPackage +{ lib +, buildGoModule , fetchFromGitHub -, lib , nixosTests }: -buildGoPackage rec { +buildGoModule rec { pname = "pebble"; version = "2.3.1"; - goPackagePath = "github.com/letsencrypt/${pname}"; - src = fetchFromGitHub { owner = "letsencrypt"; repo = pname; @@ -17,6 +15,8 @@ buildGoPackage rec { sha256 = "sha256-S9+iRaTSRt4F6yMKK0OJO6Zto9p0dZ3q/mULaipudVo="; }; + vendorSha256 = null; + passthru.tests = { smoke-test = nixosTests.acme; };