nixpkgs/pkgs/tools/security/certstrap/default.nix

24 lines
611 B
Nix
Raw Normal View History

2017-06-28 22:15:16 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "certstrap-${version}";
version = "1.1.1";
2017-06-28 22:15:16 +01:00
goPackagePath = "github.com/square/certstrap";
src = fetchFromGitHub {
owner = "square";
repo = "certstrap";
rev = "v${version}";
sha256 = "0j7gi2nzykny7i0gjax9vixw72l9jcm4wnwxgm72hh1pji0ysa8n";
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 ];
};
}