biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / taskw-ng / default.nix
blob35bda3dfb962124e0ed695d73bcc8e7c767677b0
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   kitchen,
6   packaging,
7   poetry-core,
8   poetry-dynamic-versioning,
9   python-dateutil,
10   pythonOlder,
11   pytz,
12   taskwarrior2,
15 buildPythonPackage rec {
16   pname = "taskw-ng";
17   version = "0.2.6";
18   pyproject = true;
20   disabled = pythonOlder "3.8";
22   src = fetchFromGitHub {
23     owner = "bergercookie";
24     repo = "taskw-ng";
25     rev = "refs/tags/v${version}";
26     hash = "sha256-tlidTt0TzWnvfajYiIfvRv7OfakHY6zWAicmAwq/Z8w=";
27   };
29   pythonRelaxDeps = [
30     "packaging"
31     "pytz"
32   ];
34   build-system = [
35     poetry-core
36     poetry-dynamic-versioning
37   ];
40   propagatedBuildInputs = [
41     kitchen
42     packaging
43     python-dateutil
44     pytz
45   ];
47   checkInputs = [ taskwarrior2 ];
49   # TODO: doesn't pass because `can_use` fails and `task --version` seems not to be answering.
50   # pythonImportsCheck = [ "taskw_ng" ];
52   meta = with lib; {
53     description = "Module to interact with the Taskwarrior API";
54     homepage = "https://github.com/bergercookie/taskw-ng";
55     changelog = "https://github.com/bergercookie/taskw-ng/blob/${src.rev}/CHANGELOG.rst";
56     license = licenses.gpl3Plus;
57     maintainers = with maintainers; [ raitobezarius ];
58   };