me
/
guix
Archived
1
0
Fork 0

gnu: fossil: Update to 2.17.

* gnu/packages/version-control.scm (fossil): Update to 2.17.
[source](uri): Adjust.
[inputs]: Change from SQLITE to SQLITE-NEXT.
[arguments]: Remove trailing #t's.
master
Marius Bakke 2021-12-13 16:44:55 +01:00
parent 50b36f688b
commit e1dc580bdf
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 12 additions and 14 deletions

View File

@ -2614,15 +2614,16 @@ by rclone usable with git-annex.")
(define-public fossil (define-public fossil
(package (package
(name "fossil") (name "fossil")
(version "2.14") (version "2.17")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
"https://www.fossil-scm.org/index.html/uv/" "https://www.fossil-scm.org/home/tarball/"
"fossil-src-" version ".tar.gz")) "f48180f2ff3169651a725396d4f7d667c99a92873b9c3df7eee2f144be7a0721"
"/fossil-src-" version ".tar.gz"))
(sha256 (sha256
(base32 "1fazl117ph5z7xg7h6w7i32sf7rsa67499rg2llsxn3d34hckl5q")) (base32 "1gvx6xzrw1a8snlq9qmr6099r44ifghg0h0fw4jazqmmyxriqzsw"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
@ -2633,7 +2634,7 @@ by rclone usable with git-annex.")
which ;for tests only which ;for tests only
ed)) ;ditto ed)) ;ditto
(inputs (inputs
(list openssl zlib sqlite)) (list openssl zlib sqlite-next)) ;SQLite 3.37 or later
(arguments (arguments
`(#:configure-flags (list "--with-openssl=auto" `(#:configure-flags (list "--with-openssl=auto"
"--disable-internal-sqlite") "--disable-internal-sqlite")
@ -2642,8 +2643,7 @@ by rclone usable with git-annex.")
(add-after 'patch-source-shebangs 'patch-sh (add-after 'patch-source-shebangs 'patch-sh
(lambda _ (lambda _
(substitute* '("auto.def") (substitute* '("auto.def")
(("/bin/sh") (which "sh"))) (("/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)
@ -2653,13 +2653,11 @@ by rclone usable with git-annex.")
"./configure" "./configure"
(string-append "--prefix=" (string-append "--prefix="
(assoc-ref outputs "out")) (assoc-ref outputs "out"))
configure-flags) configure-flags)))
#t))
(add-before 'check 'test-setup (add-before 'check 'test-setup
(lambda _ (lambda _
(setenv "USER" "guix") (setenv "USER" "guix")
(setenv "TZ" "UTC") (setenv "TZ" "UTC"))))))
#t)))))
(home-page "https://fossil-scm.org") (home-page "https://fossil-scm.org")
(synopsis "Software configuration management system") (synopsis "Software configuration management system")
(description (description