3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/tasklib/default.nix
2020-06-11 10:00:22 +02:00

37 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;
};
}