guix-commits
[Top][All Lists]
Advanced

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

19/46: gnu: Add python-lazr-config.


From: guix-commits
Subject: 19/46: gnu: Add python-lazr-config.
Date: Tue, 21 Jul 2020 08:49:38 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 85fb79f1f668042f72227bff6a33c3c6bd3df187
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 21 11:25:52 2020 +0300

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index db05a52..ef7a4f3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20681,3 +20681,37 @@ delegate behavior to another object.  The new object 
adds some property or
 behavior on to the other object, while still providing the underlying 
interface,
 and delegating behavior.")
     (license license:lgpl3)))
+
+(define-public python-lazr-config
+  (package
+    (name "python-lazr-config")
+    (version "2.2.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "lazr.config" version))
+        (sha256
+         (base32
+          "11xpddgyhyj7sf27wbmrq5lnqk21wnprx3ajycgwlxjamh6sgffd"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "python" "-s" "-m" "nose" "-P" "lazr"))))))
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (propagated-inputs
+     `(("python-lazr-delegates" ,python-lazr-delegates)
+       ("python-zope-interface" ,python-zope-interface)))
+    (home-page "https://launchpad.net/lazr.config";)
+    (synopsis "Create configuration schemas and process and validate 
configurations")
+    (description
+     "The LAZR config system is typically used to manage process configuration.
+Process configuration is for saying how things change when we run systems on
+different machines, or under different circumstances.  This system uses 
ini-like
+file format of section, keys, and values.  The config file supports inheritance
+to minimize duplication of information across files.  The format supports 
schema
+validation.")
+    (license license:lgpl3)))



reply via email to

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