1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 requests, 6 urllib3, 7 packaging, 8 setuptools, 9 setuptools-scm, 10}: 11 12buildPythonPackage rec { 13 pname = "qbittorrent-api"; 14 version = "2024.3.60"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-gnT19BKyPqzcRK1aKsC97NxktR4aqPd3LOlVo9/1gJY="; 20 }; 21 22 propagatedBuildInputs = [ 23 requests 24 urllib3 25 packaging 26 ]; 27 28 nativeBuildInputs = [ 29 setuptools 30 setuptools-scm 31 ]; 32 33 # Tests require internet access 34 doCheck = false; 35 36 pythonImportsCheck = [ "qbittorrentapi" ]; 37 38 meta = with lib; { 39 description = "Python client implementation for qBittorrent's Web API"; 40 homepage = "https://github.com/rmartin16/qbittorrent-api"; 41 changelog = "https://github.com/rmartin16/qbittorrent-api/blob/v${version}/CHANGELOG.md"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ savyajha ]; 44 }; 45}