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