mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:25:38 +00:00
066db11215
This reverts commit4e6bf03504
, reversing changes made toafd997aab6
. Instead we propagate those frameworks from the compiler again
28 lines
671 B
Nix
28 lines
671 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "lego";
|
|
version = "3.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "go-acme";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "08mh2q426gmhcaz578lw08jbxfqb7qm37cd00ap937dymi1zs9qw";
|
|
};
|
|
|
|
modSha256 = "10n8pcbmzlnk63gzsjb1xnmjwxfhxsqx8ffpcbwdzq9fc5yvjiii";
|
|
subPackages = [ "cmd/lego" ];
|
|
|
|
buildFlagsArray = [
|
|
"-ldflags=-X main.version=${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Let's Encrypt client and ACME library written in Go";
|
|
license = licenses.mit;
|
|
homepage = "https://go-acme.github.io/lego/";
|
|
maintainers = with maintainers; [ andrew-d ];
|
|
};
|
|
}
|