tasklib: write without `with <>;`

Changed files
+10 -12
pkgs
development
python-modules
tasklib
+10 -12
pkgs/development/python-modules/tasklib/default.nix
···
{
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";
···
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;
};
}