75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
42 lines
932 B
Nix
42 lines
932 B
Nix
{ lib
|
|
, stdenv
|
|
, archinfo
|
|
, bitstring
|
|
, fetchPypi
|
|
, cffi
|
|
, buildPythonPackage
|
|
, future
|
|
, pycparser
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyvex";
|
|
version = "9.0.5903";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-qhLlRlmb48zhjX2u9w6TVVv2gb0E9kSapabiv+u4J2s=";
|
|
};
|
|
|
|
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 ];
|
|
# ERROR: pyvex-X-py3-none-manylinux1_aarch64.whl is not a supported wheel on this platform.
|
|
broken = stdenv.isAarch64;
|
|
};
|
|
}
|