1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/tools/security/certstrap/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
601 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "certstrap";
version = "1.1.1";
goPackagePath = "github.com/square/certstrap";
src = fetchFromGitHub {
owner = "square";
repo = "certstrap";
rev = "v${version}";
sha256 = "0j7gi2nzykny7i0gjax9vixw72l9jcm4wnwxgm72hh1pji0ysa8n";
};
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 ];
};
}