diff --git a/pkgs/development/python-modules/beangulp/default.nix b/pkgs/development/python-modules/beangulp/default.nix index 6299ca35159a..d051c0bc622b 100644 --- a/pkgs/development/python-modules/beangulp/default.nix +++ b/pkgs/development/python-modules/beangulp/default.nix @@ -6,6 +6,7 @@ chardet, click, fetchFromGitHub, + fetchpatch2, lxml, petl, python-magic, @@ -25,6 +26,13 @@ buildPythonPackage rec { hash = "sha256-h7xLHwEyS+tOI7v6Erp12VfVnxOf4930++zghhC3in4="; }; + patches = [ + (fetchpatch2 { + url = "https://github.com/beancount/beangulp/commit/254bfb38ffed049ef8f3041bfaf01b3f5a8aa771.patch?full_index=1"; + hash = "sha256-ojysT23K0xmFafzTnRZiHkLS2ioDR/tVK02mfF7N9so="; + }) + ]; + build-system = [ setuptools ]; dependencies = [