mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add perl-math-interpolate.
* gnu/packages/perl-maths.scm (perl-math-interpolate): New variable. Change-Id: I4b5b9585e53845fb1ec226a0e350fe38ec859916
This commit is contained in:
parent
261f179c74
commit
ea41557c9f
1 changed files with 30 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
|||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix gexp)
|
||||
#:use-module (guix build-system perl)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages gcc)
|
||||
|
@ -75,6 +76,35 @@ It implements the data type \"matrix of real numbers\" (and consequently also
|
|||
\"vector of real numbers\").")
|
||||
(license license:perl-license)))
|
||||
|
||||
(define-public perl-math-interpolate
|
||||
(package
|
||||
(name "perl-math-interpolate")
|
||||
(version "1.06")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"mirror://cpan/authors/id/B/BZ/BZAJAC/Math-Interpolate-" version
|
||||
".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0snfrg9vk0f9bznpv274f21p65gxv08x4m1myg2l5k4yvyzjyl54"))))
|
||||
(build-system perl-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch
|
||||
(lambda _
|
||||
;; perl doesn't like the original format.
|
||||
(substitute* "Makefile.PL"
|
||||
(("'MIN_PERL_VERSION'[ \t]*=>[ \t]*'5.004_01'")
|
||||
"'MIN_PERL_VERSION' => '5.005'")))))))
|
||||
(home-page "https://metacpan.org/release/Math-Interpolate")
|
||||
(synopsis "Interpolate the value Y from X using a list of (X, Y) pairs")
|
||||
(description "This packages allows you to interpolate the value Y from X
|
||||
using a list of (X, Y) pairs.")
|
||||
(license license:perl-license)))
|
||||
|
||||
;; This is NOT compatible with perl-pdl-2.095
|
||||
(define-public perl-pdl-2.019
|
||||
(package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue