Merge pull request #249164 from savyajha/add-qbittorrentapi
python310Packages.qbittorrent-api: init at 2023.7.52
This commit is contained in:
commit
c4fa270c64
48
pkgs/development/python-modules/qbittorrent-api/default.nix
Normal file
48
pkgs/development/python-modules/qbittorrent-api/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, requests
|
||||||
|
, six
|
||||||
|
, urllib3
|
||||||
|
, packaging
|
||||||
|
, setuptools
|
||||||
|
, wheel
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "qbittorrent-api";
|
||||||
|
version = "2023.7.52";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-RHOupNo0jteUpxcxAojOfnBGGBt293j0OCHeKEritpQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -10699,6 +10699,8 @@ self: super: with self; {
|
||||||
|
|
||||||
pyzufall = callPackage ../development/python-modules/pyzufall { };
|
pyzufall = callPackage ../development/python-modules/pyzufall { };
|
||||||
|
|
||||||
|
qbittorrent-api = callPackage ../development/python-modules/qbittorrent-api { };
|
||||||
|
|
||||||
qcelemental = callPackage ../development/python-modules/qcelemental { };
|
qcelemental = callPackage ../development/python-modules/qcelemental { };
|
||||||
|
|
||||||
qcengine = callPackage ../development/python-modules/qcengine { };
|
qcengine = callPackage ../development/python-modules/qcengine { };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user