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