{ lib, pythonPackages, taskwarrior, writeShellScriptBin }: with pythonPackages; let wsl_stub = writeShellScriptBin "wsl" "true"; in buildPythonPackage rec { pname = "tasklib"; version = "2.4.0"; src = fetchPypi { inherit pname version; sha256 = "3645594147107c92780e19ac437f09eb8b8eac950209fb92d3f71869a721234e"; }; 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; }; }