From d9bb7c5f371d33ccccb27f3895b74372b3aaa581 Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Mon, 20 Jan 2020 03:46:42 +0300 Subject: [PATCH 166/275] gnu: Add rust-dlib-0.4. * gnu/packages/crates-io.scm (rust-dlib-0.4): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 15a79502c5..65edd4fc67 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2972,6 +2972,31 @@ hexadecimal, base32, and base64.") (base32 "17giv0n0n1r64z0dahfvkjy3ys517jxyhs8sd9lmgvcljpjyryxa")))))) +(define-public rust-dlib-0.4 + (package + (name "rust-dlib") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "dlib" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0smp2cdvy12xfw26qyqms273w5anszfadv73g75s88yqm54i5rbp")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libloading" ,rust-libloading-0.5)))) + (home-page "https://github.com/vberger/dlib") + (synopsis + "Helper macros for handling manually loading optional system libraries") + (description + "Helper macros for handling manually loading optional system libraries.") + (license license:expat))) + (define-public rust-cpp-demangle-0.2 (package (name "rust-cpp-demangle") -- 2.25.0