mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
jira-cli-go: 1.1.0 -> 1.2.0
https://github.com/ankitpokhrel/jira-cli/releases/tag/v1.2.0
This commit is contained in:
parent
9622fb4333
commit
30f98b9cf0
@ -1,14 +1,14 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, less, more, installShellFiles, testers, jira-cli-go }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, less, more, installShellFiles, testers, jira-cli-go, nix-update-script }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "jira-cli-go";
|
||||
version = "1.1.0";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ankitpokhrel";
|
||||
repo = "jira-cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-UpDaKg6TA1qCkbzF7BARtj+tAyuCCGAyqOdItZU64Ls=";
|
||||
hash = "sha256-ruFSqD/QLIK69hx9lNulWjyXVJzGACmghAU4fFEgEJo=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-SpUggA9u8OGV2zF3EQ0CB8M6jpiVQi957UGaN+foEuk=";
|
||||
@ -22,10 +22,15 @@ buildGoModule rec {
|
||||
|
||||
checkInputs = [ less more ]; # Tests expect a pager in $PATH
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = jira-cli-go;
|
||||
command = "jira version";
|
||||
inherit version;
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = jira-cli-go;
|
||||
command = "jira version";
|
||||
inherit version;
|
||||
};
|
||||
updateScript = nix-update-script {
|
||||
attrPath = pname;
|
||||
};
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
@ -41,6 +46,7 @@ buildGoModule rec {
|
||||
meta = with lib; {
|
||||
description = "Feature-rich interactive Jira command line";
|
||||
homepage = "https://github.com/ankitpokhrel/jira-cli";
|
||||
changelog = "https://github.com/ankitpokhrel/jira-cli/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bryanasdev000 anthonyroussel ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user