Archived
1
0
Fork 0

gnu: muparser: Update source URL.

* gnu/packages/maths.scm (muparser)[source]: Update source URL to new location.
Use URL-FETCH instead of SVN-FETCH. Update hash and package revision.
This commit is contained in:
Leo Famulari 2016-07-20 02:17:30 -04:00
parent de67e92288
commit d7cff656df
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -13,6 +13,7 @@
;;; Copyright © 2016 Roel Janssen <roel@gnu.org> ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org> ;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -35,7 +36,6 @@
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix svn-download)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (guix build utils) #:use-module (guix build utils)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
@ -1798,29 +1798,36 @@ associated functions (eg. contiguous and non-contiguous submatrix views).")
"1cdpjxb0fz5f28y5qrqgpw53s7qi8s2v3al9lfdldqxngb21vpx8")))))) "1cdpjxb0fz5f28y5qrqgpw53s7qi8s2v3al9lfdldqxngb21vpx8"))))))
(define-public muparser (define-public muparser
(package ;; When switching download sites, muparser re-issued a 2.2.5 release with a
(name "muparser") ;; different hash. In order to make `guix package --upgrade` work correctly,
(version "2.2.5") ;; we set a Guix packaging revision.
(source ;; When the next version of muparser is released, we can remove
(origin ;; UPSTREAM-VERSION and REVISION and use the plain VERSION.
(method svn-fetch) (let ((upstream-version "2.2.5")
(uri (svn-reference (revision "2"))
(url "http://muparser.googlecode.com/svn/trunk/") (package
(revision 34))) (name "muparser")
(sha256 (version (string-append upstream-version "-" revision))
(base32 (source
"1d6bdbhx9zj3srwj3m7c9hvr18gnx1fx43h6d25my7q85gicpcwn")))) (origin
(build-system gnu-build-system) (method url-fetch)
(arguments (uri (string-append "https://github.com/beltoforion/muparser/archive/v"
`(#:configure-flags '("--enable-samples=no") upstream-version ".tar.gz"))
#:tests? #f)) ;no "check" target (file-name (string-append name "-" version ".tar.gz"))
(home-page "http://muparser.beltoforion.de/") (sha256
(synopsis "Fast parser library for mathematical expressions") (base32
(description "0277qsi5l23jsck1vhn383bmvc2n9l4a1dl5r9bf7hvjv9ayyrh6"))))
"muParser is an extensible high performance math parser library. It is (build-system gnu-build-system)
based on transforming an expression into a bytecode and precalculating (arguments
constant parts of it.") `(#:configure-flags '("--enable-samples=no")
(license license:expat))) #:tests? #f)) ;no "check" target
(home-page "http://muparser.beltoforion.de/")
(synopsis "Fast parser library for mathematical expressions")
(description
"muParser is an extensible high performance math parser library. It is
based on transforming an expression into a bytecode and precalculating constant
parts of it.")
(license license:expat))))
(define-public openblas (define-public openblas
(package (package