Loading pkgs/development/python-modules/bpython/default.nix +9 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, curtsies, cwcwidth, greenlet, Loading Loading @@ -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}"' Loading Loading
pkgs/development/python-modules/bpython/default.nix +9 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, curtsies, cwcwidth, greenlet, Loading Loading @@ -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}"' Loading