diff --git a/pkgs/development/python-modules/tasklib/default.nix b/pkgs/development/python-modules/tasklib/default.nix index ed4d3ea7f784..30a2fafa9758 100644 --- a/pkgs/development/python-modules/tasklib/default.nix +++ b/pkgs/development/python-modules/tasklib/default.nix @@ -1,17 +1,14 @@ { lib, - pythonPackages, + buildPythonPackage, + six, + pytz, + tzlocal, fetchPypi, taskwarrior2, writeShellScriptBin, }: -with pythonPackages; - -let - - wsl_stub = writeShellScriptBin "wsl" "true"; -in buildPythonPackage rec { pname = "tasklib"; version = "2.5.1"; @@ -30,15 +27,16 @@ buildPythonPackage rec { nativeCheckInputs = [ taskwarrior2 - wsl_stub + # stub + (writeShellScriptBin "wsl" "true") ]; - meta = with lib; { + meta = { homepage = "https://github.com/robgolding/tasklib"; description = "Library for interacting with taskwarrior databases"; changelog = "https://github.com/GothenburgBitFactory/tasklib/releases/tag/${version}"; - maintainers = with maintainers; [ arcnmx ]; - platforms = platforms.all; - license = licenses.bsd3; + maintainers = with lib.maintainers; [ arcnmx ]; + platforms = lib.platforms.all; + license = lib.licenses.bsd3; }; }