3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/github/github-release/default.nix
Johannes Lötzsch e54471af86 github-release: 0.7.2 -> 0.10.0
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.
2021-02-24 23:07:01 +01:00

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;
};
}