File tree Expand file tree Collapse file tree 8 files changed +88
-12
lines changed
development/python-modules Expand file tree Collapse file tree 8 files changed +88
-12
lines changed Original file line number Diff line number Diff line change 66 pyvex ,
77 setuptools ,
88 typing-extensions ,
9+ nix-update-script ,
910} :
1011
1112buildPythonPackage 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" ;
Original file line number Diff line number Diff line change 2222 psutil ,
2323 pycparser ,
2424 pyformlang ,
25+ pydemumble ,
2526 pythonOlder ,
2627 pyvex ,
2728 rich ,
3233 sympy ,
3334 unicorn-angr ,
3435 unique-log-filter ,
36+ nix-update-script ,
3537} :
3638
3739buildPythonPackage 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/" ;
Original file line number Diff line number Diff line change 66 pytestCheckHook ,
77 pythonOlder ,
88 setuptools ,
9+ nix-update-script ,
910} :
1011
1112buildPythonPackage 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" ;
Original file line number Diff line number Diff line change 1010 setuptools ,
1111 typing-extensions ,
1212 z3-solver ,
13+ nix-update-script ,
1314} :
1415
1516buildPythonPackage 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" ;
Original file line number Diff line number Diff line change 1212 pyvex ,
1313 setuptools ,
1414 sortedcontainers ,
15+ nix-update-script ,
1516} :
1617
1718let
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" ;
Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 1313
1414buildPythonPackage 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 ] ;
Original file line number Diff line number Diff 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 };
You can’t perform that action at this time.
0 commit comments