gnu: gnuplot: Update to upstream's re-release of 5.0.4.

* gnu/packages/maths.scm (gnuplot): Add a guix revision number to the
version scheme of gnuplot to force an update.
This commit is contained in:
Efraim Flashner 2016-07-22 15:27:16 +03:00
parent 18d4d10f34
commit 430e67a459
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 30 additions and 25 deletions

View File

@ -380,35 +380,40 @@ singular value problems.")
"See LICENSE in the distribution.")))) "See LICENSE in the distribution."))))
(define-public gnuplot (define-public gnuplot
(package ;; Gnuplot version 5.0.4 was updated in-place, resulting in a hash mismatch.
(name "gnuplot") ;; This can be removed at the next version update.
(version "5.0.4") (let ((upstream-version "5.0.4")
(source (guix-revision "1"))
(origin (package
(method url-fetch) (name "gnuplot")
(uri (string-append "mirror://sourceforge/gnuplot/gnuplot/" (version (string-append upstream-version "-" guix-revision))
version "/gnuplot-" version ".tar.gz")) (source
(sha256 (origin
(base32 (method url-fetch)
"08vpmhl85l48xcccx8jrkamalih2d6z9ppqpsppwii9y2l1p3297")))) (uri (string-append "mirror://sourceforge/gnuplot/gnuplot/"
(build-system gnu-build-system) upstream-version "/gnuplot-"
(inputs `(("readline" ,readline) upstream-version ".tar.gz"))
("cairo" ,cairo) (sha256
("pango" ,pango) (base32
("gd" ,gd))) "07n3w12dkcxjnhsvsliaqnkhajhi818v6q8mkpmpbplbf92vh70m"))))
(native-inputs `(("pkg-config" ,pkg-config) (build-system gnu-build-system)
("texlive" ,texlive-minimal))) (inputs `(("readline" ,readline)
(home-page "http://www.gnuplot.info") ("cairo" ,cairo)
(synopsis "Command-line driven graphing utility") ("pango" ,pango)
(description "Gnuplot is a portable command-line driven graphing ("gd" ,gd)))
(native-inputs `(("pkg-config" ,pkg-config)
("texlive" ,texlive-minimal)))
(home-page "http://www.gnuplot.info")
(synopsis "Command-line driven graphing utility")
(description "Gnuplot is a portable command-line driven graphing
utility. It was originally created to allow scientists and students to utility. It was originally created to allow scientists and students to
visualize mathematical functions and data interactively, but has grown to visualize mathematical functions and data interactively, but has grown to
support many non-interactive uses such as web scripting. It is also used as a support many non-interactive uses such as web scripting. It is also used as a
plotting engine by third-party applications like Octave.") plotting engine by third-party applications like Octave.")
;; X11 Style with the additional restriction that derived works may only be ;; X11 Style with the additional restriction that derived works may only be
;; distributed as patches to the original. ;; distributed as patches to the original.
(license (license:fsf-free (license (license:fsf-free
"http://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/Copyright")))) "http://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/Copyright")))))
(define-public hdf5 (define-public hdf5
(package (package