Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 29 lines 678 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "mkcert"; 5 version = "1.4.4"; 6 7 src = fetchFromGitHub { 8 owner = "FiloSottile"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-FMAXjRL+kJ/hwGmaWBy8ecON+JCMgRytfpryeLWsSVc="; 12 }; 13 14 vendorHash = "sha256-DdA7s+N5S1ivwUgZ+M2W/HCp/7neeoqRQL0umn3m6Do="; 15 16 doCheck = false; 17 18 ldflags = [ 19 "-s" "-w" "-X main.Version=v${version}" 20 ]; 21 22 meta = with lib; { 23 homepage = "https://github.com/FiloSottile/mkcert"; 24 description = "Simple tool for making locally-trusted development certificates"; 25 mainProgram = "mkcert"; 26 license = licenses.bsd3; 27 maintainers = [ ]; 28 }; 29}