guix-commits
[Top][All Lists]
Advanced

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

26/63: gnu: Add rust-built-0.7.


From: guix-commits
Subject: 26/63: gnu: Add rust-built-0.7.
Date: Thu, 8 Feb 2024 14:09:34 -0500 (EST)

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

commit 6d5d254bcc81c414a86ecbecfe2e8d3532f049a0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 8 10:24:29 2024 +0200

    gnu: Add rust-built-0.7.
    
    * gnu/packages/crates-io.scm (rust-built-0.7): New variable.
    (rust-built-0.5): Inherit from rust-built-0.7.
    
    Change-Id: I51f03f1d8e75e9b9e98fd11ff6da8bd62f7ab999
---
 gnu/packages/crates-io.scm | 56 ++++++++++++++++++++++++++++++----------------
 1 file changed, 37 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1e13c2b5d3..65c4c3fb55 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7656,35 +7656,53 @@ constants from build.rs or a script.")
 libraries and binaries.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-built-0.5
+(define-public rust-built-0.7
   (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"))))
+    (version "0.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "built" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0lyx4z4y5f7aaiv2yxxhq7klhs0979sw5vgv08d6vhsddr6pzl9q"))))
     (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))
+     `(#:cargo-inputs (("rust-cargo-lock" ,rust-cargo-lock-9)
+                       ("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-git2" ,rust-git2-0.18)
+                       ("rust-semver" ,rust-semver-1))
+       #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3))))
+    (native-inputs (list pkg-config))
+    (inputs (list libgit2-1.7 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-built-0.5
+  (package
+    (inherit rust-built-0.7)
+    (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"))))
+    (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))))
+
 (define-public rust-bumpalo-3
   (package
     (name "rust-bumpalo")



reply via email to

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