mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
e54471af86
v0.7.2 was using a for security reasons deprecated api. The current version is using post instead of get requests to prevent the leakage of secrets.
30 lines
907 B
Nix
30 lines
907 B
Nix
{ buildGoPackage, fetchFromGitHub, lib }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "github-release";
|
|
version = "0.10.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "github-release";
|
|
repo = "github-release";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-J5Y0Kvon7DstTueCsoYvw6x4cOH/C1IaVArE0bXtZts=";
|
|
};
|
|
|
|
goPackagePath = "github.com/github-release/github-release";
|
|
|
|
meta = with lib; {
|
|
description = "Commandline app to create and edit releases on Github (and upload artifacts)";
|
|
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;
|
|
homepage = "https://github.com/github-release/github-release";
|
|
maintainers = with maintainers; [ ardumont j03 ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|