1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/tools/admin/lego/default.nix

25 lines
590 B
Nix

{ lib, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
name = "lego-${version}";
version = "1.0.1";
rev = "v${version}";
src = fetchFromGitHub {
inherit rev;
owner = "xenolf";
repo = "lego";
sha256 = "1l9winhqwid8ac8il303qkhsn0v5h7zhlklviszfi1rjal38ipiz";
};
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 ];
};
}