python3Packages.bpython: fix build
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
curtsies,
|
||||
cwcwidth,
|
||||
greenlet,
|
||||
@@ -29,6 +30,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-NmWM0fdzS9n5FSnNJOCdS1JE5ZHrmJXqCuHa54rT8GU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# This should be removed in the next release.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/bpython/bpython/commit/870e81cb5a6860f1ba15744c81b97f71467eedf9.patch";
|
||||
hash = "sha256-z55EkLT51ulz/V3XgjP1cbQza9ztb5YHu1UlXlbaWTQ=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail 'version = "unknown"' 'version = "${version}"'
|
||||
|
||||
Reference in New Issue
Block a user