summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2016-11-24 17:05:47 +0100
committerMarius Bakke <mbakke@fastmail.com>2016-11-26 09:09:17 +0100
commit3ad8cb4163deee77882ee4bded83a548752b896f (patch)
treed422366f04ee2fb8b524557b4e4e307a30fa35a8 /gnu/packages
parentc254ac32004a4407d73ab254bc1c44eed0220355 (diff)
gnu: sqlite: Update to 3.15.1.
* gnu/packages/databases.scm (sqlite): Update to 3.15.1. [source]: Download from sqlite.org. [home-page]: Use HTTPS. (sqlite-3.15.1): Remove. * gnu/packages/php.scm (php)[inputs]: Change 'sqlite-3.15.1' to 'sqlite'.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/databases.scm45
-rw-r--r--gnu/packages/php.scm2
2 files changed, 6 insertions, 41 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index d6746f092f6..859e242cc78 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -507,12 +507,9 @@ for example from a shell script.")
507(define-public sqlite 507(define-public sqlite
508 (package 508 (package
509 (name "sqlite") 509 (name "sqlite")
510 (version "3.14.1") 510 (version "3.15.1")
511 (source (origin 511 (source (origin
512 (method url-fetch) 512 (method url-fetch)
513 ;; TODO: Download from sqlite.org once this bug :
514 ;; http://lists.gnu.org/archive/html/bug-guile/2013-01/msg00027.html
515 ;; has been fixed.
516 (uri (let ((numeric-version 513 (uri (let ((numeric-version
517 (match (string-split version #\.) 514 (match (string-split version #\.)
518 ((first-digit other-digits ...) 515 ((first-digit other-digits ...)
@@ -522,23 +519,11 @@ for example from a shell script.")
522 (map (cut string-pad <> 2 #\0) 519 (map (cut string-pad <> 2 #\0)
523 other-digits)) 520 other-digits))
524 6 #\0)))))) 521 6 #\0))))))
525 (list 522 (string-append "https://sqlite.org/2016/sqlite-autoconf-"
526 (string-append 523 numeric-version ".tar.gz")))
527 "https://fossies.org/linux/misc/sqlite-autoconf-"
528 numeric-version ".tar.gz")
529 (string-append
530 "http://distfiles.gentoo.org/distfiles/"
531 "/sqlite-autoconf-" numeric-version ".tar.gz"))
532
533 ;; XXX: As of 2015-09-08, SourceForge is squatting the URL
534 ;; below, returning 200 and showing an advertising page.
535 ;; (string-append
536 ;; "mirror://sourceforge/sqlite.mirror/SQLite%20" version
537 ;; "/sqlite-autoconf-" numeric-version ".tar.gz")
538 ))
539 (sha256 524 (sha256
540 (base32 525 (base32
541 "19j73j44akqgc6m82wm98yvnmm3mfzmfqr8mp3n7n080d53q4wdw")))) 526 "1ig2d9jzzixiifmgqsl6kjcvy17jwxby3s24gfnc5qvyd6vqkyjx"))))
542 (build-system gnu-build-system) 527 (build-system gnu-build-system)
543 (inputs `(("readline" ,readline))) 528 (inputs `(("readline" ,readline)))
544 (arguments 529 (arguments
@@ -549,7 +534,7 @@ for example from a shell script.")
549 (list (string-append "CFLAGS=-O2 -DSQLITE_SECURE_DELETE " 534 (list (string-append "CFLAGS=-O2 -DSQLITE_SECURE_DELETE "
550 "-DSQLITE_ENABLE_UNLOCK_NOTIFY " 535 "-DSQLITE_ENABLE_UNLOCK_NOTIFY "
551 "-DSQLITE_ENABLE_DBSTAT_VTAB")))) 536 "-DSQLITE_ENABLE_DBSTAT_VTAB"))))
552 (home-page "http://www.sqlite.org/") 537 (home-page "https://www.sqlite.org/")
553 (synopsis "The SQLite database management system") 538 (synopsis "The SQLite database management system")
554 (description 539 (description
555 "SQLite is a software library that implements a self-contained, serverless, 540 "SQLite is a software library that implements a self-contained, serverless,
@@ -558,26 +543,6 @@ widely deployed SQL database engine in the world. The source code for SQLite
558is in the public domain.") 543is in the public domain.")
559 (license public-domain))) 544 (license public-domain)))
560 545
561(define-public sqlite-3.15.1
562 (package (inherit sqlite)
563 (version "3.15.1")
564 (source (origin
565 (method url-fetch)
566 (uri (let ((numeric-version
567 (match (string-split version #\.)
568 ((first-digit other-digits ...)
569 (string-append first-digit
570 (string-pad-right
571 (string-concatenate
572 (map (cut string-pad <> 2 #\0)
573 other-digits))
574 6 #\0))))))
575 (string-append "https://sqlite.org/2016/sqlite-autoconf-"
576 numeric-version ".tar.gz")))
577 (sha256
578 (base32
579 "1ig2d9jzzixiifmgqsl6kjcvy17jwxby3s24gfnc5qvyd6vqkyjx"))))))
580
581(define-public tdb 546(define-public tdb
582 (package 547 (package
583 (name "tdb") 548 (name "tdb")
diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm
index 9ccbede873c..245892f6e8f 100644
--- a/gnu/packages/php.scm
+++ b/gnu/packages/php.scm
@@ -309,7 +309,7 @@
309 ("pcre" ,pcre) 309 ("pcre" ,pcre)
310 ("postgresql" ,postgresql) 310 ("postgresql" ,postgresql)
311 ("readline" ,readline) 311 ("readline" ,readline)
312 ("sqlite" ,sqlite-3.15.1) 312 ("sqlite" ,sqlite)
313 ("tidy" ,tidy) 313 ("tidy" ,tidy)
314 ("zip" ,zip) 314 ("zip" ,zip)
315 ("zlib" ,zlib))) 315 ("zlib" ,zlib)))