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

23 lines
546 B
Nix
Raw Normal View History

2018-02-11 07:08:16 +00:00
{ lib, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
2019-06-05 00:47:16 +01:00
pname = "lego";
version = "2.6.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}";
sha256 = "0jxwdqqx6qn09jf658968s9vy9b59ji998j3x1hldq3w9wcrn6sn";
2018-02-11 07:08:16 +00:00
};
2019-06-05 00:47:16 +01:00
goPackagePath = "github.com/go-acme/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 ];
};
}