about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyvex
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-02-08 22:14:13 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-02-08 22:14:13 +0100
commita42abb58012a14022b67102271e693243ef55473 (patch)
tree651ab6b8fadab83f81c526614a80572991dd0dbf /pkgs/development/python-modules/pyvex
parent98cc224405c150c136d000857b1d8291ddd219ae (diff)
downloadnixlib-a42abb58012a14022b67102271e693243ef55473.tar
nixlib-a42abb58012a14022b67102271e693243ef55473.tar.gz
nixlib-a42abb58012a14022b67102271e693243ef55473.tar.bz2
nixlib-a42abb58012a14022b67102271e693243ef55473.tar.lz
nixlib-a42abb58012a14022b67102271e693243ef55473.tar.xz
nixlib-a42abb58012a14022b67102271e693243ef55473.tar.zst
nixlib-a42abb58012a14022b67102271e693243ef55473.zip
python3Packages.pyvex: init at 9.0.5739
Diffstat (limited to 'pkgs/development/python-modules/pyvex')
-rw-r--r--pkgs/development/python-modules/pyvex/default.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyvex/default.nix b/pkgs/development/python-modules/pyvex/default.nix
new file mode 100644
index 000000000000..ddec4f0f2397
--- /dev/null
+++ b/pkgs/development/python-modules/pyvex/default.nix
@@ -0,0 +1,39 @@
+{ lib
+, archinfo
+, bitstring
+, fetchPypi
+, cffi
+, buildPythonPackage
+, future
+, pycparser
+}:
+
+buildPythonPackage rec {
+  pname = "pyvex";
+  version = "9.0.5739";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1jwxxw2kw7wkz7kh8m8vbavzw6m5k6xph7mazfn3k2qbsshh3lk3";
+  };
+
+  propagatedBuildInputs = [
+    archinfo
+    bitstring
+    cffi
+    future
+    pycparser
+  ];
+
+  # No tests are available on PyPI, GitHub release has tests
+  # Switch to GitHub release after all angr parts are present
+  doCheck = false;
+  pythonImportsCheck = [ "pyvex" ];
+
+  meta = with lib; {
+    description = "Python interface to libVEX and VEX IR";
+    homepage = "https://github.com/angr/pyvex";
+    license = with licenses; [ bsd2 gpl3Plus lgpl3Plus ];
+    maintainers = with maintainers; [ fab ];
+  };
+}