guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: Add python-pyaml and python2-pyaml.


From: ???
Subject: 01/03: gnu: Add python-pyaml and python2-pyaml.
Date: Sat, 25 Jun 2016 14:53:13 +0000 (UTC)

iyzsong pushed a commit to branch master
in repository guix.

commit b49504fd8c2f61fe5aae27598e5a475de1f9494b
Author: 宋文武 <address@hidden>
Date:   Sat Jun 25 22:49:39 2016 +0800

    gnu: Add python-pyaml and python2-pyaml.
    
    * gnu/packages/python.scm (python-pyaml, python2-pyaml): New variables.
---
 gnu/packages/python.scm |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7f3f95d..8071513 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9569,3 +9569,28 @@ addresses, and phone numbers.")
        `(("python2-ipaddress" ,python2-ipaddress)
          ,@(package-native-inputs base))))))
 
+(define-public python-pyaml
+  (package
+    (name "python-pyaml")
+    (version "15.8.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pyaml" version))
+              (sha256
+               (base32
+                "1f5m28vkh4ksq3d80d8mmd2z8wxvc3mgy2pmrv2751dm2xgznm4w"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (propagated-inputs
+     `(("python-pyyaml" ,python-pyyaml)))
+    (home-page "https://github.com/mk-fg/pretty-yaml";)
+    (synopsis "YAML pretty-print library for Python")
+    (description
+     "pyaml is a PyYAML based python module to produce pretty and readable
+YAML-serialized data.")
+    (license (non-copyleft "http://www.wtfpl.net/txt/copying/";))))
+
+(define-public python2-pyaml
+  (package-with-python2 python-pyaml))
+



reply via email to

[Prev in Thread] Current Thread [Next in Thread]