2018-02-11 07:08:16 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoPackage }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2018-06-29 23:56:15 +01:00
|
|
|
name = "lego-${version}";
|
|
|
|
version = "1.0.1";
|
|
|
|
rev = "v${version}";
|
2018-02-11 07:08:16 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "xenolf";
|
|
|
|
repo = "lego";
|
2018-06-29 23:56:15 +01:00
|
|
|
sha256 = "1l9winhqwid8ac8il303qkhsn0v5h7zhlklviszfi1rjal38ipiz";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|