soy ass qbit-manage patch

This commit is contained in:
2025-05-31 19:26:35 -06:00
parent 4eef0b8578
commit 4d9eaa65a2
3 changed files with 98 additions and 4 deletions

View File

@@ -7,16 +7,20 @@
python3.pkgs.buildPythonApplication rec {
pname = "qbit-manage";
version = "4.1.14";
version = "4.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "StuffAnThings";
repo = "qbit_manage";
rev = "v${version}";
hash = "sha256-JTQZlJ2d0oOpT8lIf9mgQ/onTs5jiWfvzFx0XBjbCQo=";
hash = "sha256-Wj1s11PwHfH4hDGEn0jW/REO2gI7+AGyb2B/QKUhlyk=";
};
postPatch = ''
rm LICENSE
'';
build-system = [
python3.pkgs.setuptools
python3.pkgs.wheel
@@ -27,12 +31,27 @@ python3.pkgs.buildPythonApplication rec {
gitpython
humanize
pytimeparse2
qbittorrent-api
bencode-py
requests
retrying
ruamel-yaml
schedule
(callPackage ./bencodepy.nix { })
(callPackage ./qbittorrent-api.nix {
inherit lib;
inherit (python3.pkgs)
buildPythonPackage
fetchPypi
# build-system
setuptools
setuptools-scm
# dependencies
packaging
requests
urllib3
;
})
];
meta = {