depot/third_party/nixpkgs/pkgs/development/libraries/zydis/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

23 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;
};
}