;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
;;; Copyright © 2021 Antero Mejr <antero@kodmin.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
(description "This library provides for encoding and decoding any base.")
(license license:expat)))
+(define-public rust-battery-0.7
+ (package
+ (name "rust-battery")
+ (version "0.7.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "battery" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1r1641dyks76p39i1iihswhc6iz5z51pihmpxniy1h1pi4k29dml"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;; Tests fail with "No such file or directory".
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-core-foundation"
+ ,rust-core-foundation-0.7)
+ ("rust-lazycell" ,rust-lazycell-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mach" ,rust-mach-0.3)
+ ("rust-nix" ,rust-nix-0.19)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-uom" ,rust-uom-0.30)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-approx" ,rust-approx-0.3)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/svartalf/rust-battery")
+ (synopsis "Information about the notebook batteries")
+ (description
+ "@code{battery} provides a unified API to a notebook batteries state.")
+ ;; Dual licensed, either license applies.
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-beef-0.5
(package
(name "rust-beef")
and 1.0.")
(license (list license:expat license:asl2.0))))
+(define-public rust-comfy-table-1
+ (package
+ (name "rust-comfy-table")
+ (version "1.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "comfy-table" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1y6lc8h2lyyrrrdc36fz7brwyjz5l9w4nld4qx9mlacfibm8i92j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crossterm" ,rust-crossterm-0.19)
+ ("rust-strum" ,rust-strum-0.20)
+ ("rust-strum-macros" ,rust-strum-macros-0.20))))
+ (home-page "https://github.com/nukesor/comfy-table")
+ (synopsis "Library for building tables with automatic content wrapping")
+ (description
+ "Comfy-tables is an utility for building tables with automatic content
+wrapping.")
+ (license license:expat)))
+
(define-public rust-commoncrypto-sys-0.2
(package
(name "rust-commoncrypto-sys")
#:cargo-development-inputs
(("rust-term" ,rust-term-0.2))))))
+(define-public rust-difflib-0.4
+ (package
+ (name "rust-difflib")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "difflib" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1s7byq4d7jgf2hcp2lcqxi2piqwl8xqlharfbi8kf90n8csy7131"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/DimaKudosh/difflib")
+ (synopsis "Compare word sequences in Rust")
+ (description
+ "This crate provides all necessary tools for comparing word sequences.")
+ (license license:expat)))
+
(define-public rust-diffs-0.3
(package
(name "rust-diffs")
(define-public rust-lazycell-1
(package
(name "rust-lazycell")
- (version "1.2.1")
+ (version "1.3.0")
(source
(origin
(method url-fetch)
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0gvqycmpv7parc98i6y64ai7rvxrn1947z2a6maa02g4kvxdd55j"))))
+ "0m8gw7dn30i0zjjpjdyf6pc16c34nl71lpv461mix50x3p70h3c3"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs (("rust-clippy" ,rust-clippy-0.0))))
+ `(#:cargo-inputs (("rust-clippy" ,rust-clippy-0.0))))
(home-page "https://github.com/indiv0/lazycell")
(synopsis "Lazily filled Cell struct")
(description
"This package provides a collection of great and ubiqutitous macros.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-mach-0.2
+(define-public rust-mach-0.3
(package
(name "rust-mach")
- (version "0.2.3")
+ (version "0.3.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "mach" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1qdhs16cl1j3w7kvy6ak7h8lbyqmr6i3i15qfzpnv9gyrn3j9pc6"))))
+ (base32 "0a895rhg3a1l3ws4qf83s5mx0g29v1fzgjmbag1h36v62hmg1vi8"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
Mach 3.0 kernel that underlies OSX.")
(license (list license:asl2.0 license:expat license:bsd-2))))
+(define-public rust-mach-0.2
+ (package
+ (inherit rust-mach-0.3)
+ (name "rust-mach")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mach" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qdhs16cl1j3w7kvy6ak7h8lbyqmr6i3i15qfzpnv9gyrn3j9pc6"))))))
+
(define-public rust-mach-o-sys-0.1
(package
(name "rust-mach-o-sys")
library.")
(license license:expat)))
+(define-public rust-ndarray-0.13
+ (package
+ (name "rust-ndarray")
+ (version "0.13.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ndarray" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "02dbwj3b7d0cpy29nhw31n51h3cwm4s1q6narl7fwiigxh1xn1mc"))
+ (patches
+ (search-patches "rust-ndarray-0.13-remove-blas-src.patch"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-approx" ,rust-approx-0.3)
+ ("rust-cblas-sys" ,rust-cblas-sys-0.1)
+ ("rust-matrixmultiply" ,rust-matrixmultiply-0.2)
+ ("rust-num-complex" ,rust-num-complex-0.2)
+ ("rust-num-integer" ,rust-num-integer-0.1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-rawpointer" ,rust-rawpointer-0.2)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-defmac" ,rust-defmac-0.2)
+ ("rust-itertools" ,rust-itertools-0.8)
+ ("rust-quickcheck" ,rust-quickcheck-0.9))))
+ (home-page "https://github.com/rust-ndarray/ndarray")
+ (synopsis "N-dimensional container for general elements and for numerics")
+ (description "@code{ndarray} implements an n-dimensional container for
+general elements and for numerics.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-ndarray-0.12
(package
+ (inherit rust-ndarray-0.13)
(name "rust-ndarray")
(version "0.12.1")
(source
(base32
"0a5rfwcbqnvbwi3nw5sfz6kf0flhmjxs64s0b4kxc6lhmyl81wvw"))
(patches (search-patches "rust-ndarray-remove-blas-src-dep.patch"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-itertools" ,rust-itertools-0.7)
#:cargo-development-inputs
(("rust-defmac" ,rust-defmac-0.1)
("rust-quickcheck" ,rust-quickcheck-0.7)
- ("rust-rawpointer" ,rust-rawpointer-0.1))))
- (home-page "https://github.com/rust-ndarray/ndarray")
- (synopsis "N-dimensional container for general elements and for numerics")
- (description "@code{ndarray} implements an n-dimensional container for
-general elements and for numerics.")
- (license (list license:asl2.0
- license:expat))))
+ ("rust-rawpointer" ,rust-rawpointer-0.1))))))
(define-public rust-ndk-0.2
(package
(define-public rust-openssl-sys-0.9
(package
(name "rust-openssl-sys")
- (version "0.9.60")
+ (version "0.9.64")
(source
(origin
(method url-fetch)
(uri (crate-uri "openssl-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1rpkfl0rmdcvxzyzp3n24g9clplh4avgzpi5c2a3hx96hcccf7wj"))
+ (base32 "1bsim2zk69q1dw6rixn48l1ci8bmz5kvbkgsks2ci079w0pzr7i0"))
(patches (search-patches "rust-openssl-sys-no-vendor.patch"))))
(build-system cargo-build-system)
(arguments
"Additional trait for Read and Write to read and write Plain Old Data.")
(license (list license:expat license:asl2.0))))
+(define-public rust-polars-0.13
+ (package
+ (name "rust-polars")
+ (version "0.13.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "polars" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "104s1r0ndwz3blklbfshkm0km0602w9rqg9lbaq36zbbf93cw1n4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-polars-core" ,rust-polars-core-0.13)
+ ("rust-polars-io" ,rust-polars-io-0.13)
+ ("rust-polars-lazy" ,rust-polars-lazy-0.13))))
+ (home-page "https://github.com/ritchie46/polars")
+ (synopsis "DataFrame Library based on Apache Arrow")
+ (description
+ "Polars is a dataframe Library based on Apache Arrow.")
+ (license license:expat)))
+
+(define-public rust-polars-arrow-0.13
+ (package
+ (name "rust-polars-arrow")
+ (version "0.13.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "polars-arrow" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0r6k2zm9f3nngjszdjnjz7r7c91qpq88lwjfgsbwfi8383xxbcjk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-arrow" ,rust-arrow-4)
+ ("rust-num" ,rust-num-0.4)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (home-page "https://github.com/ritchie46/polars")
+ (synopsis "Arrow interfaces for Polars DataFrame library")
+ (description
+ "This crate provides Arrow interfaces for Polars DataFrame library.")
+ (license license:expat)))
+
+(define-public rust-polars-core-0.13
+ (package
+ (name "rust-polars-core")
+ (version "0.13.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "polars-core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0pb48s1vz2kxiw54xcgcrsbhaxsyg5gb6dbqzkq0gia80y2iwml8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ahash" ,rust-ahash-0.7)
+ ("rust-anyhow" ,rust-anyhow-1)
+ ("rust-arrow" ,rust-arrow-4)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-comfy-table" ,rust-comfy-table-1)
+ ("rust-hashbrown" ,rust-hashbrown-0.11)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-ndarray" ,rust-ndarray-0.13)
+ ("rust-num" ,rust-num-0.4)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-parquet" ,rust-parquet-4)
+ ("rust-polars-arrow" ,rust-polars-arrow-0.13)
+ ("rust-prettytable-rs" ,rust-prettytable-rs-0.8)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-rand-distr" ,rust-rand-distr-0.3)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-unsafe-unwrap" ,rust-unsafe-unwrap-0.1))))
+ (home-page "https://github.com/ritchie46/polars")
+ (synopsis "Core of the Polars DataFrame library")
+ (description
+ "This crate provides the core of the Polars DataFrame library.")
+ (license license:expat)))
+
+(define-public rust-polars-io-0.13
+ (package
+ (name "rust-polars-io")
+ (version "0.13.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "polars-io" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1iwbr5i1qy5f54ifhvxr8h9jr023jfj0mai5hy1lccszxh88hf17"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ahash" ,rust-ahash-0.7)
+ ("rust-anyhow" ,rust-anyhow-1)
+ ("rust-arrow" ,rust-arrow-4)
+ ("rust-csv" ,rust-csv-1)
+ ("rust-csv-core" ,rust-csv-core-0.1)
+ ("rust-fast-float" ,rust-fast-float-0.2)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-lexical" ,rust-lexical-5)
+ ("rust-memmap2" ,rust-memmap2-0.2)
+ ("rust-num" ,rust-num-0.4)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-parquet" ,rust-parquet-4)
+ ("rust-polars-arrow" ,rust-polars-arrow-0.13)
+ ("rust-polars-core" ,rust-polars-core-0.13)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-regex" ,rust-regex-1))))
+ (home-page "https://github.com/ritchie46/polars")
+ (synopsis "IO related logic for the Polars DataFrame library")
+ (description
+ "This crate provides IO related logic for the Polars DataFrame library.")
+ (license license:expat)))
+
+(define-public rust-polars-lazy-0.13
+ (package
+ (name "rust-polars-lazy")
+ (version "0.13.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "polars-lazy" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0z5dqz9fk23i10flq4lw8a3qb6638kwxcmka1dyxpabh94l86zqf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ahash" ,rust-ahash-0.7)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-polars-arrow" ,rust-polars-arrow-0.13)
+ ("rust-polars-core" ,rust-polars-core-0.13)
+ ("rust-polars-io" ,rust-polars-io-0.13)
+ ("rust-rayon" ,rust-rayon-1))))
+ (home-page "https://github.com/ritchie46/polars")
+ (synopsis "Lazy query engine for the Polars DataFrame library")
+ (description
+ "This crate provides a lazy query engine for the Polars DataFrame
+library.")
+ (license license:expat)))
+
(define-public rust-polling-2
(package
(name "rust-polling")
(license (list license:asl2.0
license:expat))))
-(define-public rust-quick-xml-0.21
+(define-public rust-quick-xml-0.22
(package
(name "rust-quick-xml")
- (version "0.21.0")
+ (version "0.22.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "quick-xml" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0xgcmf5qlpjsl239igbkf4j6mlmsm5xp14a3rv45h2j185cnjlh4"))))
+ (base32 "0ssk30ymrd1724g36qjnnql225i6p31jm09cb46sval2hd6g2cw5"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
"This package provides a high performance XML reader and writer.")
(license license:expat)))
+(define-public rust-quick-xml-0.21
+ (package
+ (inherit rust-quick-xml-0.22)
+ (name "rust-quick-xml")
+ (version "0.21.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "quick-xml" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xgcmf5qlpjsl239igbkf4j6mlmsm5xp14a3rv45h2j185cnjlh4"))))))
+
(define-public rust-quick-xml-0.20
(package
(inherit rust-quick-xml-0.21)
(define-public rust-stackvector-1
(package
(name "rust-stackvector")
- (version "1.0.6")
+ (version "1.1.1")
(source
(origin
(method url-fetch)
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1bv820fhdad16islwli1g3iksk39ivf0zaqz4j1m08vq15jjaiqw"))))
+ "0xnz2z9hvn8h1hb3fq9mpf0ibw4g9pk54wpqis0knj329cfhz3zl"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-unreachable" ,rust-unreachable-1))
#:cargo-development-inputs
(("rust-rustc-version" ,rust-rustc-version-0.2))))
"Parse command line argument by defining a struct, derive crate.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-strum-0.18
+(define-public rust-strum-0.20
(package
(name "rust-strum")
- (version "0.18.0")
+ (version "0.20.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "strum" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0asjskn1qhqqfiq673np0gvmnd1rsp506m38vk53gi7l93mq3gap"))))
+ (base32 "0p5cslmdnz261kiwmm4h7qsmv9bh83r0f9lq6f2z2mxsnl4wa63k"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-strum-macros" ,rust-strum-macros-0.18))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-strum-macros" ,rust-strum-macros-0.20))))
(home-page "https://github.com/Peternator7/strum")
(synopsis "Set of traits for working with enums and strings")
(description
easier in Rust.")
(license license:expat)))
+(define-public rust-strum-0.18
+ (package
+ (inherit rust-strum-0.20)
+ (name "rust-strum")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "strum" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0asjskn1qhqqfiq673np0gvmnd1rsp506m38vk53gi7l93mq3gap"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-strum-macros" ,rust-strum-macros-0.18))))))
+
(define-public rust-strum-macros-0.20
(package
(name "rust-strum-macros")
(sha256
(base32 "0byf88b7ca1kb5aap8f6npp6xncvg95dnma8ipmnmd4n9r5izkam"))))))
+(define-public rust-uom-0.31
+ (package
+ (name "rust-uom")
+ (version "0.31.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "uom" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dwih0bclq18gfdf7if6kqip82w8yrf076l0ad1n3gr71bynpvmi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-num-bigint" ,rust-num-bigint-0.3)
+ ("rust-num-rational" ,rust-num-rational-0.3)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-typenum" ,rust-typenum-1))
+ #:cargo-development-inputs
+ (("rust-approx" ,rust-approx-0.3)
+ ("rust-quickcheck" ,rust-quickcheck-0.9)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-static-assertions"
+ ,rust-static-assertions-1))))
+ (home-page "https://github.com/iliekturtles/uom")
+ (synopsis "Units of measurement")
+ (description "Units of measurement is a crate that does automatic
+type-safe zero-cost dimensional analysis.")
+ ;; Dual-licensed, either license applies.
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-uom-0.30
+ (package
+ (inherit rust-uom-0.31)
+ (name "rust-uom")
+ (version "0.30.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "uom" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vg59hnb7hh0p8kjjhgmrsnn3597722lkfdkp481wksq6vk06rg7"))))))
+
(define-public rust-url-2
(package
(name "rust-url")