2018-02-11 07:08:16 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoPackage }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2018-06-29 23:56:15 +01:00
|
|
|
name = "lego-${version}";
|
2019-02-09 19:55:17 +00:00
|
|
|
version = "2.2.0";
|
2018-06-29 23:56:15 +01:00
|
|
|
rev = "v${version}";
|
2018-02-11 07:08:16 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "xenolf";
|
|
|
|
repo = "lego";
|
2019-02-09 19:55:17 +00:00
|
|
|
sha256 = "1bb4kjkbphay63z83a4z2859qrlrx2h7n3rgia17fhy38xp5zzqp";
|
2018-02-11 07:08:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
goPackagePath = "github.com/xenolf/lego";
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Let's Encrypt client and ACME library written in Go";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = https://github.com/xenolf/lego;
|
|
|
|
maintainers = with maintainers; [ andrew-d ];
|
|
|
|
};
|
|
|
|
}
|