gnu: fossil: Update to 2.8.

* gnu/packages/version-control.scm (fossil): Update to 2.8.
[inputs]: Remove sqlite, add sqlite@3.26.
[arguments]: Add custom phase to patch more shebangs.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Jovany Leandro G.C 2019-02-23 11:13:47 -05:00 committed by Efraim Flashner
parent cfae5382fe
commit 66d05055bb
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 9 additions and 3 deletions

View File

@ -22,6 +22,7 @@
;;; Copyright © 2018 Christopher Baines <mail@cbaines.net> ;;; Copyright © 2018 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2018 Timothy Sample <samplet@ngyro.com> ;;; Copyright © 2018 Timothy Sample <samplet@ngyro.com>
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2019 Jovany Leandro G.C <bit4bit@riseup.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -1867,7 +1868,7 @@ repository\" with git-annex.")
(define-public fossil (define-public fossil
(package (package
(name "fossil") (name "fossil")
(version "2.5") (version "2.8")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -1881,7 +1882,7 @@ repository\" with git-annex.")
"fossil-src-" version ".tar.gz"))) "fossil-src-" version ".tar.gz")))
(sha256 (sha256
(base32 (base32
"1lxawkhr1ki9fqw8076fxib2b1w673449yzb6vxjshqzh5h77c7r")))) "0pbinf8d2kj1j7niblhzjd2l2khg6r2pn2xvig6gavz27p3vwcka"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("tcl" ,tcl) ;for configuration only `(("tcl" ,tcl) ;for configuration only
@ -1890,12 +1891,17 @@ repository\" with git-annex.")
(inputs (inputs
`(("openssl" ,openssl) `(("openssl" ,openssl)
("zlib" ,zlib) ("zlib" ,zlib)
("sqlite" ,sqlite))) ("sqlite" ,sqlite-3.26.0)))
(arguments (arguments
`(#:configure-flags (list "--with-openssl=auto" `(#:configure-flags (list "--with-openssl=auto"
"--disable-internal-sqlite") "--disable-internal-sqlite")
#:test-target "test" #:test-target "test"
#:phases (modify-phases %standard-phases #:phases (modify-phases %standard-phases
(add-after 'patch-source-shebangs 'patch-sh
(lambda _
(substitute* '("auto.def")
(("/bin/sh") (which "sh")))
#t))
(replace 'configure (replace 'configure
(lambda* (#:key outputs (configure-flags '()) (lambda* (#:key outputs (configure-flags '())
#:allow-other-keys) #:allow-other-keys)