Gaetan Lepage 2025-06-21 15:08:19 +02:00
parent 1c86961dab
commit 080efd3bc9

View File

@ -2,45 +2,26 @@
lib,
python3Packages,
fetchFromGitHub,
writableTmpDirAsHomeHook,
}:
python3Packages.buildPythonApplication rec {
pname = "bagels";
version = "0.3.8";
version = "0.3.9";
pyproject = true;
src = fetchFromGitHub {
owner = "EnhancedJax";
repo = "bagels";
tag = version;
hash = "sha256-dmBu0HSRGs4LmJY2PHNlRf0RdodmN+ZM0brwuiNmPyU=";
hash = "sha256-LlEQ0by6Si37e8FvC4agjLy8eanizSA1iq44BaQ8D5o=";
};
build-system = with python3Packages; [
hatchling
];
pythonRelaxDeps = [
"aiohappyeyeballs"
"aiohttp"
"aiosignal"
"attrs"
"blinker"
"click"
"multidict"
"platformdirs"
"propcache"
"pydantic-core"
"pydantic"
"pygments"
"requests"
"rich"
"sqlalchemy"
"textual"
"typing-extensions"
"werkzeug"
"yarl"
];
pythonRelaxDeps = true;
dependencies = with python3Packages; [
aiohappyeyeballs
@ -84,9 +65,34 @@ python3Packages.buildPythonApplication rec {
yarl
];
nativeCheckInputs =
[
writableTmpDirAsHomeHook
]
++ (with python3Packages; [
freezegun
pytestCheckHook
]);
disabledTests = [
# AssertionError: assert 1 == 0
"test_delete_category"
# AttributeError: 'NoneType' object has no attribute 'defaults'
"test_basic_balance_calculation"
"test_combined_balance_calculation"
"test_get_days_in_period"
"test_get_period_average"
"test_get_period_figures"
"test_get_start_end_of_period"
"test_get_start_end_of_week"
"test_split_balance_calculation"
"test_transfer_balance_calculation"
];
meta = {
homepage = "https://github.com/EnhancedJax/Bagels";
description = "Powerful expense tracker that lives in your terminal.";
description = "Powerful expense tracker that lives in your terminal";
longDescription = ''
Bagels expense tracker is a TUI application where you can track and analyse your money flow, with convenience oriented features and a complete interface.
'';