gnu: Add rust-sqlite3-src-0.6.

* gnu/packages/crates-database.scm (rust-sqlite3-src-0.6): New variable.
(rust-sqlite3-src-0.5): Inherit from rust-sqlite3-src-0.6.

Change-Id: I31cabfb0b0f1c512e76faae05fa8dcab98b53eaf
This commit is contained in:
Efraim Flashner 2024-12-30 21:13:35 +02:00
parent 8fc8467ff9
commit edf4a28974
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -962,8 +962,30 @@ (define-public rust-sqlite3-parser-0.12
("rust-uncased" ,rust-uncased-0.9))
#:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10))))))
(define-public rust-sqlite3-src-0.6
(package
(name "rust-sqlite3-src")
(version "0.6.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "sqlite3-src" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0jkvjhgrfsq5m2ps3hh792mamwv8v6kf2gdj3wldn9vwyxnllk8p"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-cc" ,rust-cc-1)
("rust-pkg-config" ,rust-pkg-config-0.3))))
(inputs (list sqlite))
(home-page "https://github.com/stainless-steel/sqlite3-src")
(synopsis "Provider of SQLite")
(description "The package provides SQLite.")
(license (list license:asl2.0 license:expat))))
(define-public rust-sqlite3-src-0.5
(package
(inherit rust-sqlite3-src-0.6)
(name "rust-sqlite3-src")
(version "0.5.1")
(source
@ -983,15 +1005,9 @@ (define-public rust-sqlite3-src-0.5
(format #t "fn main (){~@
println!(\"cargo:rustc-link-lib=sqlite3\");~@
}~%")))))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-cc" ,rust-cc-1)
("rust-pkg-config" ,rust-pkg-config-0.3))))
(inputs (list sqlite))
(home-page "https://github.com/stainless-steel/sqlite3-src")
(synopsis "Provider of SQLite")
(description "The package provides SQLite.")
(license (list license:asl2.0 license:expat))))
("rust-pkg-config" ,rust-pkg-config-0.3))))))
(define-public rust-sqlite3-src-0.4
(package