Add jira cli as a package

This commit is contained in:
traxys 2022-11-21 14:57:30 +01:00
parent 5df1e3c7ad
commit fd0dd89429
5 changed files with 45 additions and 6 deletions

View file

@ -1,4 +1,18 @@
{
"jira-cli": {
"cargoLocks": null,
"extract": null,
"name": "jira-cli",
"passthru": null,
"pinned": false,
"src": {
"name": null,
"sha256": "sha256-wHbTwmNhmk+O+qoG38nLTHCaEGUjwE3QVnE3EUl8vm8=",
"type": "url",
"url": "https://github.com/ankitpokhrel/jira-cli/archive/refs/tags/v1.1.0.tar.gz"
},
"version": "v1.1.0"
},
"proton-ge": {
"cargoLocks": null,
"extract": null,
@ -7,10 +21,10 @@
"pinned": false,
"src": {
"name": null,
"sha256": "sha256-bmi3l8FXpoIdBAp8HisXJ1awNxNFzK+XiVwhBN/jOUY=",
"sha256": "sha256-EPV1d7X5KYV2wZWOzW1JujxBSopvuzwIoY1+mXoswVU=",
"type": "url",
"url": "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton7-29/GE-Proton7-29.tar.gz"
"url": "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton7-41/GE-Proton7-41.tar.gz"
},
"version": "GE-Proton7-29"
"version": "GE-Proton7-41"
}
}

View file

@ -1,12 +1,20 @@
# This file was generated by nvfetcher, please do not modify it manually.
{ fetchgit, fetchurl, fetchFromGitHub }:
{
jira-cli = {
pname = "jira-cli";
version = "v1.1.0";
src = fetchurl {
url = "https://github.com/ankitpokhrel/jira-cli/archive/refs/tags/v1.1.0.tar.gz";
sha256 = "sha256-wHbTwmNhmk+O+qoG38nLTHCaEGUjwE3QVnE3EUl8vm8=";
};
};
proton-ge = {
pname = "proton-ge";
version = "GE-Proton7-29";
version = "GE-Proton7-41";
src = fetchurl {
url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton7-29/GE-Proton7-29.tar.gz";
sha256 = "sha256-bmi3l8FXpoIdBAp8HisXJ1awNxNFzK+XiVwhBN/jOUY=";
url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton7-41/GE-Proton7-41.tar.gz";
sha256 = "sha256-EPV1d7X5KYV2wZWOzW1JujxBSopvuzwIoY1+mXoswVU=";
};
};
}

View file

@ -12,4 +12,5 @@
inherit naersk;
kabalist-src = sources.kabalist;
};
jira-cli = callPackage ./jira-cli.nix {jira-src = sources.jira-cli;};
}

12
pkgs/jira-cli.nix Normal file
View file

@ -0,0 +1,12 @@
{
jira-src,
buildGoModule,
}:
buildGoModule {
inherit (jira-src) pname src version;
vendorSha256 = "sha256-SpUggA9u8OGV2zF3EQ0CB8M6jpiVQi957UGaN+foEuk=";
doInstallCheck = false;
doCheck = false;
}

View file

@ -1,3 +1,7 @@
[proton-ge]
src.github = "GloriousEggroll/proton-ge-custom"
fetch.url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/$ver/$ver.tar.gz"
[jira-cli]
src.github = "ankitpokhrel/jira-cli"
fetch.url = "https://github.com/ankitpokhrel/jira-cli/archive/refs/tags/$ver.tar.gz"