1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 16:46:09 +00:00
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;
};
}