nixpkgs/pkgs/development/libraries/zydis/default.nix
2021-01-25 12:26:14 -08:00

24 lines
575 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "zydis";
version = "3.1.0";
src = fetchFromGitHub {
owner = "zyantific";
repo = "zydis";
rev = "bfee99f49274a0eec3ffea16ede3a5bda9cda88f";
sha256 = "0x2lpc33ynd0zzirdxp2lycvg3545wh1ssgy4qlv81471iwwzv6b";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Fast and lightweight x86/x86-64 disassembler library";
license = licenses.mit;
maintainers = [ maintainers.jbcrail ];
platforms = platforms.all;
};
}