[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: gnu: Add rust-petgraph-0.5.
From: |
guix-commits |
Subject: |
09/11: gnu: Add rust-petgraph-0.5. |
Date: |
Mon, 20 Jul 2020 09:27:08 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 3943c9d6b6349364d45a168b139ec48ce47ec314
Author: John Soo <jsoo1@asu.edu>
AuthorDate: Sat Jul 18 07:11:56 2020 -0700
gnu: Add rust-petgraph-0.5.
* gnu/packages/crates-io.scm (rust-petgraph-0.5): New variable.
(rust-petgraph-0.4): Inherit from rust-petgraph-0.5.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 43 +++++++++++++++++++++++++++++++++++--------
1 file changed, 35 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d64369c..4c94296 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17136,8 +17136,42 @@ algorithm.")
"Pest meta language parser and validator.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-petgraph-0.5
+ (package
+ (name "rust-petgraph")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "petgraph" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1dzxda6z17sfxly11m8ja3iargh73pw0s1sdgjyp0qp5dm51cza6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-fixedbitset" ,rust-fixedbitset-0.2)
+ ("rust-ordermap" ,rust-ordermap-0.3)
+ ("rust-quickcheck" ,rust-quickcheck-0.8)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-derive" ,rust-serde-derive-1.0))
+ #:cargo-development-inputs
+ (("rust-defmac" ,rust-defmac-0.1)
+ ("rust-itertools" ,rust-itertools-0.8)
+ ("rust-odds" ,rust-odds-0.2)
+ ("rust-rand" ,rust-rand-0.5))))
+ (home-page "https://github.com/petgraph/petgraph")
+ (synopsis "Graph data structure library")
+ (description
+ "Graph data structure library. Provides graph types and graph
+algorithms.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-petgraph-0.4
(package
+ (inherit rust-petgraph-0.5)
(name "rust-petgraph")
(version "0.4.13")
(source
@@ -17149,7 +17183,6 @@ algorithm.")
(sha256
(base32
"0kyfmca854s54jk26g2x1kjb04c3k7cjilaxyr0if8lhxv8mjdlw"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-fixedbitset" ,rust-fixedbitset-0.1)
@@ -17168,13 +17201,7 @@ algorithm.")
(lambda _
(substitute* "tests/graph.rs"
(("fn dot\\(\\) \\{" all)
- (string-append "#[ignore] " all))))))))
- (home-page "https://github.com/petgraph/petgraph")
- (synopsis "Graph data structure library")
- (description
- "Graph data structure library. Provides graph types and graph
-algorithms.")
- (license (list license:expat license:asl2.0))))
+ (string-append "#[ignore] " all))))))))))
(define-public rust-phf-0.8
(package
- branch master updated (cd005bf -> 381ea2b), guix-commits, 2020/07/20
- 02/11: gnu: rust-lock-api-0.3: Update to 0.3.4., guix-commits, 2020/07/20
- 01/11: gnu: python-pytest-vcr: Fix integration with pytest-5., guix-commits, 2020/07/20
- 04/11: gnu: rust-odds-0.3: Do not skip build., guix-commits, 2020/07/20
- 05/11: gnu: Add rust-odds-0.2., guix-commits, 2020/07/20
- 07/11: gnu: rust-fixedbitset-0.1: Do not skip build., guix-commits, 2020/07/20
- 09/11: gnu: Add rust-petgraph-0.5.,
guix-commits <=
- 03/11: gnu: Add rust-itertools-0.5., guix-commits, 2020/07/20
- 06/11: gnu: rust-petgraph-0.4: Do not skip build., guix-commits, 2020/07/20
- 08/11: gnu: Add rust-fixedbitset-0.2., guix-commits, 2020/07/20
- 10/11: gnu: rust-parking-lot-core-0.7: Update to 0.7.2., guix-commits, 2020/07/20
- 11/11: gnu: rust-parking-lot-0.10: Upgrade to 0.10.2., guix-commits, 2020/07/20