2019-10-15 17:09:48 +00:00
|
|
|
{ lib, pythonPackages, taskwarrior, writeShellScriptBin }:
|
|
|
|
|
|
|
|
with pythonPackages;
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
wsl_stub = writeShellScriptBin "wsl" "true";
|
|
|
|
|
|
|
|
in buildPythonPackage rec {
|
|
|
|
pname = "tasklib";
|
2021-01-04 04:32:16 +00:00
|
|
|
version = "2.3.0";
|
2019-10-15 17:09:48 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-04 04:32:16 +00:00
|
|
|
sha256 = "7fe8676acb4559129c4e958be7704c12dccdbae302fff47c5398bc0dd1c9e563";
|
2019-10-15 17:09:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
pytz
|
|
|
|
tzlocal
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
taskwarrior
|
|
|
|
wsl_stub
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/robgolding/tasklib";
|
2019-10-15 17:09:48 +00:00
|
|
|
description = "A library for interacting with taskwarrior databases";
|
|
|
|
maintainers = with maintainers; [ arcnmx ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|