From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: [PATCH] gnu Add r-pracma. Date: Fri, 08 Apr 2016 10:53:24 +0200 Message-ID: <87r3egxz0b.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoSAB-0001hQ-HM for guix-devel@gnu.org; Fri, 08 Apr 2016 04:53:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoSA5-0002PY-Hv for guix-devel@gnu.org; Fri, 08 Apr 2016 04:53:11 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoSA5-0002PJ-DV for guix-devel@gnu.org; Fri, 08 Apr 2016 04:53:05 -0400 Received: from [143.121.239.252] (port=57962 helo=roel-tp) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aoSA4-0005Cw-SV for guix-devel@gnu.org; Fri, 08 Apr 2016 04:53:05 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-r-pracma.patch Content-Transfer-Encoding: 8bit >From a2ed49feb4d1613d13c39922f360a0685a2eef36 Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Fri, 8 Apr 2016 10:48:58 +0200 Subject: [PATCH] gnu Add r-pracma. * gnu/packages/maths.scm (r-pracma): New variable. --- gnu/packages/maths.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index adebf09..ab28e81 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2015 Mark H Weaver ;;; Copyright © 2015, 2016 Efraim Flashner ;;; Copyright © 2015 Fabian Harfert +;;; Copyright © 2016 Roel Janssen ;;; ;;; This file is part of GNU Guix. ;;; @@ -37,6 +38,7 @@ #:use-module (guix build utils) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system r) #:use-module (gnu packages algebra) #:use-module (gnu packages bison) #:use-module (gnu packages boost) @@ -911,6 +913,24 @@ sparse system of linear equations A x = b using Guassian elimination.") (inputs (alist-delete "pt-scotch" (package-inputs mumps-openmpi))))) +(define-public r-pracma + (package + (name "r-pracma") + (version "1.8.8") + (source (origin + (method url-fetch) + (uri (cran-uri "pracma" version)) + (sha256 + (base32 "0ans9l5rrb7a38gyi4qx4258sd5r5668vyrk02yzjpg9k3h8l165")))) + (build-system r-build-system) + (home-page "http://cran.r-project.org/web/packages/pracma") + (synopsis "This package provides practical numerical math functions") + (description "This package provides functions for numerical analysis and +linear algebra, numerical optimization, differential equations, plus some +special functions. It uses Matlab function names where appropriate to simplify +porting.") + (license license:gpl3+))) + (define-public superlu (package (name "superlu") -- 2.5.5 --=-=-= Content-Type: text/plain Dear Guix, I would like to add an R package for numerical math. It is a math-related package, so I put it in maths.scm. The patch is really straightforward since it's a small package without any other dependencies than R and the R build system. Kind regards, Roel Janssen --=-=-=--