gnu: Add python-asn1tools.

* gnu/packages/python-xyz.scm (python-asn1tools): New variable.
This commit is contained in:
Hartmut Goebel 2021-05-25 10:17:20 +02:00
parent 52dc188e12
commit d8fed768a8
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -19,7 +19,7 @@
;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com> ;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org> ;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org> ;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
;;; Copyright © 2016, 2018, 2019 Hartmut Goebel <h.goebel@crazy-compilers.com> ;;; Copyright © 2016, 2018, 2019, 2021 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org> ;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org>
;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com> ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2016, 2017 Troy Sankey <sankeytms@gmail.com> ;;; Copyright © 2016, 2017 Troy Sankey <sankeytms@gmail.com>
@ -10471,6 +10471,30 @@ (define-public python2-ipaddress
module to older versions of Python.") module to older versions of Python.")
(license license:psfl))) (license license:psfl)))
(define-public python-asn1tools
(package
(name "python-asn1tools")
(version "0.158.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "asn1tools" version))
(sha256
(base32 "1k88a1azmyvp2ab6qcf2i40dig5abhyn7cmlyhmwwh8kr3syvma0"))))
(build-system python-build-system)
(propagated-inputs
`(("python-bitstruct" ,python-bitstruct)
("python-diskcache" ,python-diskcache)
("python-prompt-toolkit" ,python-prompt-toolkit)
("python-pyparsing" ,python-pyparsing)))
(home-page "https://github.com/eerimoq/asn1tools")
(synopsis "ASN.1 parsing, encoding and decoding")
(description "This package provides ASN.1 parsing, encoding and decoding
for Python, including constraints checking. It supports several
codecs (e.g. BER, PER, UPER, XER) as well as limited C source code generating
for OER and UPER.")
(license license:expat)))
(define-public python2-ipaddr (define-public python2-ipaddr
(package (package
(name "python2-ipaddr") (name "python2-ipaddr")