summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-07-13 18:44:22 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-07-18 20:56:21 +0300
commit3c9022da5bf0d5ee000cbc394013ef6da37233a2 (patch)
treee52f0eef6a60edb31eb7d3da882b2406d9ef2df9 /gnu/packages
parent8846718f3ffae25bb6902a6c3d781d28e1974e4a (diff)
downloadguix-3c9022da5bf0d5ee000cbc394013ef6da37233a2.tar.gz
gnu: Add rust-build-context-0.1.
* gnu/packages/crates-io.scm (rust-build-context-0.1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 19bc10c900..b74e4001d9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9104,6 +9104,25 @@ users can send along with a bug report.")
 constants from build.rs or a script.")
     (license license:expat)))
 
+(define-public rust-build-context-0.1
+  (package
+    (name "rust-build-context")
+    (version "0.1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "build-context" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "15jnnh6vk7ifc98j08rv8v9yapzaciz7awdk4q2lrna868dnzhjh"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/taiki-e/build-context")
+    (synopsis "Build environment/target information available in libraries")
+    (description
+     "Make build environment/target information available as constants in normal
+libraries and binaries.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-built-0.5
   (package
     (name "rust-built")