pythonPackages.tasklib: init at 1.2.1

This commit is contained in:
arcnmx 2019-10-15 10:09:48 -07:00
parent b4136a8f5b
commit a104aad1a6
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib, pythonPackages, taskwarrior, writeShellScriptBin }:
with pythonPackages;
let
wsl_stub = writeShellScriptBin "wsl" "true";
in buildPythonPackage rec {
pname = "tasklib";
version = "1.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "3964fb7e87f86dc5e2708addb67e69d0932534991991b6bae2e37a0c2059273f";
};
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;
};
}

View File

@ -5001,6 +5001,8 @@ in {
tadasets = callPackage ../development/python-modules/tadasets { };
tasklib = callPackage ../development/python-modules/tasklib { };
tempita = callPackage ../development/python-modules/tempita { };
terminado = callPackage ../development/python-modules/terminado { };