From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YEi7D58qUWEzEgAAgWs5BA (envelope-from ) for ; Mon, 27 Sep 2021 04:21:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AGh9C58qUWGqMQAA1q6Kng (envelope-from ) for ; Mon, 27 Sep 2021 02:21:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BC3C78CF2 for ; Mon, 27 Sep 2021 04:21:18 +0200 (CEST) Received: from localhost ([::1]:36172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUgGb-0005nL-TR for larch@yhetil.org; Sun, 26 Sep 2021 22:21:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUgGO-0005he-1v for guix-patches@gnu.org; Sun, 26 Sep 2021 22:21:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55923) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUgGN-0007GS-QB for guix-patches@gnu.org; Sun, 26 Sep 2021 22:21:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUgGN-0002TZ-Mg for guix-patches@gnu.org; Sun, 26 Sep 2021 22:21:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50836] [PATCH 5/5] gnu: Add python-minikanren. Resent-From: Ryan Prior Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Sep 2021 02:21:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50836 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50836@debbugs.gnu.org Received: via spool by 50836-submit@debbugs.gnu.org id=B50836.16327092399431 (code B ref 50836); Mon, 27 Sep 2021 02:21:03 +0000 Received: (at 50836) by debbugs.gnu.org; 27 Sep 2021 02:20:39 +0000 Received: from localhost ([127.0.0.1]:39231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUgFy-0002Rx-TK for submit@debbugs.gnu.org; Sun, 26 Sep 2021 22:20:39 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:42131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUgFt-0002R3-OO for 50836@debbugs.gnu.org; Sun, 26 Sep 2021 22:20:34 -0400 Date: Mon, 27 Sep 2021 02:20:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1632709227; bh=chp9Ivgil+hkriqI2VBwUEG6FdfNpNNS8WA2unkb+5Q=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From; b=CX9MMI0m/E0CGhoiYO2I+jDOoySbIsRG31NPp3waW6o11und3uOVZxbXq2J1x872W qQoscEcOkaIUrV8vpdcAxYIJEOpbPRVdRVVo2SkO8OKKcc/SCARGGSFuopJZoMBcSC YlDizmSiIRS66X67mIcLiebbnYA48YNmZRPrtIwc= Message-ID: <20210927022011.30839-5-rprior@protonmail.com> In-Reply-To: <20210927022011.30839-1-rprior@protonmail.com> References: <20210927022011.30839-1-rprior@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Ryan Prior X-ACL-Warn: , Ryan Prior via Guix-patches From: Ryan Prior via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632709278; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=chp9Ivgil+hkriqI2VBwUEG6FdfNpNNS8WA2unkb+5Q=; b=SbpyvrS1q9+ti8X+UwYCxvAuyHUc7LNRIYA5ZHSSZoDOl9kn3fU4Fdr6VmPPgerwOoqeTT /790ivAUazy94V2QfgStQB5bQH0TpqWhLypjxswy4N3IY7pCF803qTHImDH86op23E0XKb I1WH4fwgBA4rblbvNx1Oxc51YY8UEosRzExlILlLGtkXO1tubhAddOilhX1EV1q/84JRXH a4LPXB3md4i+h3oqwpAKera0jH2+jDRdTUPD8Dl33vhBNYbJjzKv18BPkYwx1luXM0VgqM 2FWCY5XCtoU9SM06Sg6ZPAMINrIUhUO8enh2rrmGmQfbPLuTLDfb0nZDYYHL3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632709278; a=rsa-sha256; cv=none; b=Y6faGjCs+aI+vojWqq0rl9LnjtnnVGE4x3+ixLWlxFvsN2mKfOzhJHSIw5UOygHRIUA1FY M5Xo3xS7ms6+lSaBNNTRmQy+eRv6rBUAyEIVivPQFlSO2gdG+mv8yIf8vqWk5gOawtBfAZ VvKkJG3nd470UAdOOTgPUmdHAq+/BrC1jVeiRJgpBJd+DOIYK43MienwDJYbNTlJW5n/EL MBcx5LH2mNGwpprpjycPAJuVlmJ7g1LDY5SCVnSdXhppMJRUUhzFR9lL2H7wY2SC3Aj2NI C0Zb1HlUPTW4f4Fb1bRfTg3j2JeQgdEykkdA9vcUrxPektZmx2R3AP661U2ElA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=CX9MMI0m; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=CX9MMI0m; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BC3C78CF2 X-Spam-Score: -3.29 X-Migadu-Scanner: scn1.migadu.com X-TUID: KTbX2BxgzCIp gnu/packages/python-xyz.scm (python-minikanren): New variable. --- 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 0b002c42dc..4437de6374 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26677,6 +26677,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/" "kanr= en/")) + #t))))) + (native-inputs + `(("python-coveralls" ,python-coveralls) + ("python-pydocstyle" ,python-pydocstyle) + ("python-pytest@6.2.4" ,python-pytest) + ("python-pytest-cov@2.8.1" ,python-pytest-cov) + ("python-pylint@2.5.3" ,python-pylint) + ("python-black@20.8b1" ,python-black) + ("python-sympy@1.7.1" ,python-sympy) + ("python-versioneer@0.19" ,python-versioneer) + ("python-coverage@5.2.1" ,python-coverage) + ("python-pre-commit@2.10.0" ,python-pre-commit))) + (propagated-inputs + `(("toolz@0.11.1" ,python-toolz) + ("cons" ,python-cons) + ("multipledispatch" ,python-multipledispatch) + ("etuples" ,python-etuples) + ("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 alg= ebra +systems in Python.") + (license license:bsd-3))) + + (define-public date2name (let ((commit "6c8f37277e8ec82aa50f90b8921422be30c4e798") (revision "1")) -- 2.33.0