Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7ec6214787c4
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 16abe1a32212
Choose a head ref
  • 2 commits
  • 6 files changed
  • 2 contributors

Commits on Oct 29, 2020

  1. Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    345f1d1 View commit details

Commits on Nov 2, 2020

  1. Merge pull request #102085 from luc65r/pkg/unicorn

    unicorn(-emu): 1.0.2-rc4 -> 1.0.2
    mkg20001 authored Nov 2, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    16abe1a View commit details
34 changes: 0 additions & 34 deletions pkgs/development/libraries/unicorn-emu/default.nix

This file was deleted.

27 changes: 27 additions & 0 deletions pkgs/development/libraries/unicorn/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ stdenv
, fetchFromGitHub
, pkgconfig
, cmake
}:

stdenv.mkDerivation rec {
pname = "unicorn";
version = "1.0.2";

src = fetchFromGitHub {
owner = "unicorn-engine";
repo = pname;
rev = version;
sha256 = "0jgnyaq6ykpbg5hrwc0p3pargmr9hpzqfsj6ymp4k07pxnqal76j";
};

nativeBuildInputs = [ pkgconfig cmake ];

meta = with stdenv.lib; {
description = "Lightweight multi-platform CPU emulator library";
homepage = "http://www.unicorn-engine.org";
license = licenses.gpl2Only;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice luc65r ];
};
}
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/unicorn/default.nix
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ buildPythonPackage rec {
version = stdenv.lib.getVersion unicorn-emu;

src = unicorn-emu.src;
sourceRoot = "unicorn-${version}/bindings/python";
sourceRoot = "source/bindings/python";

prePatch = ''
ln -s ${unicorn-emu}/lib/libunicorn${stdenv.targetPlatform.extensions.sharedLibrary} prebuilt/
1 change: 1 addition & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
@@ -627,6 +627,7 @@ mapAliases ({
ubootBeagleboneBlack = ubootAmx335xEVM; # added 2020-01-21
ucsFonts = ucs-fonts; # added 2016-07-15
ultrastardx-beta = ultrastardx; # added 2017-08-12
unicorn-emu = unicorn; # added 2020-10-29
usb_modeswitch = usb-modeswitch; # added 2016-05-10
usbguard-nox = usbguard; # added 2019-09-04
uzbl = throw "uzbl has been removed from nixpkgs, as it's unmaintained and uses insecure libraries";
3 changes: 2 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -1653,7 +1653,6 @@ in
candle = libsForQt5.callPackage ../applications/misc/candle { };

capstone = callPackage ../development/libraries/capstone { };
unicorn-emu = callPackage ../development/libraries/unicorn-emu { };

casync = callPackage ../applications/networking/sync/casync {
sphinx = python3Packages.sphinx;
@@ -8079,6 +8078,8 @@ in

unbound = callPackage ../tools/networking/unbound { };

unicorn = callPackage ../development/libraries/unicorn { };

units = callPackage ../tools/misc/units {
enableCurrenciesUpdater = true;
pythonPackages = python3Packages;
4 changes: 3 additions & 1 deletion pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -7375,7 +7375,9 @@ in {

unicode-slugify = callPackage ../development/python-modules/unicode-slugify { };

unicorn = callPackage ../development/python-modules/unicorn { };
unicorn = callPackage ../development/python-modules/unicorn {
unicorn-emu = pkgs.unicorn;
};

unidecode = callPackage ../development/python-modules/unidecode { };