nixpkgs/pkgs/development/tools/misc/mkcert/default.nix

23 lines
586 B
Nix
Raw Normal View History

2019-04-14 03:09:09 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "mkcert";
version = "1.4.0";
2019-04-14 03:09:09 +01:00
src = fetchFromGitHub {
owner = "FiloSottile";
repo = pname;
rev = "v${version}";
sha256 = "0xcmvzh5lq8vs3b0f1zw645fxdr8471v7prl1656q02v38f58ly7";
2019-04-14 03:09:09 +01:00
};
modSha256 = "0an12l15a82mks6gipczdpcf2vklk14wjjnk0ccl3kdjwiw7f4wd";
2019-04-14 03:09:09 +01:00
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 ];
};
}