From 014b3dfae72e7ebf7c2b74d7b2f8baef03fb047d Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Thu, 14 Nov 2024 00:43:28 +0100 Subject: [PATCH] python312Packages.unicorn: rename unicorn-emu input to unicorn unicorn-emu was meant to correspond to an alias which is now a throw --- pkgs/development/python-modules/unicorn/default.nix | 8 ++++---- pkgs/top-level/python-packages.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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 0390abd70eb4..4fa9a7ef38d0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };