Add wormhole

Julien LepillerTue Oct 23 11:29:28+0200 2018

cffb101

Add wormhole

more/packages/python.scm

2525
  #:use-module (gnu packages compression)
2626
  #:use-module (gnu packages databases)
2727
  #:use-module (gnu packages enchant)
28+
  #:use-module (gnu packages libffi)
2829
  #:use-module (gnu packages libreoffice)
2930
  #:use-module (gnu packages maths)
3031
  #:use-module (gnu packages networking)

3536
  #:use-module (gnu packages serialization)
3637
  #:use-module (gnu packages time)
3738
  #:use-module (gnu packages tls)
39+
  #:use-module (gnu packages web)
3840
  #:use-module (guix packages)
3941
  #:use-module (guix download)
4042
  #:use-module (guix git-download)

765767
    (synopsis "")
766768
    (description "")
767769
    (license license:gpl3+)))
770+
771+
(define-public python-zope.interface
772+
  (package
773+
    (name "python-zope.interface")
774+
    (version "4.5.0")
775+
    (source
776+
      (origin
777+
        (method url-fetch)
778+
        (uri (pypi-uri "zope.interface" version))
779+
        (sha256
780+
          (base32
781+
            "0k67m60ij06wkg82n15qgyn96waf4pmrkhv0njpkfzpmv5q89hsp"))))
782+
    (build-system python-build-system)
783+
    (arguments
784+
     `(#:tests? #f))
785+
    (home-page
786+
      "https://github.com/zopefoundation/zope.interface")
787+
    (synopsis "Interfaces for Python")
788+
    (description "Interfaces for Python")
789+
    (license #f)))
790+
791+
(define-public python-hkdf
792+
  (package
793+
    (name "python-hkdf")
794+
    (version "0.0.3")
795+
    (source (origin
796+
              (method url-fetch)
797+
              (uri (pypi-uri "hkdf" version))
798+
              (sha256
799+
               (base32
800+
                "1jhxk5vhxmxxjp3zj526ry521v9inzzl8jqaaf0ma65w6k332ak2"))))
801+
    (build-system python-build-system)
802+
    (native-inputs
803+
     `(("python-nose" ,python-nose)))
804+
    (home-page
805+
      "https://github.com/casebeer/python-hkdf")
806+
    (synopsis
807+
      "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)")
808+
    (description
809+
      "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)")
810+
    (license #f)))
811+
812+
(define-public python-geoip
813+
  (package
814+
    (name "python-geoip")
815+
    (version "1.3.2")
816+
    (source (origin
817+
              (method url-fetch)
818+
              (uri (pypi-uri "geoip" version))
819+
              (sha256
820+
               (base32
821+
                "1rphxf3vrn8wywjgr397f49s0s22m83lpwcq45lm0h2p45mdm458"))))
822+
    (build-system python-build-system)
823+
    (home-page "http://www.maxmind.com/")
824+
    (synopsis
825+
      "MaxMind GeoIP Legacy Database - Python API")
826+
    (description
827+
      "MaxMind GeoIP Legacy Database - Python API")
828+
    (license #f)))
829+
830+
(define-public python-hyperlink
831+
  (package
832+
    (name "python-hyperlink")
833+
    (version "18.0.0")
834+
    (source
835+
      (origin
836+
        (method url-fetch)
837+
        (uri (pypi-uri "hyperlink" version))
838+
        (sha256
839+
          (base32
840+
            "01m3y19arfqljksngy8grc966zdb4larysralb8cajzi8kvly6zh"))))
841+
    (build-system python-build-system)
842+
    (propagated-inputs
843+
      `(("python-idna" ,python-idna)))
844+
    (home-page
845+
      "https://github.com/python-hyper/hyperlink")
846+
    (synopsis
847+
      "A featureful, immutable, and correct URL for Python.")
848+
    (description
849+
      "A featureful, immutable, and correct URL for Python.")
850+
    (license license:expat)))
851+
852+
(define-public python-twisted-for-wormhole
853+
  (package
854+
    (inherit python-twisted)
855+
    (name "python-twisted")
856+
    (version "18.9.0")
857+
    (source (origin
858+
              (method url-fetch)
859+
              (uri (pypi-uri "Twisted" version ".tar.bz2"))
860+
              (sha256
861+
               (base32
862+
                "15d3gmkrg8g27hyd6ihawv2y2dv5gnpyg67wy9npgbl4pz3f4jr9"))))
863+
    (propagated-inputs
864+
     `(("python-pyhamcrest" ,python-pyhamcrest)
865+
       ("python-service-identity" ,python-service-identity)
866+
       ("python-hyperlink" ,python-hyperlink)
867+
       ,@(package-propagated-inputs python-twisted)))))
868+
869+
(define-public python-txaio
870+
  (package
871+
    (name "python-txaio")
872+
    (version "18.8.1")
873+
    (source
874+
      (origin
875+
        (method url-fetch)
876+
        (uri (pypi-uri "txaio" version))
877+
        (sha256
878+
          (base32
879+
            "1zmpdph6zddgrnkkcykh6qk5s46l7s5mzfqrh82m4b5iffn61qv7"))))
880+
    (build-system python-build-system)
881+
    (propagated-inputs
882+
      `(;("python-[all]" ,#{python-\x5b;all\x5d;}#)
883+
        ;("python-[asyncio]"
884+
        ; ,#{python-\x5b;asyncio\x5d;}#)
885+
        ;("python-[dev]" ,#{python-\x5b;dev\x5d;}#)
886+
        ;("python-[twisted]"
887+
        ; ,#{python-\x5b;twisted\x5d;}#)
888+
        ("python-mock" ,python-mock)
889+
        ("python-pep8" ,python-pep8)
890+
        ("python-pyenchant" ,python-pyenchant)
891+
        ("python-pytest" ,python-pytest)
892+
        ("python-pytest-cov" ,python-pytest-cov)
893+
        ("python-six" ,python-six)
894+
        ("python-sphinx" ,python-sphinx)
895+
        ;("python-sphinx-rtd-theme"
896+
        ; ,python-sphinx-rtd-theme)
897+
        ;("python-sphinxcontrib-spelling"
898+
        ; ,python-sphinxcontrib-spelling)
899+
        ("python-tox" ,python-tox)
900+
        ("python-twine" ,python-twine)
901+
        ("python-twisted" ,python-twisted)
902+
        ("python-wheel" ,python-wheel)
903+
        ("python-zope.interface" ,python-zope.interface)))
904+
    (home-page "https://github.com/crossbario/txaio")
905+
    (synopsis
906+
      "Compatibility API between asyncio/Twisted/Trollius")
907+
    (description
908+
      "Compatibility API between asyncio/Twisted/Trollius")
909+
    (license #f)))
910+
911+
(define-public python-txtorcon
912+
  (package
913+
    (name "python-txtorcon")
914+
    (version "18.3.0")
915+
    (source (origin
916+
              (method url-fetch)
917+
              (uri (pypi-uri "txtorcon" version))
918+
              (sha256
919+
               (base32
920+
                "1c7qfpr1zz34whz66lk4xpwdn7d5jqk6ccgas5n54li479mra0an"))))
921+
    (build-system python-build-system)
922+
    (arguments
923+
     `(#:tests? #f))
924+
    (propagated-inputs
925+
     `(;("python-codecov" ,python-codecov)
926+
       ;("python-coverage" ,python-coverage)
927+
       ;("python-coveralls" ,python-coveralls)
928+
       ;("python-cuvner" ,python-cuvner)
929+
       ;("python-geoip" ,python-geoip)
930+
       ("python-ipaddress" ,python-ipaddress)
931+
       ("python-mock" ,python-mock)
932+
       ("python-pycodestyle" ,python-pycodestyle)
933+
       ("python-pyflakes" ,python-pyflakes)
934+
       ;("python-readme-renderer" ,python-readme-renderer)
935+
       ;("python-repoze.sphinx.autointerface" ,python-repoze.sphinx.autointerface)
936+
       ("python-setuptools" ,python-setuptools)
937+
       ("python-sphinx" ,python-sphinx)
938+
       ("python-tox" ,python-tox)
939+
       ("python-twine" ,python-twine)
940+
       ("python-wheel" ,python-wheel)))
941+
    (home-page "")
942+
    (synopsis
943+
      "Twisted-based Tor controller client, with state-tracking and configuration abstractions. https://txtorcon.readthedocs.org https://github.com/meejah/txtorcon")
944+
    (description
945+
      "Twisted-based Tor controller client, with state-tracking and configuration abstractions. https://txtorcon.readthedocs.org https://github.com/meejah/txtorcon")
946+
    (license #f)))
947+
948+
(define-public python-spake2
949+
  (package
950+
    (name "python-spake2")
951+
    (version "0.8")
952+
    (source (origin
953+
              (method url-fetch)
954+
              (uri (pypi-uri "spake2" version))
955+
              (sha256
956+
               (base32
957+
                "1x16r7lrbklvfzbacb66qv9iiih6liq1y612dqh2chgf555n2yn1"))))
958+
    (build-system python-build-system)
959+
    (propagated-inputs
960+
     `(("python-hkdf" ,python-hkdf)))
961+
    (home-page
962+
      "https://github.com/warner/python-spake2")
963+
    (synopsis
964+
      "SPAKE2 password-authenticated key exchange (pure python)")
965+
    (description
966+
      "SPAKE2 password-authenticated key exchange (pure python)")
967+
    (license license:expat)))
968+
969+
(define-public python-humanize
970+
  (package
971+
    (name "python-humanize")
972+
    (version "0.5.1")
973+
    (source (origin
974+
              (method url-fetch)
975+
              (uri (pypi-uri "humanize" version))
976+
              (sha256
977+
               (base32
978+
                "06dvhm3k8lf2rayn1gxbd46y0fy1db26m3h9vrq7rb1ib08mfgx4"))))
979+
    (build-system python-build-system)
980+
    (arguments
981+
     `(#:tests? #f))
982+
    (home-page "http://github.com/jmoiron/humanize")
983+
    (synopsis "python humanize utilities")
984+
    (description "python humanize utilities")
985+
    (license license:expat)))
986+
987+
(define-public python-service-identity
988+
  (package
989+
    (name "python-service-identity")
990+
    (version "17.0.0")
991+
    (source
992+
      (origin
993+
        (method url-fetch)
994+
        (uri (pypi-uri "service_identity" version))
995+
        (sha256
996+
          (base32
997+
            "1aq24cn3nnsjr9g797dayhx4g653h6bd41ksqhidzq0rvarzn0a0"))))
998+
    (build-system python-build-system)
999+
    (propagated-inputs
1000+
      `(("python-attrs" ,python-attrs)
1001+
        ("python-pyasn1" ,python-pyasn1)
1002+
        ("python-pyasn1-modules" ,python-pyasn1-modules)
1003+
        ("python-pyopenssl" ,python-pyopenssl)))
1004+
    (home-page
1005+
      "https://service-identity.readthedocs.io/")
1006+
    (synopsis
1007+
      "Service identity verification for pyOpenSSL.")
1008+
    (description
1009+
      "Service identity verification for pyOpenSSL.")
1010+
    (license license:expat)))
1011+
1012+
(define-public python-pyhamcrest
1013+
  (package
1014+
    (name "python-pyhamcrest")
1015+
    (version "1.9.0")
1016+
    (source
1017+
      (origin
1018+
        (method url-fetch)
1019+
        (uri (pypi-uri "pyhamcrest" version))
1020+
        (sha256
1021+
          (base32
1022+
            "1kan3nyxs1dz333s7mfvjj47l8j6qxd1imyf2kg8jzm57njs1ylg"))))
1023+
    (build-system python-build-system)
1024+
    (arguments
1025+
     `(#:tests? #f))
1026+
    (propagated-inputs
1027+
      `(("python-setuptools" ,python-setuptools)
1028+
        ("python-six" ,python-six)))
1029+
    (home-page
1030+
      "https://github.com/hamcrest/PyHamcrest")
1031+
    (synopsis
1032+
      "Hamcrest framework for matcher objects")
1033+
    (description
1034+
      "Hamcrest framework for matcher objects")
1035+
    (license #f)))
1036+
1037+
(define-public python-autobahn
1038+
  (package
1039+
    (name "python-autobahn")
1040+
    (version "18.9.2")
1041+
    (source (origin
1042+
              (method url-fetch)
1043+
              (uri (pypi-uri "autobahn" version))
1044+
              (sha256
1045+
               (base32
1046+
                "1mhj64rsnbi6rc0hskmllw280rvd99z045p6dq8h0mw60r7r52yr"))))
1047+
    (build-system python-build-system)
1048+
    (arguments
1049+
     `(#:tests? #f))
1050+
    (propagated-inputs
1051+
     `(;("python-[accelerate]"
1052+
     ;,#{python-\x5b;accelerate\x5d;}#)
1053+
     ;("python-[all]" ,#{python-\x5b;all\x5d;}#)
1054+
     ;("python-[asyncio]"
1055+
     ;,#{python-\x5b;asyncio\x5d;}#)
1056+
     ;("python-[compress]"
1057+
     ;,#{python-\x5b;compress\x5d;}#)
1058+
     ;("python-[dev]" ,#{python-\x5b;dev\x5d;}#)
1059+
     ;("python-[encryption]"
1060+
     ;,#{python-\x5b;encryption\x5d;}#)
1061+
     ;("python-[nvx]" ,#{python-\x5b;nvx\x5d;}#)
1062+
     ;("python-[scram]" ,#{python-\x5b;scram\x5d;}#)
1063+
     ;("python-[serialization]"
1064+
     ;,#{python-\x5b;serialization\x5d;}#)
1065+
     ;("python-[twisted]"
1066+
     ;,#{python-\x5b;twisted\x5d;}#)
1067+
     ;("python-argon2-cffi" ,python-argon2-cffi)
1068+
     ;("python-awscli" ,python-awscli)
1069+
     ("python-cbor" ,python-cbor)
1070+
     ("python-cffi" ,python-cffi)
1071+
     ("python-flake8" ,python-flake8)
1072+
     ("python-lz4" ,python-lz4)
1073+
     ("python-mock" ,python-mock)
1074+
     ("python-passlib" ,python-passlib)
1075+
     ;("python-pep8-naming" ,python-pep8-naming)
1076+
     ("python-py-ubjson" ,python-py-ubjson)
1077+
     ("python-pyenchant" ,python-pyenchant)
1078+
     ("python-pyflakes" ,python-pyflakes)
1079+
     ("python-pynacl" ,python-pynacl)
1080+
     ("python-pyopenssl" ,python-pyopenssl)
1081+
     ("python-pyqrcode" ,python-pyqrcode)
1082+
     ;("python-pytest" ,python-pytest)
1083+
     ;("python-pytest-aiohttp" ,python-pytest-aiohttp)
1084+
     ;("python-pytest-asyncio" ,python-pytest-asyncio)
1085+
     ;("python-pytrie" ,python-pytrie)
1086+
     ;("python-qualname" ,python-qualname)
1087+
     ("python-service-identity" ,python-service-identity)
1088+
     ("python-six" ,python-six)
1089+
     ;("python-snappy" ,python-snappy)
1090+
     ("python-sphinx" ,python-sphinx)
1091+
     ("python-sphinx-rtd-theme" ,python-sphinx-rtd-theme)
1092+
     ;("python-sphinxcontrib-spelling" ,python-sphinxcontrib-spelling)
1093+
     ("python-twine" ,python-twine)
1094+
     ("python-twisted" ,python-twisted-for-wormhole)
1095+
     ("python-txaio" ,python-txaio)
1096+
     ;("python-u-msgpack-python" ,python-u-msgpack-python)
1097+
     ("python-wheel" ,python-wheel)
1098+
     ;("python-wsaccel" ,python-wsaccel)
1099+
     ("python-zope.interface" ,python-zope.interface)))
1100+
    (home-page "http://crossbar.io/autobahn")
1101+
    (synopsis
1102+
      "WebSocket client & server library, WAMP real-time framework")
1103+
    (description
1104+
      "WebSocket client & server library, WAMP real-time framework")
1105+
    (license #f)))
1106+
1107+
(define-public magic-wormhole
1108+
  (package
1109+
    (name "magic-wormhole")
1110+
    (version "0.10.5")
1111+
    (source
1112+
      (origin
1113+
        (method url-fetch)
1114+
        (uri (pypi-uri "magic-wormhole" version))
1115+
        (sha256
1116+
          (base32
1117+
            "1vhp97pdnqb8nd08pk9fn7mk5jwihdfcsqilxkg3brai6lgyln4m"))))
1118+
    (build-system python-build-system)
1119+
    (arguments
1120+
     `(#:tests? #f))
1121+
    (propagated-inputs
1122+
      `(("python-attrs" ,python-attrs)
1123+
        ("python-autobahn" ,python-autobahn)
1124+
        ("python-automat" ,python-automat)
1125+
        ("python-click" ,python-click)
1126+
        ("python-hkdf" ,python-hkdf)
1127+
        ("python-humanize" ,python-humanize)
1128+
        ("python-ipaddress" ,python-ipaddress)
1129+
        ("python-pynacl" ,python-pynacl)
1130+
        ("python-six" ,python-six)
1131+
        ("python-spake2" ,python-spake2)
1132+
        ("python-tqdm" ,python-tqdm)
1133+
        ("python-twisted" ,python-twisted-for-wormhole)
1134+
        ("python-txtorcon" ,python-txtorcon)))
1135+
    (home-page
1136+
      "https://github.com/warner/magic-wormhole")
1137+
    (synopsis
1138+
      "Securely transfer data between computers")
1139+
    (description
1140+
      "Securely transfer data between computers")
1141+
    (license license:expat)))