[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/23: gnu: Add rust-num-cpus-1.11.
From: |
guix-commits |
Subject: |
04/23: gnu: Add rust-num-cpus-1.11. |
Date: |
Thu, 6 Feb 2020 03:56:52 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 1b81f2c78cf1475f90b892ca32f30bcb3381571d
Author: John Soo <address@hidden>
AuthorDate: Fri Jan 31 21:03:53 2020 -0800
gnu: Add rust-num-cpus-1.11.
* gnu/packages/crates-io.scm (rust-num-cpus-1.11): New variable.
(rust-num-cpus-1.10)[inherit]: New field.
Signed-off-by: Efraim Flashner <address@hidden>
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++--------
1 file changed, 29 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1e2bb8e..d7288af 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7014,8 +7014,36 @@ combinators library.")
"Complex numbers implementation for Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-num-cpus-1.11
+ (package
+ (name "rust-num-cpus")
+ (version "1.11.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "num_cpus" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0wlxs00cpg16z09fwchj1gdz1jxnf5dgg1cbidvq0sc75bnwbnkn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-hermit-abi" ,rust-hermit-abi-0.1)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3))))
+ (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-cpus-1.10
(package
+ (inherit rust-num-cpus-1.11)
(name "rust-num-cpus")
(version "1.10.1")
(source
@@ -7026,19 +7054,12 @@ combinators library.")
(sha256
(base32
"0wrj3zvj6h3q26sqj9zxpd59frjb54n7jhjwf307clq31ic47vxw"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2))
#:cargo-development-inputs
- (("rust-doc-comment" ,rust-doc-comment-0.3))))
- (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))))
+ (("rust-doc-comment" ,rust-doc-comment-0.3))))))
(define-public rust-num-integer-0.1
(package
- branch master updated (7a1de45 -> c153010), guix-commits, 2020/02/06
- 01/23: gnu: Add rust-datetime-0.4., guix-commits, 2020/02/06
- 02/23: gnu: Add rust-hermit-abi-0.1., guix-commits, 2020/02/06
- 03/23: gnu: Add rust-natord-1.0., guix-commits, 2020/02/06
- 05/23: gnu: rust-num-cpus-1.10: Don't skip build., guix-commits, 2020/02/06
- 06/23: gnu: Add rust-number-prefix-0.3., guix-commits, 2020/02/06
- 04/23: gnu: Add rust-num-cpus-1.11.,
guix-commits <=
- 07/23: gnu: Add rust-ansi-term-0.12., guix-commits, 2020/02/06
- 08/23: gnu: Add rust-term-grid-0.1., guix-commits, 2020/02/06
- 09/23: gnu: rust-libgit2-sys-0.8: Inherit arguments., guix-commits, 2020/02/06
- 11/23: gnu: rust-libgit2-sys-0.8: Don't hide package., guix-commits, 2020/02/06
- 12/23: gnu: Add rust-users-0.9., guix-commits, 2020/02/06
- 17/23: gnu: rust-tempdir-0.3: Don't hide package., guix-commits, 2020/02/06
- 18/23: gnu: rust-libgit2-0.9: Don't skip build., guix-commits, 2020/02/06
- 13/23: gnu: Add rust-zoneinfo-compiled-0.4., guix-commits, 2020/02/06
- 15/23: gnu: Remove rust-openssl-src-111., guix-commits, 2020/02/06
- 10/23: gnu: libgit2-sys-0.8: Unbundle vendored code., guix-commits, 2020/02/06