2019-08-22 20:50:31 +02:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2018-02-11 08:08:16 +01:00
|
|
|
|
2019-08-22 20:50:31 +02:00
|
|
|
buildGoModule rec {
|
2019-06-05 01:47:16 +02:00
|
|
|
pname = "lego";
|
2019-08-22 20:50:31 +02:00
|
|
|
version = "3.0.2";
|
2018-02-11 08:08:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-06-05 01:47:16 +02:00
|
|
|
owner = "go-acme";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-08-22 20:50:31 +02:00
|
|
|
sha256 = "0q73522yblcjsyscsppwnxfw6m249zr9whb93bhv5i5z012gy6mx";
|
2018-02-11 08:08:16 +01:00
|
|
|
};
|
|
|
|
|
2019-08-22 20:50:31 +02:00
|
|
|
modSha256 = "00pl8l8h01rfxyd0l4487x55kfqhpm0ls84kxmgz3vph7irm6hcq";
|
2018-02-11 08:08:16 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Let's Encrypt client and ACME library written in Go";
|
|
|
|
license = licenses.mit;
|
2019-06-05 01:47:16 +02:00
|
|
|
homepage = "https://go-acme.github.io/lego/";
|
2018-02-11 08:08:16 +01:00
|
|
|
maintainers = with maintainers; [ andrew-d ];
|
|
|
|
};
|
|
|
|
}
|