guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

106/475: gnu: Add rust-include-dir-0.7.


From: guix-commits
Subject: 106/475: gnu: Add rust-include-dir-0.7.
Date: Sun, 7 May 2023 12:46:20 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 082c80d543decd17a374da01cebdd95af5c28356
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 12:17:28 2023 +0200

    gnu: Add rust-include-dir-0.7.
    
    * gnu/packages/crates-io.scm (rust-include-dir-0.7): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a42b4d009f..a94ee9bcaa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28233,6 +28233,29 @@ for @code{uint} and @code{fixed_hash}.")
 a trait for tuples.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-include-dir-0.7
+  (package
+    (name "rust-include-dir")
+    (version "0.7.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "include-dir" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"17pinxhivh3chkbjmbg9sl0x3h7wwry2zc2p12gfh8kizyp2yxhq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f              ; Not all files included
+       #:cargo-inputs
+       (("rust-glob" ,rust-glob-0.3)
+        ("rust-include-dir-macros" ,rust-include-dir-macros-0.7))
+       #:cargo-development-inputs
+       (("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/Michael-F-Bryan/include_dir";)
+    (synopsis "Embed the contents of a directory in your binary")
+    (description "Embed the contents of a directory in your binary.")
+    (license license:expat)))
+
 (define-public rust-include-dir-macros-0.7
   (package
     (name "rust-include-dir-macros")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]