python312Packages.unicorn: rename unicorn-emu input to unicorn (#355779)

This commit is contained in:
Peder Bergebakken Sundt 2024-11-23 22:47:41 +01:00 committed by GitHub
commit 362c5b1825
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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

@ -17260,7 +17260,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 { };