python312Packages.angr: 9.2.141 -> 9.2.144 (#385864)
This commit is contained in:
@@ -6,11 +6,12 @@
|
||||
pyvex,
|
||||
setuptools,
|
||||
typing-extensions,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ailment";
|
||||
version = "9.2.141";
|
||||
version = "9.2.144";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@@ -19,7 +20,7 @@ buildPythonPackage rec {
|
||||
owner = "angr";
|
||||
repo = "ailment";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-TNwqf5MMqIaugOEiB0CQKAPI7AvjKTp9zJocc4GUvpg=";
|
||||
hash = "sha256-ZA/XSKp6Xn1mciVMJ/FVHdz0Orstx1ib2feBtIfGLa0=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -34,6 +35,8 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "ailment" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Angr Intermediate Language";
|
||||
homepage = "https://github.com/angr/ailment";
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
psutil,
|
||||
pycparser,
|
||||
pyformlang,
|
||||
pydemumble,
|
||||
pythonOlder,
|
||||
pyvex,
|
||||
rich,
|
||||
@@ -32,11 +33,12 @@
|
||||
sympy,
|
||||
unicorn-angr,
|
||||
unique-log-filter,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "angr";
|
||||
version = "9.2.141";
|
||||
version = "9.2.144";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@@ -45,7 +47,7 @@ buildPythonPackage rec {
|
||||
owner = "angr";
|
||||
repo = "angr";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-rrJTYe3o/Ra8+EKAA7t0M02tWVN4Ul5ueUar7lpUvMg=";
|
||||
hash = "sha256-eR7Kz5EaHfavnKfP9wY6yBXb0AtT3IclarZlXqEmbRs=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "capstone" ];
|
||||
@@ -72,6 +74,7 @@ buildPythonPackage rec {
|
||||
psutil
|
||||
pycparser
|
||||
pyformlang
|
||||
pydemumble
|
||||
pyvex
|
||||
rich
|
||||
rpyc
|
||||
@@ -103,6 +106,8 @@ buildPythonPackage rec {
|
||||
"archinfo"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Powerful and user-friendly binary analysis platform";
|
||||
homepage = "https://angr.io/";
|
||||
|
||||
@@ -6,11 +6,12 @@
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "archinfo";
|
||||
version = "9.2.141";
|
||||
version = "9.2.144";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -19,7 +20,7 @@ buildPythonPackage rec {
|
||||
owner = "angr";
|
||||
repo = "archinfo";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-DRkviSduWDxps5XPdoTRL+Sy/fXrjsZjO4aeBVFjT9E=";
|
||||
hash = "sha256-6OFdXY+hpCm7duKcM4UQFFWEhQowESALRmt+96bHk9E=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -30,6 +31,8 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "archinfo" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Classes with architecture-specific information";
|
||||
homepage = "https://github.com/angr/archinfo";
|
||||
|
||||
@@ -10,11 +10,12 @@
|
||||
setuptools,
|
||||
typing-extensions,
|
||||
z3-solver,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "claripy";
|
||||
version = "9.2.141";
|
||||
version = "9.2.144";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@@ -23,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "angr";
|
||||
repo = "claripy";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-CP7U8S9JDeElR39XvcSKt3l7Um5qDJ19aJ2x9nj2+2Q=";
|
||||
hash = "sha256-ToEhFdxLr2vkmM7Wr3jvd50s1cQwfDoupD8ahIl0h2c=";
|
||||
};
|
||||
|
||||
# z3 does not provide a dist-info, so python-runtime-deps-check will fail
|
||||
@@ -45,6 +46,8 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "claripy" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python abstraction layer for constraint solvers";
|
||||
homepage = "https://github.com/angr/claripy";
|
||||
|
||||
@@ -12,11 +12,12 @@
|
||||
pyvex,
|
||||
setuptools,
|
||||
sortedcontainers,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
let
|
||||
# The binaries are following the argr projects release cycle
|
||||
version = "9.2.141";
|
||||
version = "9.2.144";
|
||||
|
||||
# Binary files from https://github.com/angr/binaries (only used for testing and only here)
|
||||
binaries = fetchFromGitHub {
|
||||
@@ -37,7 +38,7 @@ buildPythonPackage rec {
|
||||
owner = "angr";
|
||||
repo = "cle";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-1l3wiyRhUuaw2eO+34lBcS2POlJoBVBuiOY6VoglD+A=";
|
||||
hash = "sha256-q+4uf+yXlUebL5yqk3/KnhKR145NMCa79edknHYebWc=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -76,6 +77,8 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "cle" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python loader for many binary formats";
|
||||
homepage = "https://github.com/angr/cle";
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
scikit-build-core,
|
||||
cmake,
|
||||
pytestCheckHook,
|
||||
ninja,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydemumble";
|
||||
version = "0.0.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "angr";
|
||||
repo = "pydemumble";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-JAUMTOYGHu64L0zLK2dzf0poHrGGiE29WoAR5kRsR+s=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail \
|
||||
', "nanobind >=1.3.2"' \
|
||||
""
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
scikit-build-core
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pytestFlagsArray = [ "tests/" ];
|
||||
|
||||
pythonImportsCheck = [ "pydemumble" ];
|
||||
|
||||
meta = {
|
||||
description = "demumble wrapper library";
|
||||
longDescription = ''
|
||||
Python wrapper library for demumble; demumble is a tool to
|
||||
demangle C++, Rust, and Swift symbol names.
|
||||
'';
|
||||
homepage = "https://github.com/angr/pydemumble";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ pbsds ];
|
||||
};
|
||||
}
|
||||
@@ -13,14 +13,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyvex";
|
||||
version = "9.2.141";
|
||||
version = "9.2.144";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-8Z2Xy6N/P2THbi/wRoM/59XzRrwDgiOxALn7OvHY4GY=";
|
||||
hash = "sha256-jpyrE70Ocfp64GBGegkZTSZZCjDYInNj9yg0rpmpPbY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -11904,6 +11904,8 @@ self: super: with self; {
|
||||
|
||||
pydenticon = callPackage ../development/python-modules/pydenticon { };
|
||||
|
||||
pydemumble = callPackage ../development/python-modules/pydemumble { };
|
||||
|
||||
pydeps = callPackage ../development/python-modules/pydeps {
|
||||
inherit (pkgs) graphviz;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user