From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gIeEI1HiW2DeZwEAgWs5BA (envelope-from ) for ; Thu, 25 Mar 2021 02:07:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QBosH1HiW2BJSAAA1q6Kng (envelope-from ) for ; Thu, 25 Mar 2021 01:07:29 +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 4B1681A0DB for ; Thu, 25 Mar 2021 02:07:29 +0100 (CET) Received: from localhost ([::1]:35310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPETA-0002vJ-Fp for larch@yhetil.org; Wed, 24 Mar 2021 21:07:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPERv-0001Ch-9I for guix-patches@gnu.org; Wed, 24 Mar 2021 21:06:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53362) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPERv-0003GD-0G for guix-patches@gnu.org; Wed, 24 Mar 2021 21:06:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPERu-0000jP-RK for guix-patches@gnu.org; Wed, 24 Mar 2021 21:06:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47350] [PATCH v2 26/30] gnu: Add julia-diffrules. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Mar 2021 01:06:10 +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.16166343572615 (code B ref 47350); Thu, 25 Mar 2021 01:06:10 +0000 Received: (at 47350) by debbugs.gnu.org; 25 Mar 2021 01:05:57 +0000 Received: from localhost ([127.0.0.1]:36647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPERg-0000g1-Id for submit@debbugs.gnu.org; Wed, 24 Mar 2021 21:05:56 -0400 Received: from mail-wm1-f41.google.com ([209.85.128.41]:35429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPERK-0000bb-NS for 47350@debbugs.gnu.org; Wed, 24 Mar 2021 21:05:35 -0400 Received: by mail-wm1-f41.google.com with SMTP id a132-20020a1c668a0000b029010f141fe7c2so2216473wmc.0 for <47350@debbugs.gnu.org>; Wed, 24 Mar 2021 18:05:34 -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=BhfkcZf6IiPYGcT83Zl+fnIg0SdLfdZQ1Jn4uwitI94=; b=V2edvgze8Wjyn6ipOBLR8Aug+oCwSdSi1xju75fnTvRkJi01ra18B/dC6CsRvivtF9 v+RNOn5TS17ROs7OqI9/wD6/mMoaWxZYjUyA0pQPAF7gKxnV2Vnkb0+2VqaFsBxRTBJN P6h+0YDkU9m7KzrdN6uZuo2CdOXch3JK717XD1Z/hyFftaIPYNf32th9EdOq38I80S3n gZuVd4/vc2FlAAsspzpa7h1Yd5No5Y5rrQ3NGtvPmU2o6rAxPVXDG0GHQ2aF3GsbK/oB CU2ZzhOQfSsbnH7CY2vA5OXgZasfQpUWRTKc09xBSRbXB9sKXJBMfKXgbaAVlFOQNqjQ Dfrw== 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=BhfkcZf6IiPYGcT83Zl+fnIg0SdLfdZQ1Jn4uwitI94=; b=mHAD0QofljpvgzWrlg0dP/6mAfiu5iNfqQslNGraDomDTfAWeXdTXLAOM92447j+HP A0i0J1WwWTHo7G/MTyrfCxSuj4yti6GFYSf2MUB/Quq7b2cEW/KPqWIHHh0bj5M1H8LL XUfWx4+pwLvjp6qWQSyG4EL4A6D1jb1UBdf7Y4JEliLckcBFbjf2ckVHORYdz+Y5T/GY YVaV4yBD/6wM7K6lzOIXfZ8bUveRxPmQ4JFWezxasvP2ZzsqTu3hI+Iw7MbIyGvXz1Pk kW/HSVjbtuF3NTfz76/4E7+4Z3YtdUEXwN6Rn2yHkyMkciSJ7/rGuimHJe6NmFW3BVZ5 tITw== X-Gm-Message-State: AOAM533vda8/WCXdihzZgDa97zcVjzsxm4mWnTCa7H8ywSgrlCz4WBjz 8/0VtKioKipgzNptEm9UtAbbimQjP1o= X-Google-Smtp-Source: ABdhPJy9n31MWU2fT+o7ixbZtmnNrX1L43StdhyK3N4staNovbVusabri8SgkhAoBPbg92ndGKtteQ== X-Received: by 2002:a1c:c918:: with SMTP id f24mr5444116wmb.12.1616634329285; Wed, 24 Mar 2021 18:05:29 -0700 (PDT) Received: from pfiuh02.univ-paris-diderot.fr ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id w6sm5208488wrl.49.2021.03.24.18.05.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Mar 2021 18:05:28 -0700 (PDT) From: zimoun Date: Thu, 25 Mar 2021 02:05:12 +0100 Message-Id: <20210325010516.18994-24-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210325010516.18994-1-zimon.toutoune@gmail.com> References: <20210325010516.18994-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=1616634449; 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=BhfkcZf6IiPYGcT83Zl+fnIg0SdLfdZQ1Jn4uwitI94=; b=QEIijf7HLaQa3mK1jpMFvMrStm+ES74u0Jb1rPsW43OxyrdN/gZsf4OzjZoYRKLOLTHiNS OsK3i4RhlfQoNXJnfUuKQ5HAWaQK2SoP7hJbK5BHe/CmXjeviIJXkNNos8dndGZP/hCszs vNkgPQ1CkvEHoDx5VlHHex+h4F6Xv5gnCFnVxQgSsrgbXlZwe2l0WZDA9PrNBJh5B4Zkrw GYrGoyYUd87Ffy20+QGJkIA1eNiQOAN9UrgBZreGT83I5WzWF2m2RQLwiRF4BBUKW5BF7X RHt5NTHsJvNbZC/386rD8QDOpMjCBDiHBOCC8fGGetHWnpz/rNNjJtKE5L4F8w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616634449; a=rsa-sha256; cv=none; b=Q+1xDBPf/NylqhpOisdUG0GLK3clLEgknrUDmJOHLpz6U6ICpZBzMV48GEOWQWDUfmtuCm 1SGMuCrbFs1UDqwhhjFWF2O6u8P26Y+Y5tY0oyKQrBfpsz3PQ0Za8hyU7twjLL1VAMNXVZ wPMrzZJAC/GXIxTFGd7nfafa5R4xi+8cBIwCqcD3yzVogdBoXw6l8NRxbBtnon0B8S+VPx zb5NeNsMnjUx+9PK1keo40TZHAZJlrPRchxdZZ1/y8GfAPWVmIX1Vb6CWiROb0BOS3ALRo mHvNcbBrbv/7FJ2PbmB0ktwOYHuHhh7TMnoaeg8A0teN/PtYBWTIbJCcdf1oRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=V2edvgze; 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=V2edvgze; 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: 4B1681A0DB X-Spam-Score: 2.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: cO7vSRVg/sIM * 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 4bd5a1f9a3..fe1ecf0c9d 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -411,6 +411,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