Merge pull request #130228 from fabaff/bump-angr

python3Packages.angr: 9.0.8761 -> 9.0.9031
This commit is contained in:
Fabian Affolter 2021-07-15 08:57:13 +02:00 committed by GitHub
commit 51ceb08a21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 66 additions and 15 deletions

View File

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "ailment";
version = "9.0.8761";
version = "9.0.9031";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "angr";
repo = pname;
rev = "v${version}";
sha256 = "sha256-UAtVWh3BBZZmU5+BR0+2B+rivzR4E7bZK1ro1uKngtE=";
sha256 = "sha256-xyNTcGTGH8030CJif6an+kDZIfOUVDMiRhFamVajAzk=";
};
propagatedBuildInputs = [ pyvex ];

View File

@ -13,6 +13,7 @@
, GitPython
, itanium_demangler
, mulpyplexer
, nampa
, networkx
, progressbar2
, protobuf
@ -42,14 +43,14 @@ in
buildPythonPackage rec {
pname = "angr";
version = "9.0.8761";
version = "9.0.9031";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "sha256-vPqCezHYJP3ue3/J/Pni9jPvSJ+om7nAVgPTU6z5xBE=";
sha256 = "sha256-qWAz9SHfQU0cdk4yVekJn5OIDPJPbi63CDdlHDq1Opw=";
};
propagatedBuildInputs = [
@ -65,6 +66,7 @@ buildPythonPackage rec {
GitPython
itanium_demangler
mulpyplexer
nampa
networkx
progressbar2
protobuf
@ -83,7 +85,13 @@ buildPythonPackage rec {
doCheck = false;
# See http://angr.io/api-doc/
pythonImportsCheck = [ "angr" "claripy" "cle" "pyvex" "archinfo" ];
pythonImportsCheck = [
"angr"
"claripy"
"cle"
"pyvex"
"archinfo"
];
meta = with lib; {
description = "Powerful and user-friendly binary analysis platform";

View File

@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "angrop";
version = "9.0.8761";
version = "9.0.9031";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "angr";
repo = pname;
rev = "v${version}";
sha256 = "sha256-M/4kEESL9OH4KyPgsrlVzm54OtU28pDox5qtV7Up2ew=";
sha256 = "sha256-3q/3iFR0FFOcvgmNVXtgi1Spu5xfXNJFy+QoIh8amOY=";
};
propagatedBuildInputs = [

View File

@ -7,13 +7,13 @@
buildPythonPackage rec {
pname = "archinfo";
version = "9.0.8761";
version = "9.0.9031";
src = fetchFromGitHub {
owner = "angr";
repo = pname;
rev = "v${version}";
sha256 = "sha256-mdry5JQIW1b2p9a+c6RfHE6HYs54WKFofPkzFCgpUXg=";
sha256 = "sha256-pzBMyw5FwQV1FyhvOxUq39s96p0KKSrkEvJzhJQdS4E=";
};
checkInputs = [

View File

@ -13,14 +13,14 @@
buildPythonPackage rec {
pname = "claripy";
version = "9.0.8761";
version = "9.0.9031";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "angr";
repo = pname;
rev = "v${version}";
sha256 = "sha256-MEG6J7FBjufFqvmfV+LTtgDJb8eZuUrDq4am/mnYCZI=";
sha256 = "sha256-UCmt2Vm8OWyKa0fmPlGuvzaFddUWs6quavUgIZasoJg=";
};
# Use upstream z3 implementation

View File

@ -15,7 +15,7 @@
let
# The binaries are following the argr projects release cycle
version = "9.0.8761";
version = "9.0.9031";
# Binary files from https://github.com/angr/binaries (only used for testing and only here)
binaries = fetchFromGitHub {
@ -35,7 +35,7 @@ buildPythonPackage rec {
owner = "angr";
repo = pname;
rev = "v${version}";
sha256 = "sha256-cJpwtAX2cck/SoTfm8G93Imyyqn1B2Izkxk9O7WtRrk=";
sha256 = "sha256-+9aW7J8FXuKtU20dpqnoj37McPxzbkjKuYZIO8QeFF0=";
};
propagatedBuildInputs = [

View File

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, future
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "nampa";
version = "1.0";
src = fetchFromGitHub {
owner = "thebabush";
repo = pname;
rev = version;
sha256 = "14b6xjm497wrfw4kv24zhsvz2l6zknvx36w8i754hfwz3s3fsl6a";
};
propagatedBuildInputs = [
future
];
checkInputs = [
pytestCheckHook
];
postPatch = ''
# https://github.com/thebabush/nampa/pull/13
substituteInPlace setup.py \
--replace "0.1.1" "${version}"
'';
pythonImportsCheck = [ "nampa" ];
meta = with lib; {
description = "Python implementation of the FLIRT technology";
homepage = "https://github.com/thebabush/nampa";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "pyvex";
version = "9.0.8761";
version = "9.0.9031";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-3aLpMiOJfgELfnpqTyXAL6Uofbm4UW4VRRsYzTTAofg=";
sha256 = "sha256-bl6bWv4c+tlaWcxrYCiljC9C+wAZZVyk+1O0rlb4kxA=";
};
postPatch = lib.optionalString stdenv.isDarwin ''

View File

@ -4674,6 +4674,8 @@ in {
names = callPackage ../development/python-modules/names { };
nampa = callPackage ../development/python-modules/nampa { };
nanoleaf = callPackage ../development/python-modules/nanoleaf { };
nanomsg-python = callPackage ../development/python-modules/nanomsg-python {