2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2017-06-28 23:15:16 +02:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "certstrap";
|
2020-06-14 13:19:48 +02:00
|
|
|
version = "1.2.0";
|
2017-06-28 23:15:16 +02:00
|
|
|
|
|
|
|
goPackagePath = "github.com/square/certstrap";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "square";
|
|
|
|
repo = "certstrap";
|
|
|
|
rev = "v${version}";
|
2020-06-14 13:19:48 +02:00
|
|
|
sha256 = "1ymchnn7c9g3pq7rw4lrwsd6z3wfjx90g7qgrw6r5hssl77mnscj";
|
2017-06-28 23:15:16 +02:00
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-06-28 23:15:16 +02:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Tools to bootstrap CAs, certificate requests, and signed certificates";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ volth ];
|
|
|
|
};
|
|
|
|
}
|