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
|
, fetchFromGitHub
|
||||||
, lib
|
|
||||||
, nixosTests
|
, nixosTests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "pebble";
|
pname = "pebble";
|
||||||
version = "2.3.1";
|
version = "2.3.1";
|
||||||
|
|
||||||
goPackagePath = "github.com/letsencrypt/${pname}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "letsencrypt";
|
owner = "letsencrypt";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
|
@ -17,6 +15,8 @@ buildGoPackage rec {
|
||||||
sha256 = "sha256-S9+iRaTSRt4F6yMKK0OJO6Zto9p0dZ3q/mULaipudVo=";
|
sha256 = "sha256-S9+iRaTSRt4F6yMKK0OJO6Zto9p0dZ3q/mULaipudVo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vendorSha256 = null;
|
||||||
|
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
smoke-test = nixosTests.acme;
|
smoke-test = nixosTests.acme;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue