Merge pull request #119894 from fabaff/bump-angr

python3Packages.angr: 9.0.6281 -> 9.0.6790 and dependencies
This commit is contained in:
Fabian Affolter 2021-04-23 09:47:38 +02:00 committed by GitHub
commit 1f7c83a0ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 16 additions and 16 deletions

View File

@ -7,14 +7,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ailment"; pname = "ailment";
version = "9.0.6281"; version = "9.0.6790";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "angr"; owner = "angr";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-IFUGtTO+DY8FIxLgvmwM/y/RQr42T9sABPpnJMILkqg="; sha256 = "sha256-RcLa18JqQ7c8u+fhyNHmJEXt/Lg73JDAImtUtiaZbTw=";
}; };
propagatedBuildInputs = [ pyvex ]; propagatedBuildInputs = [ pyvex ];

View File

@ -18,7 +18,6 @@
, protobuf , protobuf
, psutil , psutil
, pycparser , pycparser
, pkgs
, pythonOlder , pythonOlder
, pyvex , pyvex
, sqlalchemy , sqlalchemy
@ -43,14 +42,14 @@ in
buildPythonPackage rec { buildPythonPackage rec {
pname = "angr"; pname = "angr";
version = "9.0.6281"; version = "9.0.6790";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "10i4qdk8f342gzxiwy0pjdc35lc4q5ab7l5q420ca61cgdvxkk4r"; sha256 = "sha256-PRghK/BdgxGpPuinkGr+rREza1pQXz2gxnXiSmxBSTc=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -7,13 +7,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "archinfo"; pname = "archinfo";
version = "9.0.6281"; version = "9.0.6790";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "angr"; owner = "angr";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-ZO2P53RdR3cYhDbtrdGJnadFZgKkBdDi5gR/CB7YTpI="; sha256 = "sha256-A4WvRElahRv/XmlmS4WexMqm8FIZ1SSUnbdoAWWECMk=";
}; };
checkInputs = [ checkInputs = [

View File

@ -13,14 +13,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "claripy"; pname = "claripy";
version = "9.0.6281"; version = "9.0.6790";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "angr"; owner = "angr";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-gvo8I6LQRAEUa7QiV5Sugrt+e2SmGkkKfsGn/IKz+Mk="; sha256 = "sha256-GpWHj3bNgr7nQoIKM4VQtVkbObxqw6QkuEmfmPEiJmE=";
}; };
# Use upstream z3 implementation # Use upstream z3 implementation

View File

@ -15,7 +15,7 @@
let let
# The binaries are following the argr projects release cycle # The binaries are following the argr projects release cycle
version = "9.0.6281"; version = "9.0.6790";
# Binary files from https://github.com/angr/binaries (only used for testing and only here) # Binary files from https://github.com/angr/binaries (only used for testing and only here)
binaries = fetchFromGitHub { binaries = fetchFromGitHub {
@ -35,7 +35,7 @@ buildPythonPackage rec {
owner = "angr"; owner = "angr";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0f2zc02dljmgp6ny6ja6917j08kqhwckncan860dq4xv93g61rmg"; sha256 = "sha256-zQggVRdc8fV1ulFnOlzYLvSOSOP3+dY8j+6lo+pXSkM=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -64,6 +64,8 @@ buildPythonPackage rec {
"test_ppc_rel24_relocation" "test_ppc_rel24_relocation"
"test_ppc_addr16_ha_relocation" "test_ppc_addr16_ha_relocation"
"test_ppc_addr16_lo_relocation" "test_ppc_addr16_lo_relocation"
# Binary not found, seems to be missing in the current binaries release
"test_plt_full_relro"
]; ];
pythonImportsCheck = [ "cle" ]; pythonImportsCheck = [ "cle" ];

View File

@ -11,11 +11,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyvex"; pname = "pyvex";
version = "9.0.6281"; version = "9.0.6790";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-E8BYCzV71qVNRzWCCI2yTVU88JVMA08eqnIO8OtbNlM="; sha256 = "sha256-bqOLHGlLQ12nYzbv9H9nJ0/Q5APJb/9B82YtHk3IvYQ=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -26,9 +26,8 @@ buildPythonPackage rec {
pycparser pycparser
]; ];
postPatch = '' preBuild = ''
substituteInPlace pyvex_c/Makefile \ export CC=${stdenv.cc.targetPrefix}cc
--replace "CC=gcc" "CC=${stdenv.cc.targetPrefix}cc"
''; '';
# No tests are available on PyPI, GitHub release has tests # No tests are available on PyPI, GitHub release has tests