diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-07 22:27:02 +0100 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-12-28 14:10:12 -0500 |
commit | a0ede67bd114c4293e92fd2d1981bead95886eee (patch) | |
tree | 2018dc44f5389258e34439bc8629ff7f9d8a7a09 /gnu | |
parent | 3aff2ca1b385a847f24fd39277fa4bc8c169845b (diff) | |
download | guix-a0ede67bd114c4293e92fd2d1981bead95886eee.tar guix-a0ede67bd114c4293e92fd2d1981bead95886eee.tar.gz |
gnu: Add rust-petgraph-0.6.
* gnu/packages/crates-io.scm (rust-petgraph-0.6): New variable.
(rust-petgraph-0.5): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 40 |
1 files changed, 30 insertions, 10 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d3f8c071b8..0aaf9a97c7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36837,8 +36837,36 @@ algorithm.") "Pest meta language parser and validator.") (license (list license:asl2.0 license:expat)))) +(define-public rust-petgraph-0.6 + (package + (name "rust-petgraph") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "petgraph" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kw27zzhsa82d4qpkrz91vznyxi3wm0qg0i84grfaqqbkpxa44sa")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-fixedbitset" ,rust-fixedbitset-0.4) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-quickcheck" ,rust-quickcheck-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1)))) + (home-page "https://github.com/petgraph/petgraph") + (synopsis "Graph data structure library") + (description + "This crate is a graph data structure library. It provides graph types +and graph algorithms.") + (license (list license:expat license:asl2.0)))) + (define-public rust-petgraph-0.5 (package + (inherit rust-petgraph-0.6) (name "rust-petgraph") (version "0.5.1") (source @@ -36848,9 +36876,7 @@ algorithm.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1dzxda6z17sfxly11m8ja3iargh73pw0s1sdgjyp0qp5dm51cza6")))) - (build-system cargo-build-system) + (base32 "1dzxda6z17sfxly11m8ja3iargh73pw0s1sdgjyp0qp5dm51cza6")))) (arguments `(#:cargo-inputs (("rust-fixedbitset" ,rust-fixedbitset-0.2) @@ -36862,13 +36888,7 @@ algorithm.") (("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)))) + ("rust-rand" ,rust-rand-0.5)))))) (define-public rust-petgraph-0.4 (package |