nixpkgs/pkgs/development/python-modules/tasklib/default.nix

37 lines
720 B
Nix
Raw Normal View History

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";
2020-06-06 07:47:33 +01:00
version = "2.1.1";
2019-10-15 18:09:48 +01:00
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:33 +01:00
sha256 = "e2cfe5073b9d30c564e6c547fdb0f45eb66da5d4d138c20fb87d549315892f2c";
2019-10-15 18:09:48 +01:00
};
propagatedBuildInputs = [
six
pytz
tzlocal
];
checkInputs = [
taskwarrior
wsl_stub
];
meta = with lib; {
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;
};
}