jiratui: init at 1.2.0
This commit is contained in:
58
pkgs/by-name/ji/jiratui/package.nix
Normal file
58
pkgs/by-name/ji/jiratui/package.nix
Normal file
@@ -0,0 +1,58 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "jiratui";
|
||||
version = "1.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "whyisdifficult";
|
||||
repo = "jiratui";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-2Fxf1pH2HCKtaJ1RYxUPJSuOrTmoy4RBXCLKLQKpwds=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
uv-build
|
||||
];
|
||||
|
||||
dependencies =
|
||||
with python3Packages;
|
||||
[
|
||||
click
|
||||
httpx
|
||||
pyaml
|
||||
pydantic-settings
|
||||
python-dateutil
|
||||
python-json-logger
|
||||
textual
|
||||
xdg-base-dirs
|
||||
]
|
||||
++ textual.optional-dependencies.syntax;
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"click"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"jiratui"
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
versionCheckProgramArg = "version";
|
||||
|
||||
meta = {
|
||||
description = "A Textual User Interface for interacting with Atlassian Jira from your shell";
|
||||
homepage = "https://github.com/whyisdifficult/jiratui";
|
||||
changelog = "https://github.com/whyisdifficult/jiratui/blob/${src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
mainProgram = "jiratui";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user