nixpkgs/pkgs/development/python-modules/taxi/default.nix
magicquark 5ff1655c9e python3Packages.taxi: disable failing tests
- The `nixpkgs` update of `python3Packages.click` from 8.1.8 to 8.2.1 in
  PR 448189 has made these tests fail. The failures are occurring because
  of interactive inputs in the testing.
2025-11-08 01:50:39 +00:00

53 lines
997 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
appdirs,
click,
flit-core,
pytestCheckHook,
freezegun,
}:
buildPythonPackage rec {
pname = "taxi";
version = "6.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "sephii";
repo = "taxi";
rev = version;
hash = "sha256-QB88RpgzrQy7DGeRdMHC2SV5Esp/r5LZtlaY5C8vJxw=";
};
build-system = [ flit-core ];
dependencies = [
appdirs
click
];
nativeCheckInputs = [
freezegun
pytestCheckHook
];
pythonImportsCheck = [ "taxi" ];
# Broken by the update of `click` from version 8.1.8 -> 8.2.1 in
# https://github.com/NixOS/nixpkgs/pull/448189.
disabledTests = [
"test_ignore_date_error_week_day"
"test_ignore_date_error_previous_day"
];
meta = with lib; {
homepage = "https://github.com/sephii/taxi/";
description = "Timesheeting made easy";
mainProgram = "taxi";
license = licenses.wtfpl;
maintainers = with maintainers; [ jocelynthode ];
};
}