nixpkgs/pkgs/development/tools/misc/mkcert/default.nix

29 lines
675 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-04-14 02:09:09 +00:00
buildGoModule rec {
2019-04-14 02:09:09 +00:00
pname = "mkcert";
2020-11-26 11:41:55 +00:00
version = "1.4.3";
2019-04-14 02:09:09 +00:00
src = fetchFromGitHub {
owner = "FiloSottile";
repo = pname;
rev = "v${version}";
2020-11-26 11:41:55 +00:00
sha256 = "0q0069ripnpb027krc4yk47552xl5rp0ymxf1j2mln9wdmfq65ba";
2019-04-14 02:09:09 +00:00
};
2020-11-26 11:41:55 +00:00
vendorSha256 = "133vlx825g4zay88ppylsz93q4gnd9ari12x1h57qvk45rwxqx95";
doCheck = false;
2021-08-26 06:45:51 +00:00
ldflags = [
"-s" "-w" "-X main.Version=v${version}"
];
2019-04-14 02:09:09 +00:00
meta = with lib; {
homepage = "https://github.com/FiloSottile/mkcert";
2019-04-14 02:09:09 +00:00
description = "A simple tool for making locally-trusted development certificates";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
};
}