mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2024-11-01 08:03:05 +01:00
Add build inputs
This commit is contained in:
parent
1b81d47b71
commit
0a76a5837a
31
shell.nix
31
shell.nix
@ -1,6 +1,6 @@
|
||||
with import <nixpkgs> {};
|
||||
|
||||
( let
|
||||
let
|
||||
python-qbittorrent = pkgs.python312Packages.buildPythonPackage rec {
|
||||
name = "python-qbittorrent-${version}";
|
||||
version = "0.4.3";
|
||||
@ -16,22 +16,25 @@ with import <nixpkgs> {};
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user