libbap: init at master-2017-02-08
This commit is contained in:
parent
d022b4419c
commit
e010c25ba4
29
pkgs/development/libraries/libbap/default.nix
Normal file
29
pkgs/development/libraries/libbap/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, bap, ocaml, findlib, ctypes, autoreconfHook,
|
||||||
|
which }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "libbap-${version}";
|
||||||
|
version = "master-2017-02-08";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "BinaryAnalysisPlatform";
|
||||||
|
repo = "bap-bindings";
|
||||||
|
rev = "b3da5bd5cdb3d646015ccdeb886b5ea8fd85a108";
|
||||||
|
sha256 = "0cwfyfpxbi9bm4kkpamyd7mgsm5b6j1rh217fqb5gi05wg45rkbb";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook which ];
|
||||||
|
buildInputs = [ ocaml bap findlib ctypes ];
|
||||||
|
|
||||||
|
preInstall = ''
|
||||||
|
mkdir -p $out/lib
|
||||||
|
mkdir -p $out/include
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://github.com/binaryanalysisplatform/bap-bindings;
|
||||||
|
description = "A C library for interacting with BAP";
|
||||||
|
maintainers = [ stdenv.lib.maintainers.maurer ];
|
||||||
|
platforms = stdenv.lib.platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
@ -8079,6 +8079,10 @@ with pkgs;
|
|||||||
|
|
||||||
libb2 = callPackage ../development/libraries/libb2 { };
|
libb2 = callPackage ../development/libraries/libb2 { };
|
||||||
|
|
||||||
|
libbap = callPackage ../development/libraries/libbap {
|
||||||
|
inherit (ocamlPackages_4_02) bap ocaml findlib ctypes;
|
||||||
|
};
|
||||||
|
|
||||||
libbluedevil = callPackage ../development/libraries/libbluedevil { };
|
libbluedevil = callPackage ../development/libraries/libbluedevil { };
|
||||||
|
|
||||||
libbdplus = callPackage ../development/libraries/libbdplus { };
|
libbdplus = callPackage ../development/libraries/libbdplus { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user