1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 18:40:57 +02:00

gnu: perl-pgplot: Move to perl-maths.

* gnu/packages/maths.scm (perl-pgplot): Move to...
* gnu/packages/perl-maths.scm (perl-pgplot): ...here.
[native-inputs]: Add perl-pdl.

Change-Id: I58933c0dc54a8b9a5bba71cc8b9831261c9ee326
This commit is contained in:
Danny Milosavljevic 2025-05-10 22:31:51 +02:00
parent 6cc3f8e78b
commit 1ea5aa3660
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5
2 changed files with 28 additions and 28 deletions

View file

@ -1423,34 +1423,6 @@ in the terminal or with an external viewer.")
@code{cairo} that provides uniform output to multiple devices.")
(license license:gpl2+)))
(define-public perl-pgplot
(package
(name "perl-pgplot")
(version "2.35")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/PDLPorters/perl5-PGPLOT.git")
(commit version)))
(sha256
(base32 "0i9bi52pwbi3qnalm288ihdlwsvn9wwi5rhmspqbna3pfqjhc29c"))))
(build-system perl-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'setenv
(lambda* (#:key inputs #:allow-other-keys)
(setenv "PGPLOT_DIR" (string-append (assoc-ref inputs "giza") "/lib")))))))
(inputs (list giza libx11))
(native-inputs (list perl-devel-checklib perl-extutils-f77 gfortran))
(home-page "https://metacpan.org/release/PGPLOT")
(synopsis "Scientific plotting library (using giza)")
(description "This package provides PGPLOT bindings for Perl. It uses
giza instead of PGPLOT for the implementation, though.")
;; Since giza is GPL2+, so is this.
(license license:gpl2+)))
(define-public gnuplot
(package
(name "gnuplot")

View file

@ -242,3 +242,31 @@ Perl Data Language.")
(description "This package provides modules to do 3D graphics in PDL.")
(home-page "https://github.com/PDLPorters/")
(license license:perl-license)))
(define-public perl-pgplot
(package
(name "perl-pgplot")
(version "2.35")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/PDLPorters/perl5-PGPLOT.git")
(commit version)))
(sha256
(base32 "0i9bi52pwbi3qnalm288ihdlwsvn9wwi5rhmspqbna3pfqjhc29c"))))
(build-system perl-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'setenv
(lambda* (#:key inputs #:allow-other-keys)
(setenv "PGPLOT_DIR" (string-append (assoc-ref inputs "giza") "/lib")))))))
(inputs (list giza libx11))
(native-inputs (list perl-devel-checklib perl-extutils-f77 gfortran perl-pdl))
(home-page "https://metacpan.org/release/PGPLOT")
(synopsis "Scientific plotting library (using giza)")
(description "This package provides PGPLOT bindings for Perl. It uses
giza instead of PGPLOT for the implementation, though.")
;; Since giza is GPL2+, so is this.
(license license:gpl2+)))