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