jiratui: init at 1.2.0

This commit is contained in:
Pol Dellaiera
2025-10-09 17:04:56 +02:00
parent 531f6038cf
commit bf2b7d4ddb

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