nixpkgs/pkgs/development/libraries/zydis/default.nix
2021-11-07 18:34:34 +01:00

24 lines
545 B
Nix

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