From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0BzgIy1GWmCRWAAA0tVLHw (envelope-from ) for ; Tue, 23 Mar 2021 19:49:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0FabHy1GWmBuMwAAbx9fmQ (envelope-from ) for ; Tue, 23 Mar 2021 19:49:01 +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 33821C00D for ; Tue, 23 Mar 2021 20:49:01 +0100 (CET) Received: from localhost ([::1]:56902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOn1Q-0003nx-D9 for larch@yhetil.org; Tue, 23 Mar 2021 15:49:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOn0e-0002nM-T3 for guix-patches@gnu.org; Tue, 23 Mar 2021 15:48:15 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49839) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOn0V-0003Ve-Mi for guix-patches@gnu.org; Tue, 23 Mar 2021 15:48:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lOn0V-0008HX-L8 for guix-patches@gnu.org; Tue, 23 Mar 2021 15:48:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47350] [PATCH 25/29] gnu: Add julia-diffrules. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Mar 2021 19:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47350 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47350@debbugs.gnu.org Cc: zimoun Received: via spool by 47350-submit@debbugs.gnu.org id=B47350.161652884331721 (code B ref 47350); Tue, 23 Mar 2021 19:48:03 +0000 Received: (at 47350) by debbugs.gnu.org; 23 Mar 2021 19:47:23 +0000 Received: from localhost ([127.0.0.1]:33138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOmzr-0008FT-B2 for submit@debbugs.gnu.org; Tue, 23 Mar 2021 15:47:23 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]:41552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOmzh-0008DQ-RP for 47350@debbugs.gnu.org; Tue, 23 Mar 2021 15:47:14 -0400 Received: by mail-wr1-f49.google.com with SMTP id b9so22059274wrt.8 for <47350@debbugs.gnu.org>; Tue, 23 Mar 2021 12:47:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tq5DfgMccZJJaWBCDOdfhRtkjtwgCJJ1gIovp4N+HtQ=; b=RbSs1ZXul2c0Nc1qyllXtXqaPPP5mQkUrl5Z/nQsq3pX0i93UEAazNIdRvJB18JiiC S+BMCeUZrw21LyelqkWpLA8E5jiTNh2Bj1CBP5VmC+QWny8ghwX+FOToEWUTc4gDd+lY g0KVeyYWg4BFFHTwovw4T9y8tOggZYvTVNRwl27Z/NkPxu84ucFZxwZwx16tw4aFAgTL 2rCk7rRBmWnX7TWGO4Hd4N1lZhxQxdo41dzlkPmwkc+7BkXief3VJmKAOq7D+FXIikFl 9fGxdApdi4zR5WYgFLkyklBJcMj34oJI5yYrW5YWls3MXHf97jH9QA6It0DXvuXq4mHq kVag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tq5DfgMccZJJaWBCDOdfhRtkjtwgCJJ1gIovp4N+HtQ=; b=CVKwFbFr/TV6PU1tB98usWhhecvzPd5iKT5sapqlVXw1E8voPY+pKEJUbZj45CHoL4 m1t7j0uEH58/O+2Q/eqrxXorlBkWJPeu2kYKL7FTjYtzyuiP6XtZ7nIeEQTui0uq38Q8 xnHa9LxF5sEcqT+tLKbmB0AE3Dr54ioGhqpp5BDpYMn5rGQg2V86/Z2nNaEEZlsofZUY eIq69PFy7GI6XN712kALNgS4yU7dZXK0WvjU9siOawfReAEM0NXP7MbbNAW97VDYydkV aoqxkRNDbhV7FeQS9dFPes7w4H18fMXh1jT6p7jOFGvPk4aFrFDFM9mWifOZOq8Ah2Wx 6Yrg== X-Gm-Message-State: AOAM533OFEFBhKXfZ/p805+Iw4RTmKYk0PUDDrhTWMqojXp+C3t143wI QVfbnJsjDX6SphHjbnfb7ac7DsalRXM= X-Google-Smtp-Source: ABdhPJwYmG7kzVl9dcNh54KhoX6pcuyTNlCZhUvokGmrW0euSqED2rW12daoaKxfrQNpDz3CPtxV2Q== X-Received: by 2002:adf:e108:: with SMTP id t8mr5499294wrz.371.1616528828217; Tue, 23 Mar 2021 12:47:08 -0700 (PDT) Received: from pfiuh02.univ-paris-diderot.fr ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id a131sm3656104wmc.48.2021.03.23.12.47.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 12:47:07 -0700 (PDT) From: zimoun Date: Tue, 23 Mar 2021 20:46:52 +0100 Message-Id: <20210323194656.18303-6-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210323194656.18303-1-zimon.toutoune@gmail.com> References: <20210323194656.18303-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616528941; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=tq5DfgMccZJJaWBCDOdfhRtkjtwgCJJ1gIovp4N+HtQ=; b=KRMIqL7waM01/ov2jKD8VlWdqbZYtiE0SLxSVGizON4DoLg1VOF064luJFH7DbArAuGXHY +E/6C1tw4or18zVC/blsZP3bntWZldtrDkPhUceIfHMWuZtEo2fuG8uDa632nqiAT34iIw 9b30irQUxP8liEMmizQDSZrOIT4ZjBcZi8XJU6iozStwjyQ2LAzs3AxxAFjcGUF42s1ua5 MoIVOCRz1igWqUEjO+bNbpGhDgU8Nc3A9KJWmFFFosCfjvX6exT7x+donjKIYi0Jm0i/W2 1YHUQKeagPobNkAYDSLPjl1FUePyFTZuZ5U4hKR0rjhACC1fYfuDUwSO8JEMaQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616528941; a=rsa-sha256; cv=none; b=JlS0ibfS6e1C+aIXxP2K3qVyVbdCJm/nZ2Xwbl9umm9IucS4EmulyNXcjf+aYLNDJ8iZ8G TqQI9kbAfVeopuvn0mdYfzDKCpSYPXQEoCSE1ioJ5mDSNn5I/GErXb7f2woXaQslNUm8kU vhWu0NvzM7AgII2Z/0kri80+bLl+Ryu9at4BMa1wKC6AHVyBuIkH5sC42ylQ5LKIhOIG8o 7jxzqg/wLEjc/nAMstXGaBtFElG2kzEAewazhm5k2/Jxe7KdZUCyOgttYZkE/y8FdAMEn0 F9PmekTyElBQKNteWKXknM5aM7EtjtleIAMD8DW4SqrSC5uocdU05vKXrnBGKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=RbSs1ZXu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 2.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=RbSs1ZXu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 33821C00D X-Spam-Score: 2.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: ThGhBICaC1JJ * gnu/packages/julia-xyz.scm (julia-diffrules): New variable. --- gnu/packages/julia-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 452b376371..49f0d54d17 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -424,6 +424,31 @@ including, @code{CircularBuffer}, @code{Queue}, @code{Stack}, be passed to in-place differentiation methods instead of an output buffer.") (license license:expat))) +(define-public julia-diffrules + (package + (name "julia-diffrules") + (version "1.0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaDiff/DiffRules.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0cwjvj4gma7924fm3yas0nf0jlnwwx4v7fi79ii3s290lkdldzfl")))) + (propagated-inputs + `(("julia-nanmath" ,julia-nanmath) + ("julia-specialfunctions" ,julia-specialfunctions))) + (build-system julia-build-system) + (home-page "https://github.com/JuliaDiff/DiffRules.jl") + (synopsis "Primitive differentiation rules") + (description "This package provides primitive differentiation rules that +can be composed via various formulations of the chain rule. Using +@code{DiffRules}, new differentiation rules can defined, query whether or not +a given rule exists, and symbolically apply rules to simple Julia expressions.") + (license license:expat))) + (define-public julia-difftests (package (name "julia-difftests") -- 2.28.0