From 5f757db908b32749c8ca291a728c58e9113228d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 16 Nov 2021 18:10:47 -0800 Subject: [PATCH] python3Packages.explorerscript: fix build with renamed python-igraph --- .../python-modules/explorerscript/default.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/explorerscript/default.nix b/pkgs/development/python-modules/explorerscript/default.nix index fe23b7182346..a77c31e26a63 100644 --- a/pkgs/development/python-modules/explorerscript/default.nix +++ b/pkgs/development/python-modules/explorerscript/default.nix @@ -1,4 +1,11 @@ -{ lib, buildPythonPackage, fetchFromGitHub, antlr4-python3-runtime, pygments, igraph }: +{ lib +, buildPythonPackage +, fetchFromGitHub +, fetchpatch +, antlr4-python3-runtime +, igraph +, pygments +}: buildPythonPackage rec { pname = "explorerscript"; @@ -11,6 +18,14 @@ buildPythonPackage rec { sha256 = "1vzyliiyrxx8l9sfbqcyr4xn5swd7znkxy69kn0vb5rban8hm9c1"; }; + patches = [ + # https://github.com/SkyTemple/ExplorerScript/pull/17 + (fetchpatch { + url = "https://github.com/SkyTemple/ExplorerScript/commit/47d8b3d246881d675a82b4049b87ed7d9a0e1b15.patch"; + sha256 = "0sadw9l2nypl2s8lw526lvbdj4rzqdvrjncx4zxxgyp3x47csb48"; + }) + ]; + propagatedBuildInputs = [ antlr4-python3-runtime igraph ]; checkInputs = [ pygments ];