3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/admin/lego/default.nix

24 lines
601 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildGoModule }:
2018-02-11 07:08:16 +00:00
buildGoModule rec {
2019-06-05 00:47:16 +01:00
pname = "lego";
2019-11-27 21:12:08 +00:00
version = "3.2.0";
2018-02-11 07:08:16 +00:00
src = fetchFromGitHub {
2019-06-05 00:47:16 +01:00
owner = "go-acme";
repo = pname;
rev = "v${version}";
2019-11-27 21:12:08 +00:00
sha256 = "1djvwyjg30f9bj61pf3y2k2w055pj39v0sif4rjqg8cz0j382a2z";
2018-02-11 07:08:16 +00:00
};
2019-11-27 21:12:08 +00:00
modSha256 = "0k3p11cji3p4nzr8aia8hp01wyx1qfx84259dwbfwg1b32ln8rkc";
subPackages = [ "cmd/lego" ];
2018-02-11 07:08:16 +00:00
meta = with lib; {
description = "Let's Encrypt client and ACME library written in Go";
license = licenses.mit;
2019-06-05 00:47:16 +01:00
homepage = "https://go-acme.github.io/lego/";
2018-02-11 07:08:16 +00:00
maintainers = with maintainers; [ andrew-d ];
};
}