depot/third_party/nixpkgs/pkgs/development/tools/misc/mkcert/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

29 lines
678 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "mkcert";
version = "1.4.4";
src = fetchFromGitHub {
owner = "FiloSottile";
repo = pname;
rev = "v${version}";
sha256 = "sha256-FMAXjRL+kJ/hwGmaWBy8ecON+JCMgRytfpryeLWsSVc=";
};
vendorHash = "sha256-DdA7s+N5S1ivwUgZ+M2W/HCp/7neeoqRQL0umn3m6Do=";
doCheck = false;
ldflags = [
"-s" "-w" "-X main.Version=v${version}"
];
meta = with lib; {
homepage = "https://github.com/FiloSottile/mkcert";
description = "Simple tool for making locally-trusted development certificates";
mainProgram = "mkcert";
license = licenses.bsd3;
maintainers = [ ];
};
}