rare: relax legendary-gl

Not able to run pythonRelaxDepsHook because of https://github.com/NixOS/nixpkgs/issues/198342: The wheel name start with Rare (capital letter).
This commit is contained in:
P. R. d. O 2023-01-06 11:31:13 -06:00
parent 2072d51f94
commit 7e645125e9
No known key found for this signature in database
GPG Key ID: 7B0FF33FF90110C7
2 changed files with 30 additions and 3 deletions

View File

@ -1,5 +1,15 @@
{ lib, fetchFromGitHub, buildPythonApplication, qt5 { lib
, legendary-gl, pypresence, pyqt5, python, qtawesome, requests, typing-extensions }: , fetchFromGitHub
, buildPythonApplication
, qt5
, legendary-gl
, pypresence
, pyqt5
, python
, qtawesome
, requests
, typing-extensions
}:
buildPythonApplication rec { buildPythonApplication rec {
pname = "rare"; pname = "rare";
@ -25,7 +35,11 @@ buildPythonApplication rec {
typing-extensions 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; 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",