blob: d7b733f83322b51d8aa3913bc05283733f8b17a2 (
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.11.57";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-fmFJW4PDQc7szu0ymE+fV9k6wUDLRHkOriEHDnzDSQg=";
};
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 ];
};
}
|