mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #324778 from Sigmanificient/unicurses-3.1.2
python312Packages.unicurses: 3.0.0 -> 3.1.2
This commit is contained in:
commit
4731dbd74c
1 changed files with 4 additions and 4 deletions
|
@ -8,13 +8,13 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "unicurses";
|
||||
version = "3.0.0";
|
||||
version = "3.1.2";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "Uni-Curses";
|
||||
hash = "sha256-ZJUKWxu2cQlFGN1RNtyDacwSOtBiUKzk9SIDD0IQiuU=";
|
||||
hash = "sha256-M4mjdmy2NSf5KiTVYznPy86bVgZB5u1vDi6GIH1Frc4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ x256 ];
|
||||
|
@ -22,8 +22,8 @@ buildPythonPackage rec {
|
|||
# Necessary because ctypes.util.find_library does not find the ncurses libraries
|
||||
postPatch = ''
|
||||
substituteInPlace './unicurses/__init__.py' \
|
||||
--replace "find_library('ncursesw')" '"${ncurses}/lib/libncursesw.so.6"' \
|
||||
--replace "find_library('panelw')" '"${ncurses}/lib/libpanelw.so.6"'
|
||||
--replace-fail "find_library('ncursesw')" '"${ncurses}/lib/libncursesw.so.6"' \
|
||||
--replace-fail "find_library('panelw')" '"${ncurses}/lib/libpanelw.so.6"'
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "unicurses" ];
|
||||
|
|
Loading…
Reference in a new issue