soy ass qbit-manage patch
This commit is contained in:
50
pkgs_wip/qbittorrent-api.nix
Normal file
50
pkgs_wip/qbittorrent-api.nix
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
|
||||
# dependencies
|
||||
packaging,
|
||||
requests,
|
||||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "qbittorrent-api";
|
||||
version = "2025.5.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "qbittorrent_api";
|
||||
inherit version;
|
||||
hash = "sha256-NKD5weGufhbeUOlGUXUsjZejz1TCo+GgXGqDdzmaDjA=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
packaging
|
||||
requests
|
||||
urllib3
|
||||
];
|
||||
|
||||
# Tests require internet access
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "qbittorrentapi" ];
|
||||
|
||||
meta = {
|
||||
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 = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ savyajha ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user