66604c92c1
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
28 lines
No EOL
735 B
Nix
28 lines
No EOL
735 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "mkcert";
|
|
version = "1.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FiloSottile";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0w1ji96hbd3anzsz82xjcafsqhgyz7c7n41rsq60yrllwbj5946f";
|
|
};
|
|
|
|
vendorSha256 = "0b8ggdpbyxx5n2myhchhlwmm5nndwpykp1ylnzdyw12mdskfvn9h";
|
|
|
|
goPackagePath = "github.com/FiloSottile/mkcert";
|
|
buildFlagsArray = ''
|
|
-ldflags=
|
|
-X ${goPackagePath}/main.Version=${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 ];
|
|
};
|
|
} |