summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2016-06-25 22:49:39 +0800
committer宋文武 <iyzsong@gmail.com>2016-06-25 22:52:57 +0800
commitb49504fd8c2f61fe5aae27598e5a475de1f9494b (patch)
tree907ae32ce77d96f56685b9e05de600f135e98e02 /gnu
parentaebd383d04b351465cfb14e4fd0949b67d4b282e (diff)
gnu: Add python-pyaml and python2-pyaml.
* gnu/packages/python.scm (python-pyaml, python2-pyaml): New variables.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7f3f95d1429..80715133c3e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9569,3 +9569,28 @@ addresses, and phone numbers.")
9569 `(("python2-ipaddress" ,python2-ipaddress) 9569 `(("python2-ipaddress" ,python2-ipaddress)
9570 ,@(package-native-inputs base)))))) 9570 ,@(package-native-inputs base))))))
9571 9571
9572(define-public python-pyaml
9573 (package
9574 (name "python-pyaml")
9575 (version "15.8.2")
9576 (source (origin
9577 (method url-fetch)
9578 (uri (pypi-uri "pyaml" version))
9579 (sha256
9580 (base32
9581 "1f5m28vkh4ksq3d80d8mmd2z8wxvc3mgy2pmrv2751dm2xgznm4w"))))
9582 (build-system python-build-system)
9583 (native-inputs
9584 `(("python-setuptools" ,python-setuptools)))
9585 (propagated-inputs
9586 `(("python-pyyaml" ,python-pyyaml)))
9587 (home-page "https://github.com/mk-fg/pretty-yaml")
9588 (synopsis "YAML pretty-print library for Python")
9589 (description
9590 "pyaml is a PyYAML based python module to produce pretty and readable
9591YAML-serialized data.")
9592 (license (non-copyleft "http://www.wtfpl.net/txt/copying/"))))
9593
9594(define-public python2-pyaml
9595 (package-with-python2 python-pyaml))
9596