From d8fed768a899bd0a3a84a88572135a1d7bde2400 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Tue, 25 May 2021 10:17:20 +0200 Subject: gnu: Add python-asn1tools. * gnu/packages/python-xyz.scm (python-asn1tools): New variable. --- gnu/packages/python-xyz.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a4fe31a01f..6a6d7f4b26 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19,7 +19,7 @@ ;;; Copyright © 2015, 2016 Chris Marusich ;;; Copyright © 2016 Danny Milosavljevic ;;; Copyright © 2016 Lukas Gradl -;;; Copyright © 2016, 2018, 2019 Hartmut Goebel +;;; Copyright © 2016, 2018, 2019, 2021 Hartmut Goebel ;;; Copyright © 2016 Daniel Pimentel ;;; Copyright © 2016 Sou Bunnbu ;;; Copyright © 2016, 2017 Troy Sankey @@ -10471,6 +10471,30 @@ implementations of ASN.1-based codecs and protocols.") module to older versions of Python.") (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 (package (name "python2-ipaddr") -- cgit 1.4.1