depot/third_party/nixpkgs/pkgs/development/tools/misc/mkcert/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

29 lines
680 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 = "A simple tool for making locally-trusted development certificates";
mainProgram = "mkcert";
license = licenses.bsd3;
maintainers = [ ];
};
}