From e503211105dcea18e9c13aaf49398ce42c7a7347 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Thu, 24 Sep 2020 10:26:05 +0200 Subject: gnu: cuirass: Update to 0.0.1-47.b310f17. This update add support for SQL queries logging. * gnu/packages/ci.scm (guile-sqlite3-dev): New variable. (cuirass): Update to 0.0.1-47.b310f17. [inputs]: Use guile-sqlite3-dev instead of guile-sqlite3. --- gnu/packages/ci.scm | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/gnu/packages/ci.scm b/gnu/packages/ci.scm index 73878d8b49..e0d12537b4 100644 --- a/gnu/packages/ci.scm +++ b/gnu/packages/ci.scm @@ -39,6 +39,7 @@ (define-module (gnu packages ci) #:use-module (gnu packages perl) #:use-module (gnu packages perl-compression) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages sqlite) #:use-module (gnu packages tls) #:use-module (gnu packages texinfo) #:use-module (gnu packages version-control) @@ -46,9 +47,29 @@ (define-module (gnu packages ci) #:use-module (gnu packages xml) #:use-module (guix build-system gnu)) +;; Guile-Sqlite3 package adding SQL query logging support. +;; Remove it when next Guile-Sqlite3 release is out. +(define-public guile-sqlite3-dev + (let ((commit "22ef45d268de7707cbbb943c404f9b0c1668e2e1") + (revision "1")) + (package + (inherit guile-sqlite3) + (name "guile-sqlite3") + (version (git-version "0.1.2" revision commit)) + (home-page "https://notabug.org/mothacehe/guile-sqlite3.git") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit commit))) + (sha256 + (base32 + "1q90f8zhw9n1c39szd2ba7aj5fi92m09pnlv0z7jbhnnjam5jwcd")) + (file-name (string-append name "-" version "-checkout"))))))) + (define-public cuirass - (let ((commit "d22ffdfa2ab2e692e41dbc8c2e6c4d25a79ee9cd") - (revision "46")) + (let ((commit "b310f17aaff8f17af0e7cf77b0b9d6866fe89abe") + (revision "47")) (package (name "cuirass") (version (git-version "0.0.1" revision commit)) @@ -60,7 +81,7 @@ (define-public cuirass (file-name (git-file-name name version)) (sha256 (base32 - "00649cjc7a1dny2xpqa2qa5hjqdbxyqwfhdbf5ax02ncnn6vwkas")))) + "19cgwqsgikn2mf95406jzsaqa65whh8ygqripawnzl0hl7pnmrvn")))) (build-system gnu-build-system) (arguments '(#:modules ((guix build utils) @@ -126,7 +147,7 @@ (define-public cuirass ("guile-fibers" ,guile-fibers) ("guile-gcrypt" ,guile-gcrypt) ("guile-json" ,guile-json-4) - ("guile-sqlite3" ,guile-sqlite3) + ("guile-sqlite3" ,guile-sqlite3-dev) ("guile-git" ,guile-git) ("guile-zlib" ,guile-zlib) ;; FIXME: this is propagated by "guile-git", but it needs to be among -- cgit v1.2.3