aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-07-26 00:47:48 +0200
committerMarius Bakke <marius@gnu.org>2022-07-27 12:31:25 +0200
commit28364584af22b9367615b08c77e81474d255d641 (patch)
tree5c6a90d4923c201912bf1ecf24e444c0040a2c34 /gnu
parent65a0cb14cd27bfe53a233dd391e451dc3ffd7fca (diff)
downloadguix-28364584af22b9367615b08c77e81474d255d641.tar
guix-28364584af22b9367615b08c77e81474d255d641.tar.gz
gnu: rust-dlib: Add 0.5.0.
* gnu/packages/crates-io.scm (rust-dlib-0.5): New variable. (rust-dlib-0.4): Inherit from it.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm34
1 files changed, 26 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 544d85a544..0802330a78 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18420,8 +18420,33 @@ Central Dispatch.")
Google's diff-match-patch.")
(license (list license:expat license:asl2.0))))
+(define-public rust-dlib-0.5
+ (package
+ (name "rust-dlib")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dlib" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1547hy7nrhkrb2i09va244c0h8mr845ccbs2d2mc414c68bpa6xc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;FIXME: Several macros are not found.
+ #:cargo-inputs
+ (("rust-libloading" ,rust-libloading-0.7))))
+ (home-page "https://github.com/vberger/dlib")
+ (synopsis "Helper macros for manually loading optional system libraries")
+ (description
+ "This package provides helper macros for handling manually loading optional
+system libraries.")
+ (license license:expat)))
+
(define-public rust-dlib-0.4
(package
+ (inherit rust-dlib-0.5)
(name "rust-dlib")
(version "0.4.2")
(source
@@ -18433,18 +18458,11 @@ Google's diff-match-patch.")
(sha256
(base32
"0xlsf3lrz9hd7q3ff6lp5mw4kn3nbryn746kd07i93r6wg8ia7xi"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-libloading" ,rust-libloading-0.6))))
(inputs
- (list rust-libloading-0.6))
- (home-page "https://github.com/vberger/dlib")
- (synopsis "Helper macros for manually loading optional system libraries")
- (description
- "This package provides helper macros for handling manually loading optional
-system libraries.")
- (license license:expat)))
+ (list rust-libloading-0.6))))
(define-public rust-dlv-list-0.2
(package