admin-scripts/shell.nix

45 lines
1.2 KiB
Nix
Raw Normal View History

2024-09-02 21:26:26 +02:00
with import <nixpkgs> { };
2024-08-18 13:01:00 +02:00
2024-09-02 15:37:41 +02:00
let
2024-08-18 13:01:00 +02:00
python-qbittorrent = pkgs.python312Packages.buildPythonPackage rec {
name = "python-qbittorrent-${version}";
version = "0.4.3";
2024-09-02 21:26:26 +02:00
src = pkgs.fetchurl {
2024-08-18 13:01:00 +02:00
url = "https://files.pythonhosted.org/packages/86/25/a5ad35ad229c8016a8c98327495e649cb795be2fda63f8cace6c9a739af7/python-qbittorrent-${version}.tar.gz";
sha256 = "4e22cf89890628b054a60aa4bd1161a68c2b0fad48ef0886fa4d325e69d3828a";
};
meta = {
homepage = "https://github.com/v1k45/python-qBittorrent";
description = "Python wrapper for qBittorrent Web API (for versions above v3.1.x)";
license = lib.licenses.mit;
maintainers = with maintainers; [ v1k45 ];
};
2024-09-02 15:37:41 +02:00
nativeBuildInputs = with pkgs.python312Packages; [
pip
requests
];
};
2024-08-18 13:01:00 +02:00
2024-09-02 21:26:26 +02:00
in
mkShell {
2024-09-02 15:37:41 +02:00
buildInputs = with pkgs; [
python312Packages.beautifulsoup4
python312Packages.black
python312Packages.bpython
python312Packages.docopt
python312Packages.isort
2024-10-15 00:07:17 +02:00
python312Packages.pandas
2024-09-02 15:37:41 +02:00
python312Packages.pytest
python312Packages.requests
2024-10-02 05:29:17 +02:00
python312Packages.resend
2024-09-02 15:37:41 +02:00
python312Packages.rich
2024-10-20 19:34:45 +02:00
python312Packages.tabulate
2024-08-25 07:20:36 +02:00
pyright
2024-08-23 07:51:59 +02:00
python-qbittorrent
2024-10-02 05:57:18 +02:00
shellcheck
2024-08-23 07:51:59 +02:00
];
2024-08-18 13:01:00 +02:00
}