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