[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/53: gnu: Add rust-num-cpus.
From: |
guix-commits |
Subject: |
25/53: gnu: Add rust-num-cpus. |
Date: |
Wed, 28 Aug 2019 09:55:04 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 5d2ae881ce9abe248c047a50d71d4264b0bd1130
Author: Efraim Flashner <address@hidden>
Date: Wed Aug 28 16:05:39 2019 +0300
gnu: Add rust-num-cpus.
* gnu/packages/crates-io.scm (rust-num-cpus): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index beec57a..44dde04 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -744,6 +744,31 @@ types as proposed in RFC 1158.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-num-cpus
+ (package
+ (name "rust-num-cpus")
+ (version "1.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "num_cpus" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0wrj3zvj6h3q26sqj9zxpd59frjb54n7jhjwf307clq31ic47vxw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment))))
+ (home-page "https://github.com/seanmonstar/num_cpus")
+ (synopsis "Get the number of CPUs on a machine")
+ (description
+ "Get the number of CPUs on a machine.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-num-integer
(package
(name "rust-num-integer")
- 19/53: gnu: Add rust-fixedbitset., (continued)
- 19/53: gnu: Add rust-fixedbitset., guix-commits, 2019/08/28
- 22/53: gnu: Add rust-iovec., guix-commits, 2019/08/28
- 29/53: gnu: Add rust-regex-syntax., guix-commits, 2019/08/28
- 30/53: gnu: Add rust-safemem., guix-commits, 2019/08/28
- 34/53: gnu: Add rust-scopeguard-0.3., guix-commits, 2019/08/28
- 37/53: gnu: Add rust-stdweb-internal-test-macro., guix-commits, 2019/08/28
- 44/53: gnu: Add rust-tracing-core., guix-commits, 2019/08/28
- 05/53: gnu: Add rust-winapi-0.2., guix-commits, 2019/08/28
- 38/53: gnu: rust-num-traits: Change inputs., guix-commits, 2019/08/28
- 16/53: gnu: Add rust-defmac., guix-commits, 2019/08/28
- 25/53: gnu: Add rust-num-cpus.,
guix-commits <=
- 01/53: gnu: Add rust-antidote., guix-commits, 2019/08/28
- 20/53: gnu: Add rust-foreign-types-shared., guix-commits, 2019/08/28
- 23/53: gnu: Add rust-modifier., guix-commits, 2019/08/28
- 27/53: gnu: Add rust-permutohedron., guix-commits, 2019/08/28
- 26/53: gnu: Add rust-rawpointer., guix-commits, 2019/08/28
- 28/53: gnu: Add rust-pkg-config., guix-commits, 2019/08/28
- 32/53: gnu: Add rust-schannel., guix-commits, 2019/08/28
- 31/53: gnu: Add rust-same-file., guix-commits, 2019/08/28
- 36/53: gnu: Add rust-stable-deref-trait., guix-commits, 2019/08/28
- 40/53: gnu: Add rust-termcolor., guix-commits, 2019/08/28