Merge pull request #249164 from savyajha/add-qbittorrentapi

python310Packages.qbittorrent-api: init at 2023.7.52

authored by OTABI Tomoya and committed by GitHub c4fa270c 959d8a84

+50
+48
pkgs/development/python-modules/qbittorrent-api/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , requests 5 + , six 6 + , urllib3 7 + , packaging 8 + , setuptools 9 + , wheel 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "qbittorrent-api"; 14 + version = "2023.7.52"; 15 + format = "pyproject"; 16 + 17 + src = fetchPypi { 18 + inherit pname version; 19 + hash = "sha256-RHOupNo0jteUpxcxAojOfnBGGBt293j0OCHeKEritpQ="; 20 + }; 21 + 22 + propagatedBuildInputs = [ 23 + requests 24 + six 25 + urllib3 26 + packaging 27 + ]; 28 + 29 + nativeBuildInputs = [ 30 + setuptools 31 + wheel 32 + ]; 33 + 34 + # Tests require internet access 35 + doCheck = false; 36 + 37 + pythonImportsCheck = [ 38 + "qbittorrentapi" 39 + ]; 40 + 41 + meta = with lib; { 42 + description = "Python client implementation for qBittorrent's Web API"; 43 + homepage = "https://github.com/rmartin16/qbittorrent-api"; 44 + changelog = "https://github.com/rmartin16/qbittorrent-api/blob/v${version}/CHANGELOG.md"; 45 + license = licenses.mit; 46 + maintainers = with maintainers; [ savyajha ]; 47 + }; 48 + }
+2
pkgs/top-level/python-packages.nix
··· 10699 10700 pyzufall = callPackage ../development/python-modules/pyzufall { }; 10701 10702 qcelemental = callPackage ../development/python-modules/qcelemental { }; 10703 10704 qcengine = callPackage ../development/python-modules/qcengine { };
··· 10699 10700 pyzufall = callPackage ../development/python-modules/pyzufall { }; 10701 10702 + qbittorrent-api = callPackage ../development/python-modules/qbittorrent-api { }; 10703 + 10704 qcelemental = callPackage ../development/python-modules/qcelemental { }; 10705 10706 qcengine = callPackage ../development/python-modules/qcengine { };