mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
gnu: Add rust-zstd-sys-2.
* gnu/packages/crates-io.scm (rust-zstd-sys-2): New variable. (rust-zstd-sys-1): Inherit from rust-zstd-sys-2.
This commit is contained in:
parent
750f2ec932
commit
dfa0832702
1 changed files with 28 additions and 7 deletions
|
@ -72362,9 +72362,36 @@ (define-public rust-zstd-safe-3
|
|||
(("rust-libc" ,rust-libc-0.2)
|
||||
("rust-zstd-sys" ,rust-zstd-sys-1))))))
|
||||
|
||||
;; TODO: Unbundle zstd.
|
||||
(define-public rust-zstd-sys-2
|
||||
(package
|
||||
(name "rust-zstd-sys")
|
||||
(version "2.0.7+zstd.1.5.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "zstd-sys" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1xf7ng97h6h89bvisllj05vapkqcacn88y9bfm6jjmgyl8xrql4l"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-bindgen" ,rust-bindgen-0.63)
|
||||
("rust-cc" ,rust-cc-1)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-pkg-config" ,rust-pkg-config-0.3))))
|
||||
(home-page "https://github.com/gyscos/zstd-rs")
|
||||
(synopsis "Low-level bindings to the zstd compression library")
|
||||
(description "This package provides low-level Rust bindings to the zstd
|
||||
compression library.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
;; TODO: Unbundle zstd.
|
||||
(define-public rust-zstd-sys-1
|
||||
(package
|
||||
(inherit rust-zstd-sys-2)
|
||||
(name "rust-zstd-sys")
|
||||
(version "1.6.1+zstd.1.5.0")
|
||||
(source
|
||||
|
@ -72375,18 +72402,12 @@ (define-public rust-zstd-sys-1
|
|||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0cra76lginz5k659rch7axg5nyms67yffygr3k7ic7a3lb3j0lb1"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-bindgen" ,rust-bindgen-0.58)
|
||||
("rust-cc" ,rust-cc-1)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-pkg-config" ,rust-pkg-config-0.3))))
|
||||
(home-page "https://github.com/gyscos/zstd-rs")
|
||||
(synopsis "Low-level bindings to the zstd compression library")
|
||||
(description "This package provides low-level Rust bindings to the zstd
|
||||
compression library.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-pkg-config" ,rust-pkg-config-0.3))))))
|
||||
|
||||
;;;
|
||||
;;; Avoid adding new packages to the end of this file. To reduce the chances
|
||||
|
|
Loading…
Reference in a new issue