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

25 lines
590 B
Nix
Raw Normal View History

2018-02-11 08:08:16 +01:00
{ lib, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
name = "lego-${version}";
2019-02-09 20:55:17 +01:00
version = "2.2.0";
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 ];
};
}