2024-07-27 06:49:29 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib, testers, github-release }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
buildGoModule rec {
|
2021-03-09 03:18:52 +00:00
|
|
|
pname = "github-release";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.10.1-unstable-2024-06-25";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "github-release";
|
|
|
|
repo = "github-release";
|
2024-07-27 06:49:29 +00:00
|
|
|
rev = "d250e89a7bf00d54e823b169c3a4722a55ac67b0";
|
|
|
|
hash = "sha256-QDImy9VNJ3hfGVCpMoJ72Za3CiM3SVNH1D9RFHVM+4I=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
vendorHash = null;
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
ldflags = [ "-s" ];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
|
|
package = github-release;
|
|
|
|
version = "v${version}";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Commandline app to create and edit releases on Github (and upload artifacts)";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "github-release";
|
2020-04-24 23:36:52 +00:00
|
|
|
longDescription = ''
|
|
|
|
A small commandline app written in Go that allows you to easily create and
|
|
|
|
delete releases of your projects on Github.
|
|
|
|
In addition it allows you to attach files to those releases.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = licenses.mit;
|
2021-03-09 03:18:52 +00:00
|
|
|
homepage = "https://github.com/github-release/github-release";
|
|
|
|
maintainers = with maintainers; [ ardumont j03 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
|
|
|
}
|