guix-commits
[Top][All Lists]
Advanced

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

09/41: gnu: Add rust-cmake.


From: guix-commits
Subject: 09/41: gnu: Add rust-cmake.
Date: Fri, 6 Sep 2019 08:47:26 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 2446b451e2d92bc2ad5da0f1d877d306f32b84e7
Author: Efraim Flashner <address@hidden>
Date:   Thu Sep 5 16:55:17 2019 +0300

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9b715c7..b4a5c8f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -338,6 +338,30 @@ colorization.")
      "Low level interface to CloudABI.  Contains all syscalls and related 
types.")
     (license license:bsd-2)))
 
+(define-public rust-cmake
+  (package
+    (name "rust-cmake")
+    (version "0.1.42")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "cmake" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0qkwibkvx5xjazvv9v8gvdlpky2jhjxvcz014nrixgzqfyv2byw1"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-cc" ,rust-cc))))
+    (home-page "https://github.com/alexcrichton/cmake-rs";)
+    (synopsis "Rust build dependency for running cmake")
+    (description
+     "This package provides a build dependency for running @code{cmake} to 
build
+a native library.  The CMake executable is assumed to be @code{cmake} unless 
the
+CMAKE environmental variable is set.")
+    (license (list license:asl2.0
+                   license:expat))))
+
 (define-public rust-constant-time-eq
   (package
     (name "rust-constant-time-eq")



reply via email to

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