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