Update angr and dependencies
more/packages/binary.scm
65 | 65 | `(#:tests? #t | |
66 | 66 | #:python ,python-2)))) | |
67 | 67 | ||
68 | - | ||
68 | + | ;; rc required by python2-angr | |
69 | 69 | (define-public capstone | |
70 | 70 | (package | |
71 | 71 | (name "capstone") | |
72 | - | (version "3.0.4") | |
72 | + | (version "3.0.5-rc2") | |
73 | 73 | (source (origin | |
74 | 74 | (method url-fetch) | |
75 | 75 | (uri (string-append "https://github.com/aquynh/capstone/archive/" | |
… | |||
77 | 77 | (file-name (string-append name "-" version ".tar.gz")) | |
78 | 78 | (sha256 | |
79 | 79 | (base32 | |
80 | - | "1whl5c8j6vqvz2j6ay2pyszx0jg8d3x8hq66cvgghmjchvsssvax")))) | |
80 | + | "1cqms9r2p43aiwp5spd84zaccp16ih03r7sjhrv16nddahj0jz2q")))) | |
81 | 81 | (build-system gnu-build-system) | |
82 | 82 | (arguments | |
83 | 83 | `(#:tests? #f | |
84 | - | #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) | |
84 | + | #:make-flags (list (string-append "PREFIX=" %output) | |
85 | 85 | "CC=gcc") | |
86 | 86 | #:phases | |
87 | 87 | (modify-phases %standard-phases | |
88 | - | (delete 'configure)))) | |
88 | + | (delete 'configure) | |
89 | + | (add-before 'build 'fix-cstool-ldflags | |
90 | + | (lambda* (#:key outputs #:allow-other-keys) | |
91 | + | (substitute* "cstool/Makefile" | |
92 | + | (("LDFLAGS =") | |
93 | + | (string-append "LDFLAGS = -Wl,-rpath=" (assoc-ref outputs "out") | |
94 | + | "/lib")))))))) | |
89 | 95 | (home-page "http://www.capstone-engine.org") | |
90 | 96 | (synopsis "Disassembler") | |
91 | 97 | (description | |
… | |||
110 | 116 | (add-after 'unpack 'chdir-and-fix-setup-py | |
111 | 117 | (lambda _ | |
112 | 118 | (chdir "bindings/python") | |
113 | - | (substitute* "setup.py" (("data_files=.*") "")) | |
119 | + | (substitute* "setup.py" ((".* build_libraries.*") "")) | |
114 | 120 | (substitute* "capstone/__init__.py" | |
115 | - | (("_lib_path =.*") | |
116 | - | (string-append "_lib_path = '" | |
117 | - | (assoc-ref %build-inputs "capstone") | |
118 | - | "/lib'\n"))) | |
121 | + | (("pkg_resources.resource_filename.*") | |
122 | + | (string-append "'" (assoc-ref %build-inputs "capstone") "/lib',\n"))) | |
119 | 123 | #t))))))) | |
120 | 124 | ||
121 | 125 | (define-public python2-capstone | |
… | |||
152 | 156 | (define-public python2-archinfo | |
153 | 157 | (package | |
154 | 158 | (name "python2-archinfo") | |
155 | - | (version "6.7.1.13") | |
159 | + | (version "6.7.4.12") | |
156 | 160 | (source (origin | |
157 | 161 | (method url-fetch) | |
158 | 162 | (uri (pypi-uri "archinfo" version)) | |
159 | 163 | (sha256 | |
160 | 164 | (base32 | |
161 | - | "0x896mk98r6g9h3rxpqq9ri0s6v9n937jx0fzn7i61zn61n7whzw")))) | |
165 | + | "1kfc9nk73i5rr3xz8mv00cp76p7dc62h9pd8hvnda414jhx7n0pb")))) | |
162 | 166 | (build-system python-build-system) | |
163 | 167 | (arguments | |
164 | 168 | `(#:python ,python-2)) | |
… | |||
177 | 181 | (method git-fetch) | |
178 | 182 | (uri (git-reference | |
179 | 183 | (url "https://github.com/angr/vex.git") | |
180 | - | (commit "058410ede7ee74231255f6ae77cae8476c8a3ef4"))) | |
184 | + | (commit "3a620e43ecc71cb9e5470995a45bbce4a600293f"))) | |
181 | 185 | (sha256 | |
182 | 186 | (base32 | |
183 | - | "02wi1705pa0xbwfqx3jj6g7nnvzi8whgmnd29fp1i7n4qz20gcgb")) | |
187 | + | "1qxpwi9961140dnys1iywm043nbm13qg2vw9xi1bjjdh80hbnfw4")) | |
184 | 188 | (file-name (string-append name "-" version)))) | |
185 | 189 | (build-system gnu-build-system) | |
186 | 190 | (arguments | |
187 | 191 | `(#:make-flags | |
188 | - | (list "CC=gcc") | |
192 | + | (list "CC=gcc" "CC_NATIVE=gcc") | |
189 | 193 | #:tests? #f | |
190 | 194 | #:phases | |
191 | 195 | (modify-phases %standard-phases | |
192 | 196 | (delete 'configure) | |
197 | + | (add-before 'build 'get-Makefile | |
198 | + | (lambda _ | |
199 | + | (copy-file "Makefile-gcc" "Makefile"))) | |
193 | 200 | (replace 'install | |
194 | 201 | (lambda* (#:key outputs #:allow-other-keys) | |
195 | 202 | (let* ((out (assoc-ref outputs "out")) | |
… | |||
208 | 215 | (define-public python2-pyvex | |
209 | 216 | (package | |
210 | 217 | (name "python2-pyvex") | |
211 | - | (version "6.7.1.31") | |
218 | + | (version "6.7.4.12") | |
212 | 219 | (source (origin | |
213 | 220 | (method url-fetch) | |
214 | 221 | (uri (pypi-uri "pyvex" version)) | |
215 | 222 | (sha256 | |
216 | 223 | (base32 | |
217 | - | "0wwz1jqrjbkg8j7mr3wrgw84aaph7h9v2r7j4q035rn7b38n5x54")))) | |
224 | + | "1x57aq96ka7gz6qcj9zqwdcylfks4q3iiykismyk1g0vp68qlwv9")))) | |
218 | 225 | (build-system python-build-system) | |
219 | 226 | (inputs `(("angr-vex" ,angr-vex))) | |
220 | 227 | (propagated-inputs | |
… | |||
304 | 311 | (define-public python2-simuvex | |
305 | 312 | (package | |
306 | 313 | (name "python2-simuvex") | |
307 | - | (version "6.7.1.31") | |
314 | + | (version "6.7.4.12") | |
308 | 315 | (source (origin | |
309 | 316 | (method url-fetch) | |
310 | 317 | (uri (pypi-uri "simuvex" version)) | |
311 | 318 | (sha256 | |
312 | 319 | (base32 | |
313 | - | "150jwf55pib7ndz7bjb4fxifqqgdxx7n1f5qa87mz6349qvi1xji")) | |
320 | + | "03rqdk7f1ynm6p50rbl4abq6hgnfvb7qd5k26m7cyxjii09waa2x")) | |
314 | 321 | (modules '((guix build utils))) | |
315 | 322 | (snippet | |
316 | 323 | '(substitute* "setup.py" | |
… | |||
342 | 349 | (define-public python2-cle | |
343 | 350 | (package | |
344 | 351 | (name "python2-cle") | |
345 | - | (version "6.7.1.31") | |
352 | + | (version "6.7.4.12") | |
346 | 353 | (source (origin | |
347 | 354 | (method url-fetch) | |
348 | 355 | (uri (pypi-uri "cle" version)) | |
349 | 356 | (sha256 | |
350 | 357 | (base32 | |
351 | - | "0llk54f9p3b73f1pk19axlhw8yw80fdv07jkghqmqwd6xrnpnmmc")) | |
358 | + | "1fx21jx2nmc5lbz7hgpz4p7ccvzrnrcnf0wj2fbqdyjb9s0w2sfw")) | |
352 | 359 | (modules '((guix build utils))) | |
353 | 360 | (snippet | |
354 | 361 | '(substitute* "setup.py" | |
… | |||
373 | 380 | (define-public python2-angr | |
374 | 381 | (package | |
375 | 382 | (name "python2-angr") | |
376 | - | (version "6.7.1.31") | |
383 | + | (version "6.7.4.12") | |
377 | 384 | (source (origin | |
378 | 385 | (method url-fetch) | |
379 | 386 | (uri (pypi-uri "angr" version)) | |
380 | 387 | (sha256 | |
381 | 388 | (base32 | |
382 | - | "19msllsjwc869824sx1qah6vnb03z22s71fph215ykbbb2843p1k")))) | |
389 | + | "0cqqakh2drb593wcbdcq0vq3pcf1ckxwy486cg378667lrb4042i")))) | |
383 | 390 | (build-system python-build-system) | |
384 | 391 | (arguments | |
385 | 392 | `(#:python ,python-2)) |
more/packages/python.scm
75 | 75 | (define-public python-bintrees | |
76 | 76 | (package | |
77 | 77 | (name "python-bintrees") | |
78 | - | (version "2.0.4") | |
78 | + | (version "2.0.7") | |
79 | 79 | (source (origin | |
80 | 80 | (method url-fetch) | |
81 | - | (uri (pypi-uri "bintrees" version)) | |
81 | + | (uri (pypi-uri "bintrees" version ".zip")) | |
82 | 82 | (sha256 | |
83 | 83 | (base32 | |
84 | - | "1q71md58i33qpjhwgi9ph9hpgch1dy2i6n4qljyl0x410rhikfvc")))) | |
84 | + | "0w0js514awl9qwamcr71spi8mmv7q3n4mgrqrnmr9w6f09k5wrv0")))) | |
85 | 85 | (build-system python-build-system) | |
86 | + | (native-inputs `(("unzip" ,unzip))) | |
86 | 87 | (home-page "https://github.com/mozman/bintrees") | |
87 | 88 | (synopsis "Provides Binary- RedBlack- and AVL-Trees written in Python and Cython/C") | |
88 | 89 | (description "This package provides Binary- RedBlack- and AVL-Trees written | |
… | |||
99 | 100 | (define-public python2-dpkt | |
100 | 101 | (package | |
101 | 102 | (name "python2-dpkt") | |
102 | - | (version "1.8.8") | |
103 | + | (version "1.9.1") | |
103 | 104 | (source (origin | |
104 | 105 | (method url-fetch) | |
105 | 106 | (uri (pypi-uri "dpkt" version)) | |
106 | 107 | (sha256 | |
107 | 108 | (base32 | |
108 | - | "004qsqzg3fwkh623l1y8j62ai166hr02y192s7n1hs166kjjb5fr")) | |
109 | + | "0rr9ygczhxkfb61778jx0cxs0sq46zwlcj5l3wn6xmd3iy3yx9y6")) | |
109 | 110 | (modules '((guix build utils))) | |
110 | 111 | (snippet | |
111 | 112 | '(substitute* "setup.py" | |
… | |||
185 | 186 | (define-public python-progressbar2 | |
186 | 187 | (package | |
187 | 188 | (name "python-progressbar2") | |
188 | - | (version "3.12.0") | |
189 | + | (version "3.20.0") | |
189 | 190 | (source (origin | |
190 | 191 | (method url-fetch) | |
191 | 192 | (uri (pypi-uri "progressbar2" version)) | |
192 | 193 | (sha256 | |
193 | 194 | (base32 | |
194 | - | "16r21cpjvv0spf4mymgpy7hx6977iy11k44n2w9kipwg4lhwh02k")))) | |
195 | + | "1xz5l3598bl2r1j8h6dqljbjf44f2d137ppi0l381adz4zd38vd1")))) | |
195 | 196 | (build-system python-build-system) | |
196 | 197 | (native-inputs | |
197 | 198 | `(("pytest-runner" ,python-pytest-runner) |
more/packages/smt.scm
87 | 87 | (define-public python2-claripy | |
88 | 88 | (package | |
89 | 89 | (name "python2-claripy") | |
90 | - | (version "6.7.1.31") | |
90 | + | (version "6.7.4.12") | |
91 | 91 | (source (origin | |
92 | 92 | (method url-fetch) | |
93 | 93 | (uri (pypi-uri "claripy" version)) | |
94 | 94 | (sha256 | |
95 | 95 | (base32 | |
96 | - | "0jpnqggx40kfj9cc48aylxsaqy61isl2yb3agib8nqh9v4j1rwqa")) | |
96 | + | "0w6f2jvqajmw1mmdbdzvvs71fsv62z73w0q6jz3sap7mhlwj3vrd")) | |
97 | 97 | (modules '((guix build utils))) | |
98 | 98 | (snippet | |
99 | 99 | `(substitute* "setup.py" |