summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-27 14:11:26 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-27 14:11:26 +0100
commit9c03c3a5b97d9712aaab2823daea63580f60b975 (patch)
treeb82a6af54b5ec8bf840a3964b1a8db6b9a9f2a21 /overlays
parent0d09be5b612ca2c9f180a511a38ff05f69f3da33 (diff)
downloadnixos-9c03c3a5b97d9712aaab2823daea63580f60b975.tar
nixos-9c03c3a5b97d9712aaab2823daea63580f60b975.tar.gz
nixos-9c03c3a5b97d9712aaab2823daea63580f60b975.tar.bz2
nixos-9c03c3a5b97d9712aaab2823daea63580f60b975.tar.xz
nixos-9c03c3a5b97d9712aaab2823daea63580f60b975.zip
bump
Diffstat (limited to 'overlays')
-rw-r--r--overlays/lego.nix35
1 files changed, 8 insertions, 27 deletions
diff --git a/overlays/lego.nix b/overlays/lego.nix
index 2a6ef548..80e9bd4b 100644
--- a/overlays/lego.nix
+++ b/overlays/lego.nix
@@ -1,29 +1,10 @@
1prev: final: let 1final: prev: {
2 zerossl = prev.fetchpatch { 2 lego = prev.lego.override {
3 url = "https://patch-diff.githubusercontent.com/raw/go-acme/lego/pull/1501.patch"; 3 buildGoModule = args: prev.buildGoModule (args // {
4 hash = "sha256-hLuWX607T8tcqljpBzEADViZd2FABkCgjNCLXMyWpuA="; 4 patches = (args.patches or []) ++ prev.lib.lists.singleton (prev.fetchpatch {
5 }; 5 url = "https://patch-diff.githubusercontent.com/raw/go-acme/lego/pull/1501.patch";
6in { 6 hash = "sha256-hLuWX607T8tcqljpBzEADViZd2FABkCgjNCLXMyWpuA=";
7 lego = prev.buildGoModule rec { 7 });
8 pname = "lego"; 8 });
9 version = "4.6.0";
10
11 src = prev.fetchFromGitHub {
12 owner = "go-acme";
13 repo = pname;
14 rev = "v${version}";
15 sha256 = "sha256-FisQS/qbl7f4aszc2Ft6nmuHNrDreOQdN0jrWMOvaAk=";
16 };
17 patches = [zerossl];
18
19 vendorSha256 = "sha256-cLM4YGguQf7lO5PUPmd/at1Aqrp9m8zFG6GWqcduJmw=";
20
21 doCheck = false;
22
23 subPackages = [ "cmd/lego" ];
24
25 ldflags = [
26 "-X main.version=${version}"
27 ];
28 }; 9 };
29} 10}