2022-12-01 19:16:22 +01:00
|
|
|
{ lib
|
|
|
|
, pythonPackages
|
|
|
|
, taskwarrior
|
|
|
|
, writeShellScriptBin
|
|
|
|
}:
|
2019-10-15 10:09:48 -07:00
|
|
|
|
|
|
|
with pythonPackages;
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
wsl_stub = writeShellScriptBin "wsl" "true";
|
|
|
|
|
|
|
|
in buildPythonPackage rec {
|
|
|
|
pname = "tasklib";
|
2022-11-30 23:36:55 +00:00
|
|
|
version = "2.5.1";
|
2019-10-15 10:09:48 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-12-01 19:16:22 +01:00
|
|
|
hash = "sha256-XM1zG1JjbdEEV6i42FjLDQJv+qsePnUbr3kb+APjfXs=";
|
2019-10-15 10:09:48 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
pytz
|
|
|
|
tzlocal
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
taskwarrior
|
|
|
|
wsl_stub
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://github.com/robgolding/tasklib";
|
2022-12-01 19:16:22 +01:00
|
|
|
description = "Library for interacting with taskwarrior databases";
|
|
|
|
changelog = "https://github.com/GothenburgBitFactory/tasklib/releases/tag/${version}";
|
2019-10-15 10:09:48 -07:00
|
|
|
maintainers = with maintainers; [ arcnmx ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|