diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/security/certstrap')
-rw-r--r-- | nixpkgs/pkgs/tools/security/certstrap/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/security/certstrap/default.nix b/nixpkgs/pkgs/tools/security/certstrap/default.nix new file mode 100644 index 000000000000..ff6522f1d35f --- /dev/null +++ b/nixpkgs/pkgs/tools/security/certstrap/default.nix @@ -0,0 +1,22 @@ +{ lib, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + pname = "certstrap"; + version = "1.2.0"; + + goPackagePath = "github.com/square/certstrap"; + + src = fetchFromGitHub { + owner = "square"; + repo = "certstrap"; + rev = "v${version}"; + sha256 = "1ymchnn7c9g3pq7rw4lrwsd6z3wfjx90g7qgrw6r5hssl77mnscj"; + }; + + meta = with lib; { + inherit (src.meta) homepage; + description = "Tools to bootstrap CAs, certificate requests, and signed certificates"; + license = licenses.asl20; + maintainers = with maintainers; [ volth ]; + }; +} |