python312Packages.unicorn: rename unicorn-emu input to unicorn

unicorn-emu was meant to correspond to an alias which is now a throw
This commit is contained in:
Peder Bergebakken Sundt 2024-11-14 00:43:28 +01:00
parent 501505f8c7
commit 014b3dfae7
2 changed files with 5 additions and 5 deletions

View File

@ -3,20 +3,20 @@
stdenv,
buildPythonPackage,
setuptools,
unicorn-emu,
unicorn,
}:
buildPythonPackage rec {
pname = "unicorn";
version = lib.getVersion unicorn-emu;
version = lib.getVersion unicorn;
pyproject = true;
src = unicorn-emu.src;
src = unicorn.src;
sourceRoot = "${src.name}/bindings/python";
prePatch = ''
ln -s ${unicorn-emu}/lib/libunicorn.* prebuilt/
ln -s ${unicorn}/lib/libunicorn.* prebuilt/
'';
# Needed on non-x86 linux

View File

@ -17213,7 +17213,7 @@ self: super: with self; {
unicode-slugify = callPackage ../development/python-modules/unicode-slugify { };
unicorn = callPackage ../development/python-modules/unicorn {
unicorn-emu = pkgs.unicorn;
inherit (pkgs) unicorn;
};
unicurses = callPackage ../development/python-modules/unicurses { };