mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2024-11-01 16:03:06 +01:00
33 lines
984 B
Nix
33 lines
984 B
Nix
with import <nixpkgs> {};
|
|
|
|
( let
|
|
python-qbittorrent = pkgs.python312Packages.buildPythonPackage rec {
|
|
name = "python-qbittorrent-${version}";
|
|
version = "0.4.3";
|
|
|
|
src = pkgs.fetchurl{
|
|
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 ];
|
|
};
|
|
};
|
|
|
|
in pkgs.python312.buildEnv.override rec {
|
|
|
|
extraLibs = [
|
|
pkgs.python312Packages.beautifulsoup4
|
|
pkgs.python312Packages.bpython
|
|
pkgs.python312Packages.docopt
|
|
pkgs.python312Packages.requests
|
|
pkgs.python312Packages.rich
|
|
python-qbittorrent
|
|
];
|
|
}
|
|
).env
|