Refactor Nix package definitions to use buildPythonApplication, update package versions, and enhance dependencies across multiple packages. Notable changes include version updates for dosage, hiit, qbittorrent-api, protonup-qt, and torf, as well as the addition of new dependencies and build inputs for colordle and qbit-manage.

This commit is contained in:
Danilo Reyes
2025-10-25 19:28:39 -06:00
parent b827ffab8f
commit a8e7517e9a
10 changed files with 159 additions and 65 deletions

View File

@@ -1,10 +1,25 @@
{
lib,
python3,
buildPythonApplication,
fetchFromGitHub,
setuptools,
wheel,
argon2-cffi,
bencode-py,
croniter,
fastapi,
gitpython,
humanize,
pytimeparse2,
qbittorrent-api,
requests,
retrying,
ruamel-yaml,
slowapi,
uvicorn,
}:
python3.pkgs.buildPythonApplication rec {
buildPythonApplication rec {
pname = "qbit-manage";
version = "4.6.3";
pyproject = true;
@@ -20,30 +35,29 @@ python3.pkgs.buildPythonApplication rec {
rm LICENSE
'';
build-system = builtins.attrValues {
inherit (python3.pkgs)
setuptools
wheel
;
};
build-system = [
setuptools
wheel
];
propagatedBuildInputs = builtins.attrValues {
inherit (python3.pkgs)
argon2-cffi
bencode-py
croniter
fastapi
gitpython
humanize
pytimeparse2
qbittorrent-api
requests
retrying
ruamel-yaml
slowapi
uvicorn
;
};
dependencies = [
argon2-cffi
bencode-py
croniter
fastapi
gitpython
humanize
pytimeparse2
qbittorrent-api
requests
retrying
ruamel-yaml
slowapi
uvicorn
];
# Skip runtime dependency check due to version mismatches with nixpkgs
dontCheckRuntimeDeps = true;
meta = {
description = "This tool will help manage tedious tasks in qBittorrent and automate them. Tag, categorize, remove Orphaned data, remove unregistered torrents and much much more";