From 15b6bb4198e9eeed80c249e46ececfd054018d10 Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Sat, 18 Jan 2020 20:56:01 +0300 Subject: [PATCH] gnu: Add rust-shared-library-0.1. * gnu/packages/crates-io.scm (rust-shared-library-0.1): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e35cf774b5..ae00f6b360 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12172,6 +12172,30 @@ for the serde framework.") "A library for using child processes from multiple threads.") (license license:expat))) +(define-public rust-shared-library-0.1 + (package + (name "rust-shared-library") + (version "0.1.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "shared_library" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04fs37kdak051hm524a360978g58ayrcarjsbf54vqps5c7px7js")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/tomaka/shared_library/") + (synopsis "Bind to and load shared libraries") + (description + "This package allows easy binding to, and loading of, shared libraries.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-shlex-0.1 (package (name "rust-shlex")