MultisampledNight 2023-12-07 21:58:39 +01:00
parent 776664d0cf
commit 780e8ab5a8
No known key found for this signature in database
GPG key ID: C81EF9B053977241
2 changed files with 8 additions and 22 deletions

View file

@ -8,21 +8,24 @@
, python
, qtawesome
, requests
, setuptools
, typing-extensions
}:
buildPythonApplication rec {
pname = "rare";
version = "1.10.3";
version = "1.10.7";
pyproject = true;
src = fetchFromGitHub {
owner = "Dummerle";
owner = "RareDevs";
repo = "Rare";
rev = "refs/tags/${version}";
hash = "sha256-7KER9gCpqjEKikQTVHsvwX6efCb9L0ut6OBjjLBW2tI=";
hash = "sha256-rV6B9tCdwWK9yvEtVyLnv4Lo1WP5xW0f4JcsNZ7iBGI=";
};
nativeBuildInputs = [
setuptools
qt5.wrapQtAppsHook
];
@ -35,11 +38,6 @@ buildPythonApplication rec {
typing-extensions
];
patches = [
# Not able to run pythonRelaxDepsHook because of https://github.com/NixOS/nixpkgs/issues/198342
./legendary-gl-version.patch
];
dontWrapQtApps = true;
postInstall = ''
@ -56,9 +54,10 @@ buildPythonApplication rec {
meta = with lib; {
description = "GUI for Legendary, an Epic Games Launcher open source alternative";
homepage = "https://github.com/Dummerle/Rare";
homepage = "https://github.com/RareDevs/Rare";
maintainers = with maintainers; [ wolfangaukang ];
license = licenses.gpl3Only;
platforms = platforms.linux;
mainProgram = "rare";
};
}

View file

@ -1,13 +0,0 @@
diff --git a/setup.py b/setup.py
index 2416360..08de818 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ with open("README.md", "r") as fh:
requirements = [
"requests<3.0",
- "legendary-gl==0.20.32",
+ "legendary-gl~=0.20.32",
"setuptools",
"wheel",
"PyQt5",