9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
28 lines
613 B
Nix
28 lines
613 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "unicorn";
|
|
version = "1.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "unicorn-engine";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0jgnyaq6ykpbg5hrwc0p3pargmr9hpzqfsj6ymp4k07pxnqal76j";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config 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 ];
|
|
};
|
|
}
|