depot/third_party/nixpkgs/pkgs/tools/security/certstrap/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

22 lines
560 B
Nix

{ 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 ];
};
}