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

23 lines
569 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildGoModule }:
2018-02-11 08:08:16 +01:00
buildGoModule rec {
2019-06-05 01:47:16 +02:00
pname = "lego";
version = "3.0.2";
2018-02-11 08:08:16 +01:00
src = fetchFromGitHub {
2019-06-05 01:47:16 +02:00
owner = "go-acme";
repo = pname;
rev = "v${version}";
sha256 = "0q73522yblcjsyscsppwnxfw6m249zr9whb93bhv5i5z012gy6mx";
2018-02-11 08:08:16 +01:00
};
modSha256 = "00pl8l8h01rfxyd0l4487x55kfqhpm0ls84kxmgz3vph7irm6hcq";
2018-02-11 08:08:16 +01:00
meta = with lib; {
description = "Let's Encrypt client and ACME library written in Go";
license = licenses.mit;
2019-06-05 01:47:16 +02:00
homepage = "https://go-acme.github.io/lego/";
2018-02-11 08:08:16 +01:00
maintainers = with maintainers; [ andrew-d ];
};
}