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