[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/08: gnu: Add python-minikanren.
From: |
guix-commits |
Subject: |
06/08: gnu: Add python-minikanren. |
Date: |
Mon, 15 Nov 2021 11:57:09 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 1a501646f516fbab1c84b6b23c9c07a184cb1ae3
Author: Ryan Prior <rprior@protonmail.com>
AuthorDate: Mon Sep 27 02:20:24 2021 +0000
gnu: Add python-minikanren.
* gnu/packages/python-xyz.scm (python-minikanren): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/python-xyz.scm | 46 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c6d0d97..f32c322 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27466,6 +27466,52 @@ cons cells in Python.")
"This library implements eval'able S-expression in Python using
tuple-like objects.")
(license license:asl2.0)))
+(define-public python-minikanren
+ (package
+ (name "python-minikanren")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pythological/kanren")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0g7wfj5hxalwz7k1301nsjqhjpzsif1bj6wjm2x2kavlm2ypv9jc"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "pytest" "-v" "tests/"
"kanren/"))
+ #t)))))
+ (native-inputs
+ `(("python-coveralls" ,python-coveralls)
+ ("python-pydocstyle" ,python-pydocstyle)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-pylint" ,python-pylint)
+ ("python-black" ,python-black)
+ ("python-sympy" ,python-sympy)
+ ("python-versioneer" ,python-versioneer)
+ ("python-coverage" ,python-coverage)
+ ("python-pre-commit" ,python-pre-commit)))
+ (propagated-inputs
+ `(("python-toolz" ,python-toolz)
+ ("python-cons" ,python-cons)
+ ("python-multipledispatch" ,python-multipledispatch)
+ ("python-etuples" ,python-etuples)
+ ("python-logical-unification" ,python-logical-unification)))
+ (home-page "https://github.com/pythological/kanren")
+ (synopsis "Relational logic programming in pure Python")
+ (description
+ "The minikanren library provides an algorithmic core for computer algebra
+systems in Python.")
+ (license license:bsd-3)))
+
+
(define-public date2name
(let ((commit "6c8f37277e8ec82aa50f90b8921422be30c4e798")
(revision "1"))
- branch master updated (3288d6b -> 21332f3), guix-commits, 2021/11/15
- 01/08: gnu: clang-toolchain: Add libomp., guix-commits, 2021/11/15
- 03/08: gnu: Add python-logical-unification., guix-commits, 2021/11/15
- 04/08: gnu: Add python-cons., guix-commits, 2021/11/15
- 02/08: gnu: Add python-multipledispatch., guix-commits, 2021/11/15
- 05/08: gnu: Add python-etuples., guix-commits, 2021/11/15
- 06/08: gnu: Add python-minikanren.,
guix-commits <=
- 07/08: gnu: python-pytorch: Update to 1.10.0., guix-commits, 2021/11/15
- 08/08: gnu: hpcguix-web: Update to 0.2.0., guix-commits, 2021/11/15