rare: 1.9.4 -> 1.10.3 (#240310)

* rare: 1.9.4 -> 1.10.3

Diff: https://github.com/Dummerle/Rare/compare/refs/tags/1.9.4...1.10.3

* Update pkgs/games/rare/default.nix

---------

Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
This commit is contained in:
SuperSamus 2023-06-28 14:03:50 +02:00 committed by GitHub
parent 9d20946e5f
commit 417de14e90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 15 deletions

View file

@ -13,13 +13,13 @@
buildPythonApplication rec {
pname = "rare";
version = "1.9.4";
version = "1.10.3";
src = fetchFromGitHub {
owner = "Dummerle";
repo = "Rare";
rev = "refs/tags/${version}";
sha256 = "sha256-+STwVsDdvjP7HaqmaQVug+6h0n0rw/j4LGQQSNdLVQQ=";
hash = "sha256-7KER9gCpqjEKikQTVHsvwX6efCb9L0ut6OBjjLBW2tI=";
};
nativeBuildInputs = [
@ -36,7 +36,6 @@ buildPythonApplication rec {
];
patches = [
./fix-instance.patch
# Not able to run pythonRelaxDepsHook because of https://github.com/NixOS/nixpkgs/issues/198342
./legendary-gl-version.patch
];

View file

@ -1,10 +0,0 @@
diff --git a/rare/utils/misc.py b/rare/utils/misc.py
index 4492074..5352dac 100644
--- a/rare/utils/misc.py
+++ b/rare/utils/misc.py
@@ -190,6 +190,7 @@ def get_rare_executable() -> List[str]:
executable = [sys.executable]
executable[0] = os.path.abspath(executable[0])
+ executable.pop(0)
return executable

View file

@ -6,8 +6,8 @@ index 2416360..08de818 100644
requirements = [
"requests<3.0",
- "legendary-gl==0.20.31",
+ "legendary-gl~=0.20.31",
- "legendary-gl==0.20.32",
+ "legendary-gl~=0.20.32",
"setuptools",
"wheel",
"PyQt5",