Skip to content

Commit 6dfe2ad

Browse files
authored
python312Packages.angr: 9.2.141 -> 9.2.144 (#385864)
2 parents d991411 + 1b93100 commit 6dfe2ad

File tree

8 files changed

+88
-12
lines changed

8 files changed

+88
-12
lines changed

pkgs/development/python-modules/ailment/default.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
pyvex,
77
setuptools,
88
typing-extensions,
9+
nix-update-script,
910
}:
1011

1112
buildPythonPackage rec {
1213
pname = "ailment";
13-
version = "9.2.141";
14+
version = "9.2.144";
1415
pyproject = true;
1516

1617
disabled = pythonOlder "3.11";
@@ -19,7 +20,7 @@ buildPythonPackage rec {
1920
owner = "angr";
2021
repo = "ailment";
2122
tag = "v${version}";
22-
hash = "sha256-TNwqf5MMqIaugOEiB0CQKAPI7AvjKTp9zJocc4GUvpg=";
23+
hash = "sha256-ZA/XSKp6Xn1mciVMJ/FVHdz0Orstx1ib2feBtIfGLa0=";
2324
};
2425

2526
build-system = [ setuptools ];
@@ -34,6 +35,8 @@ buildPythonPackage rec {
3435

3536
pythonImportsCheck = [ "ailment" ];
3637

38+
passthru.updateScript = nix-update-script { };
39+
3740
meta = with lib; {
3841
description = "Angr Intermediate Language";
3942
homepage = "https://github.com/angr/ailment";

pkgs/development/python-modules/angr/default.nix

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
psutil,
2323
pycparser,
2424
pyformlang,
25+
pydemumble,
2526
pythonOlder,
2627
pyvex,
2728
rich,
@@ -32,11 +33,12 @@
3233
sympy,
3334
unicorn-angr,
3435
unique-log-filter,
36+
nix-update-script,
3537
}:
3638

3739
buildPythonPackage rec {
3840
pname = "angr";
39-
version = "9.2.141";
41+
version = "9.2.144";
4042
pyproject = true;
4143

4244
disabled = pythonOlder "3.11";
@@ -45,7 +47,7 @@ buildPythonPackage rec {
4547
owner = "angr";
4648
repo = "angr";
4749
tag = "v${version}";
48-
hash = "sha256-rrJTYe3o/Ra8+EKAA7t0M02tWVN4Ul5ueUar7lpUvMg=";
50+
hash = "sha256-eR7Kz5EaHfavnKfP9wY6yBXb0AtT3IclarZlXqEmbRs=";
4951
};
5052

5153
pythonRelaxDeps = [ "capstone" ];
@@ -72,6 +74,7 @@ buildPythonPackage rec {
7274
psutil
7375
pycparser
7476
pyformlang
77+
pydemumble
7578
pyvex
7679
rich
7780
rpyc
@@ -103,6 +106,8 @@ buildPythonPackage rec {
103106
"archinfo"
104107
];
105108

109+
passthru.updateScript = nix-update-script { };
110+
106111
meta = with lib; {
107112
description = "Powerful and user-friendly binary analysis platform";
108113
homepage = "https://angr.io/";

pkgs/development/python-modules/archinfo/default.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
pytestCheckHook,
77
pythonOlder,
88
setuptools,
9+
nix-update-script,
910
}:
1011

1112
buildPythonPackage rec {
1213
pname = "archinfo";
13-
version = "9.2.141";
14+
version = "9.2.144";
1415
pyproject = true;
1516

1617
disabled = pythonOlder "3.8";
@@ -19,7 +20,7 @@ buildPythonPackage rec {
1920
owner = "angr";
2021
repo = "archinfo";
2122
tag = "v${version}";
22-
hash = "sha256-DRkviSduWDxps5XPdoTRL+Sy/fXrjsZjO4aeBVFjT9E=";
23+
hash = "sha256-6OFdXY+hpCm7duKcM4UQFFWEhQowESALRmt+96bHk9E=";
2324
};
2425

2526
build-system = [ setuptools ];
@@ -30,6 +31,8 @@ buildPythonPackage rec {
3031

3132
pythonImportsCheck = [ "archinfo" ];
3233

34+
passthru.updateScript = nix-update-script { };
35+
3336
meta = with lib; {
3437
description = "Classes with architecture-specific information";
3538
homepage = "https://github.com/angr/archinfo";

pkgs/development/python-modules/claripy/default.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010
setuptools,
1111
typing-extensions,
1212
z3-solver,
13+
nix-update-script,
1314
}:
1415

1516
buildPythonPackage rec {
1617
pname = "claripy";
17-
version = "9.2.141";
18+
version = "9.2.144";
1819
pyproject = true;
1920

2021
disabled = pythonOlder "3.11";
@@ -23,7 +24,7 @@ buildPythonPackage rec {
2324
owner = "angr";
2425
repo = "claripy";
2526
tag = "v${version}";
26-
hash = "sha256-CP7U8S9JDeElR39XvcSKt3l7Um5qDJ19aJ2x9nj2+2Q=";
27+
hash = "sha256-ToEhFdxLr2vkmM7Wr3jvd50s1cQwfDoupD8ahIl0h2c=";
2728
};
2829

2930
# z3 does not provide a dist-info, so python-runtime-deps-check will fail
@@ -45,6 +46,8 @@ buildPythonPackage rec {
4546

4647
pythonImportsCheck = [ "claripy" ];
4748

49+
passthru.updateScript = nix-update-script { };
50+
4851
meta = with lib; {
4952
description = "Python abstraction layer for constraint solvers";
5053
homepage = "https://github.com/angr/claripy";

pkgs/development/python-modules/cle/default.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@
1212
pyvex,
1313
setuptools,
1414
sortedcontainers,
15+
nix-update-script,
1516
}:
1617

1718
let
1819
# The binaries are following the argr projects release cycle
19-
version = "9.2.141";
20+
version = "9.2.144";
2021

2122
# Binary files from https://github.com/angr/binaries (only used for testing and only here)
2223
binaries = fetchFromGitHub {
@@ -37,7 +38,7 @@ buildPythonPackage rec {
3738
owner = "angr";
3839
repo = "cle";
3940
rev = "refs/tags/v${version}";
40-
hash = "sha256-1l3wiyRhUuaw2eO+34lBcS2POlJoBVBuiOY6VoglD+A=";
41+
hash = "sha256-q+4uf+yXlUebL5yqk3/KnhKR145NMCa79edknHYebWc=";
4142
};
4243

4344
build-system = [ setuptools ];
@@ -76,6 +77,8 @@ buildPythonPackage rec {
7677

7778
pythonImportsCheck = [ "cle" ];
7879

80+
passthru.updateScript = nix-update-script { };
81+
7982
meta = with lib; {
8083
description = "Python loader for many binary formats";
8184
homepage = "https://github.com/angr/cle";
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
scikit-build-core,
6+
cmake,
7+
pytestCheckHook,
8+
ninja,
9+
}:
10+
11+
buildPythonPackage rec {
12+
pname = "pydemumble";
13+
version = "0.0.1";
14+
pyproject = true;
15+
16+
src = fetchFromGitHub {
17+
owner = "angr";
18+
repo = "pydemumble";
19+
tag = "v${version}";
20+
hash = "sha256-JAUMTOYGHu64L0zLK2dzf0poHrGGiE29WoAR5kRsR+s=";
21+
fetchSubmodules = true;
22+
};
23+
24+
postPatch = ''
25+
substituteInPlace pyproject.toml \
26+
--replace-fail \
27+
', "nanobind >=1.3.2"' \
28+
""
29+
'';
30+
31+
build-system = [
32+
scikit-build-core
33+
];
34+
35+
dontUseCmakeConfigure = true;
36+
nativeBuildInputs = [
37+
cmake
38+
ninja
39+
];
40+
41+
nativeCheckInputs = [ pytestCheckHook ];
42+
43+
pytestFlagsArray = [ "tests/" ];
44+
45+
pythonImportsCheck = [ "pydemumble" ];
46+
47+
meta = {
48+
description = "demumble wrapper library";
49+
longDescription = ''
50+
Python wrapper library for demumble; demumble is a tool to
51+
demangle C++, Rust, and Swift symbol names.
52+
'';
53+
homepage = "https://github.com/angr/pydemumble";
54+
license = lib.licenses.bsd2;
55+
maintainers = with lib.maintainers; [ pbsds ];
56+
};
57+
}

pkgs/development/python-modules/pyvex/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313

1414
buildPythonPackage rec {
1515
pname = "pyvex";
16-
version = "9.2.141";
16+
version = "9.2.144";
1717
pyproject = true;
1818

1919
disabled = pythonOlder "3.11";
2020

2121
src = fetchPypi {
2222
inherit pname version;
23-
hash = "sha256-8Z2Xy6N/P2THbi/wRoM/59XzRrwDgiOxALn7OvHY4GY=";
23+
hash = "sha256-jpyrE70Ocfp64GBGegkZTSZZCjDYInNj9yg0rpmpPbY=";
2424
};
2525

2626
build-system = [ setuptools ];

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11904,6 +11904,8 @@ self: super: with self; {
1190411904

1190511905
pydenticon = callPackage ../development/python-modules/pydenticon { };
1190611906

11907+
pydemumble = callPackage ../development/python-modules/pydemumble { };
11908+
1190711909
pydeps = callPackage ../development/python-modules/pydeps {
1190811910
inherit (pkgs) graphviz;
1190911911
};

0 commit comments

Comments
 (0)