Add build inputs

This commit is contained in:
Jeffrey Serio 2024-09-02 08:37:41 -05:00
parent 1b81d47b71
commit 0a76a5837a

View File

@ -1,6 +1,6 @@
with import <nixpkgs> {}; with import <nixpkgs> {};
( let let
python-qbittorrent = pkgs.python312Packages.buildPythonPackage rec { python-qbittorrent = pkgs.python312Packages.buildPythonPackage rec {
name = "python-qbittorrent-${version}"; name = "python-qbittorrent-${version}";
version = "0.4.3"; version = "0.4.3";
@ -16,22 +16,25 @@ with import <nixpkgs> {};
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [ v1k45 ]; maintainers = with maintainers; [ v1k45 ];
}; };
nativeBuildInputs = with pkgs.python312Packages; [
pip
requests
];
}; };
in pkgs.python312.buildEnv.override rec { in mkShell {
buildInputs = with pkgs; [
extraLibs = [ python312Packages.beautifulsoup4
pkgs.python312Packages.beautifulsoup4 python312Packages.black
pkgs.python312Packages.black python312Packages.bpython
pkgs.python312Packages.bpython python312Packages.docopt
pkgs.python312Packages.docopt python312Packages.isort
pkgs.python312Packages.isort python312Packages.pytest
pkgs.python312Packages.nose python312Packages.requests
pkgs.python312Packages.pytest python312Packages.rich
pkgs.python312Packages.requests
pkgs.python312Packages.rich
pyright pyright
python-qbittorrent python-qbittorrent
]; ];
} }
).env