2ce89355c3
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
36 lines
720 B
Nix
36 lines
720 B
Nix
{ lib, pythonPackages, taskwarrior, writeShellScriptBin }:
|
|
|
|
with pythonPackages;
|
|
|
|
let
|
|
|
|
wsl_stub = writeShellScriptBin "wsl" "true";
|
|
|
|
in buildPythonPackage rec {
|
|
pname = "tasklib";
|
|
version = "2.1.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "e2cfe5073b9d30c564e6c547fdb0f45eb66da5d4d138c20fb87d549315892f2c";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
pytz
|
|
tzlocal
|
|
];
|
|
|
|
checkInputs = [
|
|
taskwarrior
|
|
wsl_stub
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/robgolding/tasklib";
|
|
description = "A library for interacting with taskwarrior databases";
|
|
maintainers = with maintainers; [ arcnmx ];
|
|
platforms = platforms.all;
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|