Commit | Line | Data |
---|---|---|
f3318fef RW |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net> | |
3 | ;;; | |
4 | ;;; This file is part of GNU Guix. | |
5 | ;;; | |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
7 | ;;; under the terms of the GNU General Public License as published by | |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
18 | ||
19 | (define-module (gnu packages perl-maths) | |
20 | #:use-module ((guix licenses) #:prefix license:) | |
21 | #:use-module (guix packages) | |
22 | #:use-module (guix download) | |
23 | #:use-module (guix build-system perl) | |
24 | #:use-module (gnu packages perl) | |
25 | #:use-module (gnu packages perl-check)) | |
26 | ||
1c701708 RW |
27 | (define-public perl-math-cephes |
28 | (package | |
29 | (name "perl-math-cephes") | |
30 | (version "0.5305") | |
31 | (source (origin | |
32 | (method url-fetch) | |
33 | (uri (string-append | |
34 | "mirror://cpan/authors/id/S/SH/SHLOMIF/Math-Cephes-" | |
35 | version ".tar.gz")) | |
36 | (sha256 | |
37 | (base32 | |
38 | "18c3xg53d1vv7hlj43601jj7ks119fm6ndpwpv94irr2905806jn")))) | |
39 | (build-system perl-build-system) | |
40 | (home-page "https://metacpan.org/release/Math-Cephes") | |
41 | (synopsis "Perl interface to the Cephes math library") | |
42 | (description "The Math::Cephes module provides a Perl interface to over | |
43 | 150 functions of the Cephes math library.") | |
44 | (license license:perl-license))) | |
45 | ||
f3318fef RW |
46 | (define-public perl-math-matrixreal |
47 | (package | |
48 | (name "perl-math-matrixreal") | |
49 | (version "2.13") | |
50 | (source (origin | |
51 | (method url-fetch) | |
52 | (uri (string-append | |
53 | "mirror://cpan/authors/id/L/LE/LETO/Math-MatrixReal-" | |
54 | version ".tar.gz")) | |
55 | (sha256 | |
56 | (base32 | |
57 | "1cml5wqd99hm398gl8f147ccsck9v179l7a6vqjj4kfkdnja37sg")))) | |
58 | (build-system perl-build-system) | |
59 | (native-inputs | |
60 | `(("perl-module-build" ,perl-module-build) | |
61 | ("perl-test-most" ,perl-test-most))) | |
62 | (home-page "https://metacpan.org/release/Math-MatrixReal") | |
63 | (synopsis "Manipulate NxN matrices of real numbers") | |
64 | (description "This package provides the @code{Math::MatrixReal} module. | |
65 | It implements the data type \"matrix of real numbers\" (and consequently also | |
66 | \"vector of real numbers\").") | |
67 | (license license:perl-license))) |