mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-19 15:45:58 +02:00
gnu: Add ruby-sqlite3-1.4.
* gnu/packages/ruby.scm (ruby-sqlite3-1.4): New variable. Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
committed by
Andreas Enge
parent
f1ba9e53ad
commit
c287984916
@@ -11448,6 +11448,32 @@ engine.")
|
||||
"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")
|
||||
|
||||
Reference in New Issue
Block a user