nixpkgs/pkgs/development/libraries/zydis/default.nix

24 lines
545 B
Nix
Raw Normal View History

2021-01-24 04:33:12 +00:00
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "zydis";
2021-10-28 00:24:42 +00:00
version = "3.2.0";
2021-01-24 04:33:12 +00:00
src = fetchFromGitHub {
owner = "zyantific";
repo = "zydis";
2021-11-07 17:34:34 +00:00
rev = "v${version}";
2021-01-24 04:33:12 +00:00
fetchSubmodules = true;
2021-11-07 17:34:34 +00:00
sha256 = "sha256-1XGELwMuFlIt6Z3+kfD6VAgDZOwhhCSG42dkYh7WLf8=";
2021-01-24 04:33:12 +00:00
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Fast and lightweight x86/x86-64 disassembler library";
license = licenses.mit;
maintainers = [ maintainers.jbcrail ];
platforms = platforms.all;
};
}