Merge pull request #209347 from WolfangAukang/rare-relax

rare: relax legendary-gl
This commit is contained in:
Weijia Wang 2023-01-23 06:05:56 +01:00 committed by GitHub
commit 197403e3a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 3 deletions

View File

@ -1,5 +1,15 @@
{ lib, fetchFromGitHub, buildPythonApplication, qt5
, legendary-gl, pypresence, pyqt5, python, qtawesome, requests, typing-extensions }:
{ lib
, fetchFromGitHub
, buildPythonApplication
, qt5
, legendary-gl
, pypresence
, pyqt5
, python
, qtawesome
, requests
, typing-extensions
}:
buildPythonApplication rec {
pname = "rare";
@ -25,7 +35,11 @@ buildPythonApplication rec {
typing-extensions
];
patches = [ ./fix-instance.patch ];
patches = [
./fix-instance.patch
# Not able to run pythonRelaxDepsHook because of https://github.com/NixOS/nixpkgs/issues/198342
./legendary-gl-version.patch
];
dontWrapQtApps = true;

View File

@ -0,0 +1,13 @@
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.31",
+ "legendary-gl~=0.20.31",
"setuptools",
"wheel",
"PyQt5",