1{
2 buildGoModule,
3 fetchFromGitHub,
4 lib,
5 testers,
6 github-release,
7}:
8
9buildGoModule rec {
10 pname = "github-release";
11 version = "0.10.1-unstable-2024-06-25";
12
13 src = fetchFromGitHub {
14 owner = "github-release";
15 repo = "github-release";
16 rev = "d250e89a7bf00d54e823b169c3a4722a55ac67b0";
17 hash = "sha256-QDImy9VNJ3hfGVCpMoJ72Za3CiM3SVNH1D9RFHVM+4I=";
18 };
19
20 vendorHash = null;
21
22 ldflags = [ "-s" ];
23
24 passthru.tests.version = testers.testVersion {
25 package = github-release;
26 version = "v${version}";
27 };
28
29 meta = with lib; {
30 description = "Commandline app to create and edit releases on Github (and upload artifacts)";
31 mainProgram = "github-release";
32 longDescription = ''
33 A small commandline app written in Go that allows you to easily create and
34 delete releases of your projects on Github.
35 In addition it allows you to attach files to those releases.
36 '';
37
38 license = licenses.mit;
39 homepage = "https://github.com/github-release/github-release";
40 maintainers = with maintainers; [
41 ardumont
42 j03
43 ];
44 platforms = with platforms; unix;
45 };
46}