diff --git a/shell.nix b/shell.nix index 0cf0d80..8575edc 100644 --- a/shell.nix +++ b/shell.nix @@ -1,6 +1,6 @@ with import {}; -( let +let python-qbittorrent = pkgs.python312Packages.buildPythonPackage rec { name = "python-qbittorrent-${version}"; version = "0.4.3"; @@ -16,22 +16,25 @@ with import {}; license = lib.licenses.mit; maintainers = with maintainers; [ v1k45 ]; }; + + nativeBuildInputs = with pkgs.python312Packages; [ + pip + requests + ]; }; -in pkgs.python312.buildEnv.override rec { - - extraLibs = [ - pkgs.python312Packages.beautifulsoup4 - pkgs.python312Packages.black - pkgs.python312Packages.bpython - pkgs.python312Packages.docopt - pkgs.python312Packages.isort - pkgs.python312Packages.nose - pkgs.python312Packages.pytest - pkgs.python312Packages.requests - pkgs.python312Packages.rich +in mkShell { + buildInputs = with pkgs; [ + python312Packages.beautifulsoup4 + python312Packages.black + python312Packages.bpython + python312Packages.docopt + python312Packages.isort + python312Packages.pytest + python312Packages.requests + python312Packages.rich pyright python-qbittorrent ]; } -).env +