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

25 lines
590 B
Nix
Raw Normal View History

2018-02-11 07:08:16 +00:00
{ lib, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
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";
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 ];
};
}