Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule (finalAttrs: { 8 pname = "issue2md"; 9 version = "1.0.0"; 10 11 src = fetchFromGitHub { 12 owner = "bigwhite"; 13 repo = "issue2md"; 14 tag = "v${finalAttrs.version}"; 15 hash = "sha256-QBEHjFu+YWHPeSZSQT1lzTNSIyLQYXEIi+XopdHN710="; 16 }; 17 18 vendorHash = null; 19 20 ldflags = [ 21 "-s" 22 "-w" 23 ]; 24 25 meta = { 26 description = "CLI tool to convert GitHub issue into Markdown file"; 27 homepage = "https://github.com/bigwhite/issue2md"; 28 license = lib.licenses.asl20; 29 maintainers = with lib.maintainers; [ drupol ]; 30 mainProgram = "issue2md"; 31 }; 32})