guix-commits
[Top][All Lists]
Advanced

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

385/470: gnu: Add rust-built-0.5.


From: guix-commits
Subject: 385/470: gnu: Add rust-built-0.5.
Date: Thu, 16 Mar 2023 03:02:21 -0400 (EDT)

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

commit 980919f244e5d219e76377f0d5aeb2e6d0cd1ded
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 8726b80a3a..ddc1ec8bde 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8433,6 +8433,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]