Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 32 lines 752 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "deluge-client"; 10 version = "1.10.2"; 11 pyproject = true; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-OIGu48Tgyp3YpWtxAEe4N+HQh6g+QhY2oHR3H5Kp8bU="; 16 }; 17 18 nativeBuildInputs = [ setuptools ]; 19 20 # it will try to connect to a running instance 21 doCheck = false; 22 23 pythonImportsCheck = [ "deluge_client" ]; 24 25 meta = { 26 description = "Lightweight pure-python rpc client for deluge"; 27 homepage = "https://github.com/JohnDoee/deluge-client"; 28 changelog = "https://github.com/JohnDoee/deluge-client/blob/${version}/CHANGELOG.rst"; 29 license = lib.licenses.mit; 30 maintainers = with lib.maintainers; [ peterhoeg ]; 31 }; 32}