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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
673 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-04-14 02:09:09 +00:00
buildGoModule rec {
2019-04-14 02:09:09 +00:00
pname = "mkcert";
version = "1.4.4";
2019-04-14 02:09:09 +00:00
src = fetchFromGitHub {
owner = "FiloSottile";
repo = pname;
rev = "v${version}";
sha256 = "sha256-FMAXjRL+kJ/hwGmaWBy8ecON+JCMgRytfpryeLWsSVc=";
2019-04-14 02:09:09 +00:00
};
vendorSha256 = "sha256-DdA7s+N5S1ivwUgZ+M2W/HCp/7neeoqRQL0umn3m6Do=";
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
meta = with lib; {
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 ];
};
}