pebble: use buildGoModule
This commit is contained in:
parent
5df0c92fb5
commit
39215582e1
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue