mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
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:
parent
2072d51f94
commit
7e645125e9
@ -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;
|
||||
|
||||
|
13
pkgs/games/rare/legendary-gl-version.patch
Normal file
13
pkgs/games/rare/legendary-gl-version.patch
Normal 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",
|
Loading…
Reference in New Issue
Block a user