1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5, six 6, urllib3 7, packaging 8, setuptools 9, wheel 10}: 11 12buildPythonPackage rec { 13 pname = "qbittorrent-api"; 14 version = "2023.10.54"; 15 format = "pyproject"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-xCHB/pPURc1+vje6IhBHZ6HogUsmYfBE9977Qtwoc2w="; 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}