nixpkgs/pkgs/tools/admin/lego/default.nix

23 lines
546 B
Nix
Raw Normal View History

2018-02-11 10:08:16 +03:00
{ lib, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
2019-06-05 02:47:16 +03:00
pname = "lego";
version = "2.6.0";
2018-02-11 10:08:16 +03:00
src = fetchFromGitHub {
2019-06-05 02:47:16 +03:00
owner = "go-acme";
repo = pname;
rev = "v${version}";
sha256 = "0jxwdqqx6qn09jf658968s9vy9b59ji998j3x1hldq3w9wcrn6sn";
2018-02-11 10:08:16 +03:00
};
2019-06-05 02:47:16 +03:00
goPackagePath = "github.com/go-acme/lego";
2018-02-11 10:08:16 +03:00
meta = with lib; {
description = "Let's Encrypt client and ACME library written in Go";
license = licenses.mit;
2019-06-05 02:47:16 +03:00
homepage = "https://go-acme.github.io/lego/";
2018-02-11 10:08:16 +03:00
maintainers = with maintainers; [ andrew-d ];
};
}