GNU bug report logs - #78683
[PATCH ruby-team 0/2] Last patches before merging ruby-team

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Tue, 3 Jun 2025 16:59:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78683 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [bug#78683] [PATCH v2 1/7] gnu: Add ruby-sqlite3-1.4.
Date: Thu,  5 Jun 2025 03:13:20 +0200
* gnu/packages/ruby.scm (ruby-sqlite3-1.4): New variable.
---
 gnu/packages/ruby.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index d803d0f796..4b929b5bcb 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -11426,6 +11426,32 @@ (define-public ruby-sqlite3
      "https://github.com/sparklemotion/sqlite3-ruby")
     (license license:bsd-3)))
 
+(define-public ruby-sqlite3-1.4
+  (package/inherit ruby-sqlite3
+    (name "ruby-sqlite3")
+    (version "1.4.4")
+    (source
+     (origin
+       (method git-fetch)        ;for tests
+       (uri (git-reference
+             (url "https://github.com/sparklemotion/sqlite3-ruby")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0ngirjbai3f5ki2sf6m4gxbbrjpr3b35bz5nrz1cifyw1jk6a6sr"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments ruby-sqlite3)
+       ((#:tests? #t #t) #f)
+       ((#:phases phases #~%standard-phases)
+        #~(modify-phases #$phases
+            (delete 'relax-requirements)
+            (add-after 'unpack 'fix-version
+              (lambda _
+                (substitute* "sqlite3.gemspec"
+                  (("s\\.version = .*")
+                   (format #f "s.version = ~s~%" #$version)))))))))))
+
 (define-public ruby-shoulda-context
   (package
     (name "ruby-shoulda-context")
-- 
2.49.0





This bug report was last modified 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.