guix-patches
[Top][All Lists]
Advanced

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

[bug#75225] [PATCH 1/1] gnu: Add python-robotframework-jsonlibrary


From: Markku Korkeala
Subject: [bug#75225] [PATCH 1/1] gnu: Add python-robotframework-jsonlibrary
Date: Tue, 31 Dec 2024 15:11:47 +0200

  * gnu/packages/python-xyz.scm (python-robotframework-jsonlibrary): New 
variable.

Change-Id: Ie8db20560d913132e4ffd4ace569304341b7120c
---
 gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5fd6cefbbe..12b50dc4b2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -553,6 +553,43 @@ (define-public python-pyxdameraulevenshtein
 edit distance algorithm for Python in Cython for high performance.")
     (license license:bsd-3)))
 
+(define-public python-robotframework-jsonlibrary
+  (package
+    (name "python-robotframework-jsonlibrary")
+    (version "0.5")
+    (source
+     (origin
+      (method git-fetch)
+      (uri
+       (git-reference
+        (url 
"https://github.com/robotframework-thailand/robotframework-jsonlibrary";)
+        (commit version)))
+      (file-name (git-file-name name version))
+       (sha256
+        (base32 "1zkhcmwlp9gy9a0262ylykr9pljq9mpkaa69340hhfkzygzi30dc"))))
+    (build-system pyproject-build-system)
+    (arguments
+     `(
+       #:phases
+        (modify-phases %standard-phases
+         (replace 'check
+          (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+           (when tests?
+            (invoke "pytest" "-v")))))))
+    (propagated-inputs
+      (list python-jsonpath-ng python-jsonschema python-robotframework))
+    (native-inputs
+     (list python-setuptools python-wheel python-pytest python-pytest-cov
+           python-twine python-pylint python-invoke python-black python-tox))
+    (home-page "https://github.com/nottyo/robotframework-jsonlibrary.git";)
+    (synopsis
+     "@code{robotframework-jsonlibrary} is a Robot Framework test library for
+manipulating JSON Object.")
+    (description
+     "@code{robotframework-jsonlibrary} is a Robot Framework test library for
+manipulating JSON Object. You can manipulate your JSON object using JSONPath")
+    (license license:unlicense)))
+
 (define-public python-xmldiff
   (package
     (name "python-xmldiff")

base-commit: a37420aeb8b525b06d30411ae0b4c4ea49e0c37d
-- 
2.46.0






reply via email to

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