GNU bug report logs - #50836
[PATCH 0/5] Python logic programming packages

Previous Next

Package: guix-patches;

Reported by: Ryan Prior <rprior <at> protonmail.com>

Date: Mon, 27 Sep 2021 02:19:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ryan Prior <rprior <at> protonmail.com>
To: 50836 <at> debbugs.gnu.org
Subject: [bug#50836] [PATCH 3/5] gnu: Add python-cons.
Date: Mon, 27 Sep 2021 02:20:19 +0000
gnu/packages/python-xyz.scm (python-cons): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bc5ab67e6b..1f6388d2bc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26626,6 +26626,33 @@ function implementations based on the types of the arguments.")
 symbolic expressions in pure Python using the technique of logical unification.")
     (license license:bsd-3)))

+(define-public python-cons
+  (package
+    (name "python-cons")
+    (version "0.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cons" version))
+       (sha256
+        (base32
+         "0w9giq196wps7mbm47c4shdzs5yvwvqajqzkim2p92i51sm5qgvm"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("pytest <at> 6.2.4" ,python-pytest-6)
+       ("toml <at> 0.10.2" ,python-toml)))
+    (propagated-inputs
+     `(("python-logical-unification"
+        ,python-logical-unification)))
+    (home-page
+     "https://github.com/pythological/python-cons")
+    (synopsis
+     "Cons cell data structures and related algorithms for Python")
+    (description
+     "This library implements algorithms and data structures for Lisp-style
+cons cells in Python.")
+    (license license:lgpl3+)))
+
 (define-public date2name
   (let ((commit "6c8f37277e8ec82aa50f90b8921422be30c4e798")
         (revision "1"))
--
2.33.0






This bug report was last modified 3 years and 184 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.