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