3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/unicorn/default.nix
2021-08-08 22:40:05 +01:00

28 lines
611 B
Nix

{ lib, stdenv
, fetchFromGitHub
, pkg-config
, cmake
}:
stdenv.mkDerivation rec {
pname = "unicorn";
version = "1.0.3";
src = fetchFromGitHub {
owner = "unicorn-engine";
repo = pname;
rev = version;
sha256 = "079azb1df4nwsnsck36b200rnf03aqilw30h3fiaqi1ixash957k";
};
nativeBuildInputs = [ pkg-config cmake ];
meta = with 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 ];
};
}