guix-commits
[Top][All Lists]
Advanced

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

04/06: gnu: Add python-yte.


From: guix-commits
Subject: 04/06: gnu: Add python-yte.
Date: Mon, 11 Apr 2022 09:40:38 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 6145e25afa597a1c3c571df8d1ec0ca69b69125f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Apr 7 16:48:27 2022 +0200

    gnu: Add python-yte.
    
    * gnu/packages/python-xyz.scm (python-yte): New variable.
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 12a79d8450..12f0779ba6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9938,6 +9938,29 @@ multiprecision arithmetic.")
 function signatures.")
     (license license:bsd-3)))
 
+(define-public python-yte
+  (package
+    (name "python-yte")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "yte" version))
+       (sha256
+        (base32 "07hm1warpqi4ifqgkaz5sg887x4a44yhxafmpf835ywnpchg4s03"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'set-HOME
+           (lambda _ (setenv "HOME" "/tmp"))))))
+    (propagated-inputs (list python-plac python-pyyaml))
+    (home-page "https://github.com/koesterlab/yte";)
+    (synopsis "YAML template engine with Python expressions")
+    (description
+     "This package provides a YAML template engine with Python expressions.")
+    (license license:expat)))
+
 (define-public python-sympy
   (package
     (name "python-sympy")



reply via email to

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