gnu: Add rust-gettext-rs-0.21.

* gnu/packages/crates-io.scm (rust-gettext-rs-0.21): New variable.
(rust-gettest-rs-0.19): Inherit from rust-gettext-rs-0.21.
This commit is contained in:
Efraim Flashner 2021-06-10 23:06:45 +03:00
parent 2f1e843774
commit e4e51dcd76
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -17115,8 +17115,37 @@ (define-public rust-gettext-rs-0.4
(("rust-gettext-sys" ,rust-gettext-sys-0.19)
("rust-locale-config" ,rust-locale-config-0.2))))))
(define-public rust-gettext-sys-0.21
(package
(name "rust-gettext-sys")
(version "0.21.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "gettext-sys" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"105d5zh67yc5vyzmqxdw7hx82h606ca6rzhsfjgzjczn2s012pc8"))
(modules '((guix build utils)))
(snippet
'(begin (delete-file "gettext-0.21.tar.xz") #t))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cc" ,rust-cc-1)
("rust-tempfile" ,rust-tempfile-3))))
(inputs
`(("gettext" ,gettext-minimal)))
(home-page "https://github.com/Koka/gettext-rs")
(synopsis "Gettext raw FFI bindings")
(description "This package provides raw FFI bindings for GNU Gettext.")
(license license:expat)))
(define-public rust-gettext-sys-0.19
(package
(inherit rust-gettext-sys-0.21)
(name "rust-gettext-sys")
(version "0.19.9")
(source
@ -17131,16 +17160,9 @@ (define-public rust-gettext-sys-0.19
(modules '((guix build utils)))
(snippet
'(begin (delete-file "gettext-0.19.8.1.tar.xz") #t))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cc" ,rust-cc-1))))
(inputs
`(("gettext" ,gettext-minimal)))
(home-page "https://github.com/Koka/gettext-rs")
(synopsis "Gettext raw FFI bindings")
(description "This package provides raw FFI bindings for GNU Gettext.")
(license license:expat)))
(("rust-cc" ,rust-cc-1))))))
(define-public rust-gfa-0.6
(package