depot/third_party/nixpkgs/pkgs/development/tools/misc/mkcert/default.nix
Default email a4fd2de975 Project import generated by Copybara.
GitOrigin-RevId: 34ad166a830d3ac1541dcce571c52231f2f0865a
2020-11-02 21:18:15 -05:00

28 lines
688 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "mkcert";
version = "1.4.2";
src = fetchFromGitHub {
owner = "FiloSottile";
repo = pname;
rev = "v${version}";
sha256 = "0g85vpkfgkc7nzjl3asl2f4ncsh12naf2fkr0mvyihfmfy9fz0fw";
};
vendorSha256 = "0b8ggdpbyxx5n2myhchhlwmm5nndwpykp1ylnzdyw12mdskfvn9h";
doCheck = false;
buildFlagsArray = ''
-ldflags=-s -w -X main.Version=v${version}
'';
meta = with lib; {
homepage = "https://github.com/FiloSottile/mkcert";
description = "A simple tool for making locally-trusted development certificates";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
};
}