guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Efraim Flashner
Subject: 03/09: gnu: gnuplot: Update to upstream's re-release of 5.0.4.
Date: Fri, 22 Jul 2016 15:25:07 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit 430e67a4596343ed215bee649fa13cca7687451f
Author: Efraim Flashner <address@hidden>
Date:   Fri Jul 22 15:27:16 2016 +0300

    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.
---
 gnu/packages/maths.scm |   55 ++++++++++++++++++++++++++----------------------
 1 file changed, 30 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index ef84986..ad7d0e2 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -380,35 +380,40 @@ singular value problems.")
                                 "See LICENSE in the distribution."))))
 
 (define-public gnuplot
-  (package
-    (name "gnuplot")
-    (version "5.0.4")
-    (source
-     (origin
-      (method url-fetch)
-      (uri (string-append "mirror://sourceforge/gnuplot/gnuplot/"
-                          version "/gnuplot-" version ".tar.gz"))
-      (sha256
-       (base32
-        "08vpmhl85l48xcccx8jrkamalih2d6z9ppqpsppwii9y2l1p3297"))))
-    (build-system gnu-build-system)
-    (inputs `(("readline" ,readline)
-              ("cairo" ,cairo)
-              ("pango" ,pango)
-              ("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
+  ;; Gnuplot version 5.0.4 was updated in-place, resulting in a hash mismatch.
+  ;; This can be removed at the next version update.
+  (let ((upstream-version "5.0.4")
+        (guix-revision "1"))
+    (package
+      (name "gnuplot")
+      (version (string-append upstream-version "-" guix-revision))
+      (source
+       (origin
+        (method url-fetch)
+        (uri (string-append "mirror://sourceforge/gnuplot/gnuplot/"
+                            upstream-version "/gnuplot-"
+                            upstream-version ".tar.gz"))
+        (sha256
+         (base32
+          "07n3w12dkcxjnhsvsliaqnkhajhi818v6q8mkpmpbplbf92vh70m"))))
+      (build-system gnu-build-system)
+      (inputs `(("readline" ,readline)
+                ("cairo" ,cairo)
+                ("pango" ,pango)
+                ("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
 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
 plotting engine by third-party applications like Octave.")
-    ;;  X11 Style with the additional restriction that derived works may only 
be
-    ;;  distributed as patches to the original.
-    (license (license:fsf-free
-              
"http://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/Copyright";))))
+      ;;  X11 Style with the additional restriction that derived works may 
only be
+      ;;  distributed as patches to the original.
+      (license (license:fsf-free
+                
"http://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/Copyright";)))))
 
 (define-public hdf5
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]