2020-03-27 07:33:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-04-14 02:09:09 +00:00
|
|
|
|
2019-11-14 14:21:58 +00:00
|
|
|
buildGoModule rec {
|
2019-04-14 02:09:09 +00:00
|
|
|
pname = "mkcert";
|
2022-04-27 04:20:00 +00:00
|
|
|
version = "1.4.4";
|
2019-04-14 02:09:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "FiloSottile";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-04-27 04:20:00 +00:00
|
|
|
sha256 = "sha256-FMAXjRL+kJ/hwGmaWBy8ecON+JCMgRytfpryeLWsSVc=";
|
2019-04-14 02:09:09 +00:00
|
|
|
};
|
|
|
|
|
2022-04-27 04:20:00 +00:00
|
|
|
vendorSha256 = "sha256-DdA7s+N5S1ivwUgZ+M2W/HCp/7neeoqRQL0umn3m6Do=";
|
2019-11-14 14:21:58 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
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
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
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 ];
|
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|