diff --git a/pkgs/development/python-modules/unicorn/default.nix b/pkgs/development/python-modules/unicorn/default.nix index 6ce310bfb5d1..b1b630c237da 100644 --- a/pkgs/development/python-modules/unicorn/default.nix +++ b/pkgs/development/python-modules/unicorn/default.nix @@ -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 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f6415f71215b..3781cbfb0b26 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };