2018-02-11 08:08:16 +01:00
|
|
|
{ lib, fetchFromGitHub, buildGoPackage }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2018-06-30 00:56:15 +02:00
|
|
|
name = "lego-${version}";
|
2019-02-09 20:55:17 +01:00
|
|
|
version = "2.2.0";
|
2018-06-30 00:56:15 +02:00
|
|
|
rev = "v${version}";
|
2018-02-11 08:08:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "xenolf";
|
|
|
|
repo = "lego";
|
2019-02-09 20:55:17 +01:00
|
|
|
sha256 = "1bb4kjkbphay63z83a4z2859qrlrx2h7n3rgia17fhy38xp5zzqp";
|
2018-02-11 08:08:16 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|