guix-commits
[Top][All Lists]
Advanced

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

248/470: gnu: Add rust-include-dir-0.7.


From: guix-commits
Subject: 248/470: gnu: Add rust-include-dir-0.7.
Date: Thu, 16 Mar 2023 03:01:20 -0400 (EDT)

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

commit 41ae95a587f49ccc7dd4707cc70384f58e8d812d
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 d834cef57a..a6938bca81 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28032,6 +28032,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]