[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: gnu: Add rust-num-integer.
From: |
guix-commits |
Subject: |
03/04: gnu: Add rust-num-integer. |
Date: |
Sat, 24 Aug 2019 10:58:47 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit fc4a03544567f34ef5f4e3cfea10fe4d6d2805e5
Author: Nicolas Goaziou <address@hidden>
Date: Sat Aug 24 11:55:55 2019 +0200
gnu: Add rust-num-integer.
* gnu/packages/crates-io.scm (rust-num-integer): New variable.
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0fd0827..aeebed4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -404,6 +404,32 @@ whether an expression matches a pattern.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-num-integer
+ (package
+ (name "rust-num-integer")
+ (version "0.1.41")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "num-integer" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "02dwjjpfbi16c71fq689s4sw3ih52cvfzr5z5gs6qpr5z0g58pmq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-num-traits" ,rust-num-traits))
+ #:cargo-development-inputs
+ (("rust-autocfg" ,rust-autocfg))))
+ (home-page "https://github.com/rust-num/num-integer")
+ (synopsis "Integer traits and functions")
+ (description "Integer traits and functions.")
+ ;; Dual licensed.
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-num-traits
(package
(name "rust-num-traits")