update binary.scm
more/packages/binary.scm
| 178 | 178 | (define-public python-pefile | |
| 179 | 179 | (package | |
| 180 | 180 | (name "python-pefile") | |
| 181 | - | (version "2016.3.28") | |
| 181 | + | (version "2017.11.5") | |
| 182 | 182 | (source | |
| 183 | 183 | (origin | |
| 184 | 184 | (method url-fetch) | |
| 185 | 185 | (uri (pypi-uri "pefile" version)) | |
| 186 | 186 | (sha256 | |
| 187 | 187 | (base32 | |
| 188 | - | "0ysz17ci0nhc5gi6j9si0fg87lzc7vcz3ccbi6qgfgjwbc422h7j")))) | |
| 188 | + | "0m2q0bdjdlf6lbidb33y43k3ikzjgy58vx6jh2gdnxqn1vp3ap37")))) | |
| 189 | 189 | (build-system python-build-system) | |
| 190 | 190 | (arguments | |
| 191 | 191 | `(#:tests? #f)); no test | |
… | |||
| 206 | 206 | (define-public python2-archinfo | |
| 207 | 207 | (package | |
| 208 | 208 | (name "python2-archinfo") | |
| 209 | - | (version "6.7.7.27") | |
| 209 | + | (version "7.7.12.16") | |
| 210 | 210 | (source (origin | |
| 211 | 211 | (method url-fetch) | |
| 212 | 212 | (uri (pypi-uri "archinfo" version)) | |
| 213 | 213 | (sha256 | |
| 214 | 214 | (base32 | |
| 215 | - | "1amcavk8x9xch18sfzbla5sgas955clj06g6hx20n47q87bw22vz")))) | |
| 215 | + | "0xlgq1qnsrqywv43ij54k6ciyxmwf0krygsqdq13x3a6gd02a85l")))) | |
| 216 | 216 | (build-system python-build-system) | |
| 217 | 217 | (arguments | |
| 218 | 218 | `(#:python ,python-2)) | |
… | |||
| 226 | 226 | (define-public angr-vex | |
| 227 | 227 | (package | |
| 228 | 228 | (name "angr-vex") | |
| 229 | - | (version "20170130") | |
| 229 | + | (version "0.20180104") | |
| 230 | 230 | (source (origin | |
| 231 | 231 | (method git-fetch) | |
| 232 | 232 | (uri (git-reference | |
| 233 | 233 | (url "https://github.com/angr/vex.git") | |
| 234 | - | (commit "fc6a0b1187cd614e97e204046b4d4be482e7ab3f"))) | |
| 234 | + | (commit "7394e917fc86c8f042d8ce51a609810a97c20fd7"))) | |
| 235 | 235 | (sha256 | |
| 236 | 236 | (base32 | |
| 237 | - | "1qfv5j2hpvh5mv8mschrcd5sga4h910iggppr2g8jr6k9r3x725i")) | |
| 237 | + | "1fw97l9wqirny0p2x0d1xr475b05s4zbq0hd0sip7q7f15claiy0")) | |
| 238 | 238 | (file-name (string-append name "-" version)))) | |
| 239 | 239 | (build-system gnu-build-system) | |
| 240 | 240 | (arguments | |
… | |||
| 265 | 265 | (define-public python2-pyvex | |
| 266 | 266 | (package | |
| 267 | 267 | (name "python2-pyvex") | |
| 268 | - | (version "6.7.7.27") | |
| 268 | + | (version "7.7.12.16") | |
| 269 | 269 | (source (origin | |
| 270 | 270 | (method url-fetch) | |
| 271 | 271 | (uri (pypi-uri "pyvex" version)) | |
| 272 | 272 | (sha256 | |
| 273 | 273 | (base32 | |
| 274 | - | "1bqag7hb1ysrq9hb31cn8l7b8ad91rfw52bm3kh9gbma8rmxi0hl")))) | |
| 274 | + | "1jn4ivs75vs2x7fsmbyy0pbcspjff0h1vlw463kz9qf9ppr7fshc")))) | |
| 275 | 275 | (build-system python-build-system) | |
| 276 | 276 | (inputs `(("angr-vex" ,angr-vex))) | |
| 277 | 277 | (propagated-inputs | |
| 278 | 278 | `(("archinfo" ,python2-archinfo) | |
| 279 | 279 | ("pycparser" ,python2-pycparser) | |
| 280 | 280 | ("cffi" ,python2-cffi))) | |
| 281 | + | (native-inputs | |
| 282 | + | `(("python2-bitstring" ,python2-bitstring))) | |
| 281 | 283 | (arguments | |
| 282 | 284 | `(#:python ,python-2 | |
| 283 | 285 | #:phases | |
… | |||
| 360 | 362 | (define-public python2-simuvex | |
| 361 | 363 | (package | |
| 362 | 364 | (name "python2-simuvex") | |
| 363 | - | (version "6.7.7.27") | |
| 365 | + | (version "7.7.9.8") | |
| 364 | 366 | (source (origin | |
| 365 | 367 | (method url-fetch) | |
| 366 | 368 | (uri (pypi-uri "simuvex" version)) | |
| 367 | 369 | (sha256 | |
| 368 | 370 | (base32 | |
| 369 | - | "1awc078861x7nj44g3x1p3mjdc3fhz85gqgx7rfk6918s6nbx848")) | |
| 371 | + | "02485bb8cl3q2yrd42mgd6nnbx915y8xqz7fmb03wkj7alzm58pr")) | |
| 370 | 372 | (modules '((guix build utils))) | |
| 371 | 373 | (snippet | |
| 372 | 374 | '(substitute* "setup.py" | |
… | |||
| 387 | 389 | (inputs | |
| 388 | 390 | `(("zlib" ,zlib))) | |
| 389 | 391 | (arguments | |
| 390 | - | `(#:python ,python-2)) | |
| 392 | + | `(#:python ,python-2 | |
| 393 | + | ;; Simuvex requires angr to be tested | |
| 394 | + | #:tests? #f)) | |
| 391 | 395 | (home-page "https://github.com/angr/cle") | |
| 392 | 396 | (synopsis "Abstraction of process memory") | |
| 393 | 397 | (description "CLE loads binaries and their associated libraries, resolves | |
… | |||
| 398 | 402 | (define-public python2-cle | |
| 399 | 403 | (package | |
| 400 | 404 | (name "python2-cle") | |
| 401 | - | (version "6.7.7.27") | |
| 405 | + | (version "7.7.12.16") | |
| 402 | 406 | (source (origin | |
| 403 | 407 | (method url-fetch) | |
| 404 | 408 | (uri (pypi-uri "cle" version)) | |
| 405 | 409 | (sha256 | |
| 406 | 410 | (base32 | |
| 407 | - | "0x4cyl1qkhwj18860nhxdylzaxq45264jv4449cl0vl6y23lbk8v")) | |
| 411 | + | "04q15iflmapvm47vx4wblvmnj4hzg69hn2zd6h5wzkccgnkchb25")) | |
| 408 | 412 | (modules '((guix build utils))) | |
| 409 | 413 | (snippet | |
| 410 | 414 | '(substitute* "setup.py" | |
| 411 | - | ((", \"idalink\"") ""))))); Idalink is not acceptable | |
| 415 | + | (("'idalink',") ""))))); Idalink is not acceptable | |
| 412 | 416 | (build-system python-build-system) | |
| 413 | 417 | (propagated-inputs | |
| 414 | 418 | `(("pyelftools" ,python2-pyelftools) | |
… | |||
| 417 | 421 | ("future" ,python2-future) | |
| 418 | 422 | ("pyvex" ,python2-pyvex) | |
| 419 | 423 | ("pefile" ,python2-pefile))) | |
| 424 | + | (native-inputs | |
| 425 | + | `(("python2-bitstring" ,python2-bitstring))) | |
| 420 | 426 | (arguments | |
| 421 | 427 | `(#:python ,python-2)) | |
| 422 | 428 | (home-page "https://github.com/angr/cle") | |
… | |||
| 429 | 435 | (define-public python2-angr | |
| 430 | 436 | (package | |
| 431 | 437 | (name "python2-angr") | |
| 432 | - | (version "6.7.7.27") | |
| 438 | + | (version "7.7.12.16") | |
| 433 | 439 | (source (origin | |
| 434 | 440 | (method url-fetch) | |
| 435 | 441 | (uri (pypi-uri "angr" version)) | |
| 436 | 442 | (sha256 | |
| 437 | 443 | (base32 | |
| 438 | - | "1k9vr9kds956jqyv126fc57ygly400jhhga98ms8clr4m3k3xlzn")))) | |
| 444 | + | "177z45ki580dphmrpsv2ln1249n8jcjf7mjl8ymjcki5yzan26yy")))) | |
| 439 | 445 | (build-system python-build-system) | |
| 440 | 446 | (arguments | |
| 441 | - | `(#:python ,python-2)) | |
| 447 | + | `(#:python ,python-2 | |
| 448 | + | ;; Tests require pygit 0.1 | |
| 449 | + | #:tests? #f)) | |
| 442 | 450 | (propagated-inputs | |
| 443 | - | `(("cle" ,python2-cle) | |
| 444 | - | ("capstone" ,python2-capstone) | |
| 445 | - | ("six" ,python2-six) | |
| 446 | - | ("utils" ,python2-utils) | |
| 447 | - | ("mulpyplexer" ,python2-mulpyplexer) | |
| 448 | - | ("rpyc" ,python2-rpyc) | |
| 449 | - | ("enum34" ,python2-enum34) | |
| 450 | - | ("networkx" ,python2-networkx) | |
| 451 | - | ("futures" ,python2-futures) | |
| 452 | - | ("progressbar" ,python2-progressbar2) | |
| 453 | - | ("simuvex" ,python2-simuvex))) | |
| 451 | + | `(("python2-bitstring" ,python2-bitstring) | |
| 452 | + | ("python2-cle" ,python2-cle) | |
| 453 | + | ("python2-capstone" ,python2-capstone) | |
| 454 | + | ("python2-six" ,python2-six) | |
| 455 | + | ("python2-utils" ,python2-utils) | |
| 456 | + | ("python2-mulpyplexer" ,python2-mulpyplexer) | |
| 457 | + | ("python2-rpyc" ,python2-rpyc) | |
| 458 | + | ("python2-enum34" ,python2-enum34) | |
| 459 | + | ("python2-networkx" ,python2-networkx) | |
| 460 | + | ("python2-futures" ,python2-futures) | |
| 461 | + | ("python2-progressbar" ,python2-progressbar2) | |
| 462 | + | ("python2-simuvex" ,python2-simuvex))) | |
| 454 | 463 | (home-page "https://github.com/angr/angr") | |
| 455 | 464 | (synopsis "Angr is a python framework for analyzing binaries") | |
| 456 | 465 | (description "angr is a python framework for analyzing binaries. It | |
more/packages/python.scm
| 638 | 638 | ||
| 639 | 639 | (define-public python2-web.py | |
| 640 | 640 | (package-with-python2 python-web.py)) | |
| 641 | + | ||
| 642 | + | (define-public python-bitstring | |
| 643 | + | (package | |
| 644 | + | (name "python-bitstring") | |
| 645 | + | (version "3.1.5") | |
| 646 | + | (source (origin | |
| 647 | + | (method url-fetch) | |
| 648 | + | (uri (pypi-uri "bitstring" version ".zip")) | |
| 649 | + | (sha256 | |
| 650 | + | (base32 | |
| 651 | + | "1algq30j6rz12b1902bpw7iijx5lhrfqhl80d4ac6xzkrrpshqy1")))) | |
| 652 | + | (build-system python-build-system) | |
| 653 | + | (native-inputs | |
| 654 | + | `(("unzip" ,unzip))) | |
| 655 | + | (home-page "https://github.com/scott-griffiths/bitstring") | |
| 656 | + | (synopsis "Simple construction, analysis and modification of binary data") | |
| 657 | + | (description "Bitstring is a pure Python module designed to help make the | |
| 658 | + | creation and analysis of binary data as simple and natural as possible. | |
| 659 | + | ||
| 660 | + | Bitstrings can be constructed from integers (big and little endian), hex, octal, | |
| 661 | + | binary, strings or files. They can be sliced, joined, reversed, inserted into, | |
| 662 | + | overwritten, etc. They can also be read from, searched and replaced, and | |
| 663 | + | navigated in, similar to a file or stream.") | |
| 664 | + | (license license:expat))) | |
| 665 | + | ||
| 666 | + | (define-public python2-bitstring | |
| 667 | + | (package-with-python2 python-bitstring)) |