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

25 lines
590 B
Nix
Raw Normal View History

2018-02-10 23:08:16 -08:00
{ lib, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
name = "lego-${version}";
2019-01-20 11:25:19 -08:00
version = "2.0.1";
rev = "v${version}";
2018-02-10 23:08:16 -08:00
src = fetchFromGitHub {
inherit rev;
owner = "xenolf";
repo = "lego";
2019-01-20 11:25:19 -08:00
sha256 = "17q5j2zxc2c0xw8pfhnls67dmwrkicjmd2jdyim3fhi5cgxl9h93";
2018-02-10 23:08:16 -08: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 ];
};
}