summary refs log tree commit diff
path: root/pkgs/development/python-modules/bap
diff options
context:
space:
mode:
authorMatthew Maurer <matthew.r.maurer@gmail.com>2017-01-25 02:14:40 -0500
committerMatthew Maurer <matthew.r.maurer@gmail.com>2017-04-04 13:11:06 -0400
commitd022b4419cc2f4528203b8840ee2f9481344e55e (patch)
tree4367fb255ab275a52d07243d7fa7b2be5e32c072 /pkgs/development/python-modules/bap
parent7171d16fd40ed53b29ef11125f23f0f68f672f51 (diff)
downloadnixpkgs-d022b4419cc2f4528203b8840ee2f9481344e55e.tar
nixpkgs-d022b4419cc2f4528203b8840ee2f9481344e55e.tar.gz
nixpkgs-d022b4419cc2f4528203b8840ee2f9481344e55e.tar.bz2
nixpkgs-d022b4419cc2f4528203b8840ee2f9481344e55e.tar.lz
nixpkgs-d022b4419cc2f4528203b8840ee2f9481344e55e.tar.xz
nixpkgs-d022b4419cc2f4528203b8840ee2f9481344e55e.tar.zst
nixpkgs-d022b4419cc2f4528203b8840ee2f9481344e55e.zip
bap-python: init at 1.1.0
Diffstat (limited to 'pkgs/development/python-modules/bap')
-rw-r--r--pkgs/development/python-modules/bap/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/bap/default.nix b/pkgs/development/python-modules/bap/default.nix
new file mode 100644
index 00000000000..9362729af44
--- /dev/null
+++ b/pkgs/development/python-modules/bap/default.nix
@@ -0,0 +1,23 @@
+{stdenv, buildPythonPackage, fetchFromGitHub, bap, requests}:
+
+buildPythonPackage rec {
+  name = "bap";
+  version = "1.1.0";
+  src = fetchFromGitHub {
+    owner = "BinaryAnalysisPlatform";
+    repo = "bap-python";
+    rev = "v${version}";
+    sha256 = "0wd46ksxscgb2dci69sbndzxs6drq5cahraqq42cdk114hkrsxs3";
+  };
+
+  propagatedBuildInputs = [bap requests];
+
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    description = "Platform for binary analysis. It is written in OCaml, but can be used from other languages.";
+    homepage = https://github.com/BinaryAnalysisPlatform/bap/;
+    maintainers = [ maintainers.maurer ];
+    license = licenses.mit;
+  };
+}