update binary.scm

Julien LepillerSat Jan 27 13:46:20+0100 2018

8d679b5

update binary.scm

more/packages/binary.scm

178178
(define-public python-pefile
179179
  (package
180180
    (name "python-pefile")
181-
    (version "2016.3.28")
181+
    (version "2017.11.5")
182182
    (source
183183
      (origin
184184
        (method url-fetch)
185185
        (uri (pypi-uri "pefile" version))
186186
        (sha256
187187
         (base32
188-
          "0ysz17ci0nhc5gi6j9si0fg87lzc7vcz3ccbi6qgfgjwbc422h7j"))))
188+
          "0m2q0bdjdlf6lbidb33y43k3ikzjgy58vx6jh2gdnxqn1vp3ap37"))))
189189
    (build-system python-build-system)
190190
    (arguments
191191
     `(#:tests? #f)); no test

206206
(define-public python2-archinfo
207207
  (package
208208
    (name "python2-archinfo")
209-
    (version "6.7.7.27")
209+
    (version "7.7.12.16")
210210
    (source (origin
211211
              (method url-fetch)
212212
              (uri (pypi-uri "archinfo" version))
213213
              (sha256
214214
               (base32
215-
                "1amcavk8x9xch18sfzbla5sgas955clj06g6hx20n47q87bw22vz"))))
215+
                "0xlgq1qnsrqywv43ij54k6ciyxmwf0krygsqdq13x3a6gd02a85l"))))
216216
    (build-system python-build-system)
217217
    (arguments
218218
     `(#:python ,python-2))

226226
(define-public angr-vex
227227
  (package
228228
    (name "angr-vex")
229-
    (version "20170130")
229+
    (version "0.20180104")
230230
    (source (origin
231231
              (method git-fetch)
232232
              (uri (git-reference
233233
                    (url "https://github.com/angr/vex.git")
234-
                    (commit "fc6a0b1187cd614e97e204046b4d4be482e7ab3f")))
234+
                    (commit "7394e917fc86c8f042d8ce51a609810a97c20fd7")))
235235
              (sha256
236236
               (base32
237-
                "1qfv5j2hpvh5mv8mschrcd5sga4h910iggppr2g8jr6k9r3x725i"))
237+
                "1fw97l9wqirny0p2x0d1xr475b05s4zbq0hd0sip7q7f15claiy0"))
238238
              (file-name (string-append name "-" version))))
239239
    (build-system gnu-build-system)
240240
    (arguments

265265
(define-public python2-pyvex
266266
  (package
267267
    (name "python2-pyvex")
268-
    (version "6.7.7.27")
268+
    (version "7.7.12.16")
269269
    (source (origin
270270
              (method url-fetch)
271271
              (uri (pypi-uri "pyvex" version))
272272
              (sha256
273273
               (base32
274-
                "1bqag7hb1ysrq9hb31cn8l7b8ad91rfw52bm3kh9gbma8rmxi0hl"))))
274+
                "1jn4ivs75vs2x7fsmbyy0pbcspjff0h1vlw463kz9qf9ppr7fshc"))))
275275
    (build-system python-build-system)
276276
    (inputs `(("angr-vex" ,angr-vex)))
277277
    (propagated-inputs
278278
     `(("archinfo" ,python2-archinfo)
279279
       ("pycparser" ,python2-pycparser)
280280
       ("cffi" ,python2-cffi)))
281+
    (native-inputs
282+
     `(("python2-bitstring" ,python2-bitstring)))
281283
    (arguments
282284
     `(#:python ,python-2
283285
       #:phases

360362
(define-public python2-simuvex
361363
  (package
362364
    (name "python2-simuvex")
363-
    (version "6.7.7.27")
365+
    (version "7.7.9.8")
364366
    (source (origin
365367
              (method url-fetch)
366368
              (uri (pypi-uri "simuvex" version))
367369
              (sha256
368370
               (base32
369-
                "1awc078861x7nj44g3x1p3mjdc3fhz85gqgx7rfk6918s6nbx848"))
371+
                "02485bb8cl3q2yrd42mgd6nnbx915y8xqz7fmb03wkj7alzm58pr"))
370372
              (modules '((guix build utils)))
371373
              (snippet
372374
               '(substitute* "setup.py"

387389
    (inputs
388390
     `(("zlib" ,zlib)))
389391
    (arguments
390-
     `(#:python ,python-2))
392+
     `(#:python ,python-2
393+
       ;; Simuvex requires angr to be tested
394+
       #:tests? #f))
391395
    (home-page "https://github.com/angr/cle")
392396
    (synopsis "Abstraction of process memory")
393397
    (description "CLE loads binaries and their associated libraries, resolves

398402
(define-public python2-cle
399403
  (package
400404
    (name "python2-cle")
401-
    (version "6.7.7.27")
405+
    (version "7.7.12.16")
402406
    (source (origin
403407
              (method url-fetch)
404408
              (uri (pypi-uri "cle" version))
405409
              (sha256
406410
               (base32
407-
                "0x4cyl1qkhwj18860nhxdylzaxq45264jv4449cl0vl6y23lbk8v"))
411+
                "04q15iflmapvm47vx4wblvmnj4hzg69hn2zd6h5wzkccgnkchb25"))
408412
              (modules '((guix build utils)))
409413
              (snippet
410414
               '(substitute* "setup.py"
411-
                  ((", \"idalink\"") ""))))); Idalink is not acceptable
415+
                  (("'idalink',") ""))))); Idalink is not acceptable
412416
    (build-system python-build-system)
413417
    (propagated-inputs
414418
     `(("pyelftools" ,python2-pyelftools)

417421
       ("future" ,python2-future)
418422
       ("pyvex" ,python2-pyvex)
419423
       ("pefile" ,python2-pefile)))
424+
    (native-inputs
425+
     `(("python2-bitstring" ,python2-bitstring)))
420426
    (arguments
421427
     `(#:python ,python-2))
422428
    (home-page "https://github.com/angr/cle")

429435
(define-public python2-angr
430436
  (package
431437
    (name "python2-angr")
432-
    (version "6.7.7.27")
438+
    (version "7.7.12.16")
433439
    (source (origin
434440
              (method url-fetch)
435441
              (uri (pypi-uri "angr" version))
436442
              (sha256
437443
               (base32
438-
                "1k9vr9kds956jqyv126fc57ygly400jhhga98ms8clr4m3k3xlzn"))))
444+
                "177z45ki580dphmrpsv2ln1249n8jcjf7mjl8ymjcki5yzan26yy"))))
439445
    (build-system python-build-system)
440446
    (arguments
441-
     `(#:python ,python-2))
447+
     `(#:python ,python-2
448+
       ;; Tests require pygit 0.1
449+
       #:tests? #f))
442450
    (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)))
454463
    (home-page "https://github.com/angr/angr")
455464
    (synopsis "Angr is a python framework for analyzing binaries")
456465
    (description "angr is a python framework for analyzing binaries.  It

more/packages/python.scm

638638
639639
(define-public python2-web.py
640640
  (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))