guix-commits
[Top][All Lists]
Advanced

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

234/469: gnu: Add rust-built-0.5.


From: guix-commits
Subject: 234/469: gnu: Add rust-built-0.5.
Date: Tue, 25 Apr 2023 15:03:30 -0400 (EDT)

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

commit 34f33581d28af4a576cb5370f2f14bbaebf57522
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 23 17:15:13 2023 +0200

    gnu: Add rust-built-0.5.
    
    * gnu/packages/crates-io.scm (rust-built-0.5): New variable.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d0451d09e0..1cf1afa3db 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8581,6 +8581,35 @@ users can send along with a bug report.")
 constants from build.rs or a script.")
     (license license:expat)))
 
+(define-public rust-built-0.5
+  (package
+    (name "rust-built")
+    (version "0.5.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "built" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"0fwpyasbp4pb6ff070xn17w1kwhvzgcx83l15gh8kff6y9m92mff"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cargo-lock" ,rust-cargo-lock-8)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-git2" ,rust-git2-0.16)
+        ("rust-semver" ,rust-semver-1))
+       #:cargo-development-inputs
+       (("rust-tempfile" ,rust-tempfile-3))))
+    (native-inputs
+     (list pkg-config))
+    (inputs
+     (list libgit2 zlib))
+    (home-page "https://github.com/lukaslueg/built";)
+    (synopsis "Provides a crate with information from the time it was built")
+    (description
+     "This package provides a crate with information from the time it was 
built.")
+    (license license:expat)))
+
 (define-public rust-bumpalo-3
   (package
     (name "rust-bumpalo")



reply via email to

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