You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27861 lines
910 KiB
27861 lines
910 KiB
;;; GNU Guix --- Functional package management for GNU
|
|
;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com>
|
|
;;; Copyright © 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
|
|
;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
|
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
|
|
;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
|
;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu>
|
|
;;; Copyright © 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
|
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
|
;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
|
|
;;;
|
|
;;; This file is part of GNU Guix.
|
|
;;;
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
;;; under the terms of the GNU General Public License as published by
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
;;; your option) any later version.
|
|
;;;
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
;;; GNU General Public License for more details.
|
|
;;;
|
|
;;; You should have received a copy of the GNU General Public License
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
(define-module (gnu packages crates-io)
|
|
#:use-module (guix build-system cargo)
|
|
#:use-module (guix download)
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
#:use-module (guix packages)
|
|
#:use-module (gnu packages)
|
|
#:use-module (gnu packages base)
|
|
#:use-module (gnu packages compression)
|
|
#:use-module (gnu packages curl)
|
|
#:use-module (gnu packages fontutils)
|
|
#:use-module (gnu packages freedesktop)
|
|
#:use-module (gnu packages gettext)
|
|
#:use-module (gnu packages glib)
|
|
#:use-module (gnu packages gtk)
|
|
#:use-module (gnu packages jemalloc)
|
|
#:use-module (gnu packages llvm)
|
|
#:use-module (gnu packages multiprecision)
|
|
#:use-module (gnu packages nettle)
|
|
#:use-module (gnu packages pcre)
|
|
#:use-module (gnu packages pkg-config)
|
|
#:use-module (gnu packages python)
|
|
#:use-module (gnu packages serialization)
|
|
#:use-module (gnu packages sqlite)
|
|
#:use-module (gnu packages ssh)
|
|
#:use-module (gnu packages tls)
|
|
#:use-module (gnu packages video)
|
|
#:use-module (gnu packages version-control)
|
|
#:use-module (gnu packages web)
|
|
#:use-module (gnu packages xml)
|
|
#:use-module (gnu packages xorg))
|
|
|
|
;;;
|
|
;;; Please: Try to add new module packages in alphabetic order.
|
|
;;;
|
|
|
|
(define-public rust-abomonation-0.7
|
|
(package
|
|
(name "rust-abomonation")
|
|
(version "0.7.3")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "abomonation" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1cjg3hjf028n447pdj7zcdgrkngx30as8ndxlxx947wvr49jkrsn"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-development-inputs
|
|
(("rust-recycler" ,rust-recycler-0.1))))
|
|
(home-page "https://github.com/TimelyDataflow/abomonation")
|
|
(synopsis "High performance and very unsafe serialization library")
|
|
(description
|
|
"This package provides a high performance and very unsafe serialization
|
|
library in Rust.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-addr2line-0.11
|
|
(package
|
|
(name "rust-addr2line")
|
|
(version "0.11.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "addr2line" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0sk5g8cb2yynlcm0wcqff9l9c9ml69rqgfrrbii0ybgdc236jkhw"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:tests? #f ; Not all test files included.
|
|
#:cargo-inputs
|
|
(("rust-rustc-demangle" ,rust-rustc-demangle-0.1)
|
|
("rust-object" ,rust-object-0.17)
|
|
("rust-fallible-iterator" ,rust-fallible-iterator-0.2)
|
|
("rust-cpp-demangle" ,rust-cpp-demangle-0.2)
|
|
("rust-gimli" ,rust-gimli-0.20)
|
|
("rust-smallvec" ,rust-smallvec-1)
|
|
("rust-lazycell" ,rust-lazycell-1.2))
|
|
#:cargo-development-inputs
|
|
(("rust-backtrace" ,rust-backtrace-0.3)
|
|
("rust-clap" ,rust-clap-2)
|
|
("rust-findshlibs" ,rust-findshlibs-0.5)
|
|
("rust-memmap" ,rust-memmap-0.7)
|
|
("rust-rustc-test" ,rust-rustc-test-0.3))))
|
|
(home-page "https://github.com/gimli-rs/addr2line")
|
|
(synopsis "Symbolication library written in Rust, using gimli")
|
|
(description
|
|
"This package provides a cross-platform symbolication library written in
|
|
Rust, using gimli.")
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
(define-public rust-addr2line-0.9
|
|
(package
|
|
(inherit rust-addr2line-0.11)
|
|
(name "rust-addr2line")
|
|
(version "0.9.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "addr2line" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"17rlf04nx3g3rcy661v24ksnmpk6vqn680g5b5sp8lk20iih2xnx"))))
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-cpp-demangle" ,rust-cpp-demangle-0.2)
|
|
("rust-fallible-iterator" ,rust-fallible-iterator-0.2)
|
|
("rust-gimli" ,rust-gimli-0.18)
|
|
("rust-intervaltree" ,rust-intervaltree-0.2)
|
|
("rust-lazycell" ,rust-lazycell-1.2)
|
|
("rust-object" ,rust-object-0.12)
|
|
("rust-rustc-demangle" ,rust-rustc-demangle-0.1)
|
|
("rust-smallvec" ,rust-smallvec-0.6))
|
|
#:cargo-development-inputs
|
|
(("rust-backtrace" ,rust-backtrace-0.3)
|
|
("rust-clap" ,rust-clap-2)
|
|
;("rust-findshlibs" ,rust-findshlibs-0.4)
|
|
("rust-memmap" ,rust-memmap-0.7)
|
|
("rust-rustc-test" ,rust-rustc-test-0.3))))))
|
|
|
|
(define-public rust-adler32-1
|
|
(package
|
|
(name "rust-adler32")
|
|
(version "1.1.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "adler32" version))
|
|
(file-name
|
|
(string-append name "-" version ".crate"))
|
|
(sha256
|
|
(base32
|
|
"0bgks405vz823bphgwhj4l9h6vpfh900s0phfk4qqijyh9xhfysn"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
|
|
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1.0))
|
|
#:cargo-development-inputs
|
|
(("rust-bencher" ,rust-bencher-0.1)
|
|
("rust-rand" ,rust-rand-0.4))))
|
|
(home-page "https://github.com/remram44/adler32-rs")
|
|
(synopsis "Implementation of the Adler32 rolling hash algorithm")
|
|
(description
|
|
"This library is an implementation of the Adler32 rolling hash algorithm in
|
|
the Rust programming language.")
|
|
(license (list license:bsd-3
|
|
license:zlib))))
|
|
|
|
(define-public rust-afl-0.5
|
|
(package
|
|
(name "rust-afl")
|
|
(version "0.5.2")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "afl" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0azpi917l8nhvx25n2v670nvkxkrhcwmddfi85qnr6kchmi6y946"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-rustc-version" ,rust-rustc-version-0.2)
|
|
("rust-cc" ,rust-cc-1.0)
|
|
("rust-xdg" ,rust-xdg-2.2)
|
|
("rust-clap" ,rust-clap-2))))
|
|
(home-page "https://github.com/rust-fuzz/afl.rs")
|
|
(synopsis
|
|
"Fuzzing Rust code with american-fuzzy-lop")
|
|
(description
|
|
"Fuzz Rust code with american-fuzzy-lop.")
|
|
(license license:asl2.0)))
|
|
|
|
(define-public rust-afl-0.4
|
|
(package
|
|
(name "rust-afl")
|
|
(version "0.4.3")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "afl" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0g2chc18ji7qxi0d03n2ai140qdcww958v5si6rcjnnhmri1vyfb"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-cc" ,rust-cc-1.0)
|
|
("rust-clap" ,rust-clap-2)
|
|
("rust-rustc-version" ,rust-rustc-version-0.2)
|
|
("rust-xdg" ,rust-xdg-2.2))))
|
|
(home-page "https://github.com/rust-fuzz/afl.rs")
|
|
(synopsis
|
|
"Fuzzing Rust code with american-fuzzy-lop")
|
|
(description
|
|
"Fuzz Rust code with american-fuzzy-lop.")
|
|
(license license:asl2.0)))
|
|
|
|
(define-public rust-aho-corasick-0.7
|
|
(package
|
|
(name "rust-aho-corasick")
|
|
(version "0.7.10")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "aho-corasick" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1nka9509afjgal6lpymn8w2lq11dmjwxs8yjcmzys966if5l05l7"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs (("rust-memchr" ,rust-memchr-2.3))
|
|
#:cargo-development-inputs
|
|
(("rust-doc-comment" ,rust-doc-comment-0.3))))
|
|
(home-page "https://github.com/BurntSushi/aho-corasick")
|
|
(synopsis "Fast multiple substring searching")
|
|
(description
|
|
"Fast multiple substring searching.")
|
|
(license (list license:unlicense license:expat))))
|
|
|
|
(define-public rust-aho-corasick-0.6
|
|
(package
|
|
(inherit rust-aho-corasick-0.7)
|
|
(name "rust-aho-corasick")
|
|
(version "0.6.10")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "aho-corasick" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"19f8v503ibvlyr824g5ynicrh1lsmp2i0zmpszr8lqay0qw3vkl1"))))
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-memchr" ,rust-memchr-2.2))
|
|
#:cargo-development-inputs
|
|
(("rust-csv" ,rust-csv-1.1)
|
|
("rust-docopt" ,rust-docopt-1.1)
|
|
("rust-memmap" ,rust-memmap-0.6)
|
|
("rust-quickcheck" ,rust-quickcheck-0.7)
|
|
("rust-rand" ,rust-rand-0.5)
|
|
("rust-serde" ,rust-serde-1.0)
|
|
("rust-serde-derive" ,rust-serde-derive-1.0))))))
|
|
|
|
(define-public rust-aho-corasick-0.5
|
|
(package
|
|
(inherit rust-aho-corasick-0.6)
|
|
(name "rust-aho-corasick")
|
|
(version "0.5.3")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "aho-corasick" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0rnvdmlajikq0i4zdy1p3pv699q6apvsxfc7av7byhppllp2r5ya"))))
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-memchr" ,rust-memchr-0.1))
|
|
#:cargo-development-inputs
|
|
(("rust-csv" ,rust-csv-0.14)
|
|
("rust-docopt" ,rust-docopt-0.6)
|
|
("rust-memmap" ,rust-memmap-0.2)
|
|
("rust-quickcheck" ,rust-quickcheck-0.2)
|
|
("rust-rand" ,rust-rand-0.3)
|
|
("rust-rustc-serialize" ,rust-rustc-serialize-0.3))))))
|
|
|
|
(define-public rust-alga-0.9
|
|
(package
|
|
(name "rust-alga")
|
|
(version "0.9.3")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "alga" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1wl4z8ini9269x04g8wwdz1nn3hmmvaaysq4jwhymikyg81kv0jg"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-approx" ,rust-approx-0.3)
|
|
("rust-decimal" ,rust-decimal-2.0)
|
|
("rust-num-complex" ,rust-num-complex-0.2)
|
|
("rust-num-traits" ,rust-num-traits-0.2))
|
|
#:cargo-development-inputs
|
|
(("rust-alga-derive" ,rust-alga-derive-0.9)
|
|
("rust-quickcheck" ,rust-quickcheck-0.8))))
|
|
(home-page "https://github.com/rustsim/alga")
|
|
(synopsis "Abstract algebra for Rust")
|
|
(description "Alga aims to provide solid mathematical abstractions to
|
|
algebra-focused applications. It defines and organizes through trait
|
|
inheritance the basic building blocks of general algebraic structures.
|
|
Specific implementations of algebraic structure traits are left to other
|
|
crates. Higher-level traits for specialized domains of algebra (like linear
|
|
algebra) are also provided and will prove useful for applications that include
|
|
code that is generic with regard to the algebraic entity types.")
|
|
(license license:asl2.0)))
|
|
|
|
(define-public rust-alga-derive-0.9
|
|
(package
|
|
(name "rust-alga-derive")
|
|
(version "0.9.2")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "alga-derive" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0a2594j6blczz18vfg85agr7vsjrbq6900d3xwxw0zzbqj9j2adz"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-edit-distance" ,rust-edit-distance-2.1)
|
|
("rust-proc-macro2" ,rust-proc-macro2-1.0)
|
|
("rust-quickcheck" ,rust-quickcheck-0.9)
|
|
("rust-quote" ,rust-quote-1.0)
|
|
("rust-syn" ,rust-syn-1.0))))
|
|
(home-page "https://github.com/rustsim/alga")
|
|
(synopsis "Dutomatic deriving of abstract algebra traits")
|
|
(description "Derive attribute for implementing algebraic traits from the
|
|
@code{alga} crate.")
|
|
(license license:asl2.0)))
|
|
|
|
(define-public rust-andrew-0.2
|
|
(package
|
|
(name "rust-andrew")
|
|
(version "0.2.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "andrew" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0pmklwcwy8g1jras46fz8xcny779zfqpg4riksrbdhkjk3w0jzwv"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-bitflags" ,rust-bitflags-1)
|
|
("rust-line-drawing" ,rust-line-drawing-0.7)
|
|
("rust-rusttype" ,rust-rusttype-0.7)
|
|
("rust-walkdir" ,rust-walkdir-2.2)
|
|
("rust-xdg" ,rust-xdg-2.2)
|
|
("rust-xml-rs" ,rust-xml-rs-0.8))
|
|
#:cargo-development-inputs
|
|
(("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4))))
|
|
(inputs
|
|
`(("wayland" ,wayland)))
|
|
(home-page "https://github.com/trimental/andrew")
|
|
(synopsis "Provides convenient drawing of objects to buffers")
|
|
(description
|
|
"The @code{andrew} crate provides convenient drawing of objects such as
|
|
shapes, lines and text to buffers.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-android-glue-0.2
|
|
(package
|
|
(name "rust-android-glue")
|
|
(version "0.2.3")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "android-glue" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"01y495x4i9vqkwmklwn2xk7sqg666az2axjcpkr4iwngdwi48100"))))
|
|
(build-system cargo-build-system)
|
|
(home-page "https://github.com/tomaka/android-rs-glue")
|
|
(synopsis "Glue for the Android JNI")
|
|
(description "This package provides the glue for the Android JNI.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-ansi-term-0.12
|
|
(package
|
|
(name "rust-ansi-term")
|
|
(version "0.12.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "ansi_term" version))
|
|
(file-name (string-append name "-" version ".crate"))
|
|
(sha256
|
|
(base32
|
|
"1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-serde" ,rust-serde-1.0)
|
|
("rust-winapi" ,rust-winapi-0.3))
|
|
#:cargo-development-inputs
|
|
(("rust-doc-comment" ,rust-doc-comment-0.3)
|
|
("rust-regex" ,rust-regex-1.3)
|
|
("rust-serde-json" ,rust-serde-json-1.0))))
|
|
(home-page "https://github.com/ogham/rust-ansi-term")
|
|
(synopsis "Library for ANSI terminal colours and styles")
|
|
(description
|
|
"This is a library for controlling colours and formatting, such as red bold
|
|
text or blue underlined text, on ANSI terminals.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-ansi-term-0.11
|
|
(package
|
|
(inherit rust-ansi-term-0.12)
|
|
(name "rust-ansi-term")
|
|
(version "0.11.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "ansi_term" version))
|
|
(file-name (string-append name "-" version ".crate"))
|
|
(sha256
|
|
(base32
|
|
"16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-winapi" ,rust-winapi-0.3))))))
|
|
|
|
(define-public rust-antidote-1.0
|
|
(package
|
|
(name "rust-antidote")
|
|
(version "1.0.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "antidote" version))
|
|
(file-name (string-append name "-" version ".crate"))
|
|
(sha256
|
|
(base32
|
|
"19g2sw2qa2ibnh4x7j1snk46593jgx6y7rnvva496ynq61af5z9l"))))
|
|
(build-system cargo-build-system)
|
|
(home-page "https://github.com/sfackler/rust-antidote")
|
|
(synopsis "Poison-free Mutex and RwLock types")
|
|
(description
|
|
"These types expose identical APIs to the standard library @code{Mutex} and
|
|
@code{RwLock} except that they do not return @code{PoisonError}s.")
|
|
(license (list license:asl2.0
|
|
license:expat))))
|
|
|
|
(define-public rust-anyhow-1.0
|
|
(package
|
|
(name "rust-anyhow")
|
|
(version "1.0.26")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "anyhow" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0g6mzcxyj88k8bv8rr3zx4yczgimqvvgr12n14a29sqj6s1zc9bq"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-development-inputs
|
|
(("rust-futures" ,rust-futures-0.3)
|
|
("rust-rustversion" ,rust-rustversion-1.0)
|
|
("rust-thiserror" ,rust-thiserror-1.0)
|
|
("rust-trybuild" ,rust-trybuild-1.0))))
|
|
(home-page "https://github.com/dtolnay/anyhow")
|
|
(synopsis "Flexible concrete Error type")
|
|
(description "This package provides a flexible concrete Error type built on
|
|
@code{std::error::Error}.")
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
(define-public rust-aom-sys-0.1
|
|
(package
|
|
(name "rust-aom-sys")
|
|
(version "0.1.3")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "aom-sys" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0ix3djcf84kk53h6fac73n7jc614745n7kbmikxwi3s73b6vzgsr"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(;#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-bindgen" ,rust-bindgen-0.51)
|
|
("rust-metadeps" ,rust-metadeps-1.1))
|
|
#:phases
|
|
(modify-phases %standard-phases
|
|
(add-after 'unpack 'set-environmental-variable
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
(let ((clang (assoc-ref inputs "libclang")))
|
|
(setenv "LIBCLANG_PATH"
|
|
(string-append clang "/lib")))
|
|
#t)))))
|
|
(native-inputs
|
|
`(("pkg-config" ,pkg-config)))
|
|
(inputs
|
|
`(("libaom" ,libaom)
|
|
("libclang" ,clang)
|
|
("llvm" ,llvm)))
|
|
(home-page "https://github.com/rust-av/aom-rs")
|
|
(synopsis "FFI bindings to aom")
|
|
(description "This package provides FFI bindings to aom.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-approx-0.3
|
|
(package
|
|
(name "rust-approx")
|
|
(version "0.3.2")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "approx" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1hx580xjdxl3766js9b49rnbnmr8gw8c060809l43k9f0xshprph"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-num-complex" ,rust-num-complex-0.2)
|
|
("rust-num-traits" ,rust-num-traits-0.2))))
|
|
(home-page "https://github.com/brendanzab/approx")
|
|
(synopsis
|
|
"Approximate floating point equality comparisons and assertions")
|
|
(description
|
|
"Approximate floating point equality comparisons and assertions.")
|
|
(license license:asl2.0)))
|
|
|
|
(define-public rust-approx-0.1
|
|
(package
|
|
(inherit rust-approx-0.3)
|
|
(name "rust-approx")
|
|
(version "0.1.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "approx" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"153awzwywmb61xg857b80l63b1x6hifx2pha7lxf6fck9qxwraq8"))))
|
|
(arguments '())))
|
|
|
|
(define-public rust-arbitrary-0.2
|
|
(package
|
|
(name "rust-arbitrary")
|
|
(version "0.2.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "arbitrary" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1i3fhcdyjq4isn22xx2svmpfr5hwyzi0wavbm07fs8i2dv5pdkv4"))))
|
|
(build-system cargo-build-system)
|
|
(home-page "https://github.com/nagisa/rust_arbitrary/")
|
|
(synopsis "Trait for generating structured data from unstructured data")
|
|
(description
|
|
"The trait for generating structured data from unstructured data.")
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
(define-public rust-arc-swap-0.4
|
|
(package
|
|
(name "rust-arc-swap")
|
|
(version "0.4.4")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "arc-swap" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1zwswfi9n7n3hiq51w1xv34572k2diazx680rrxlc9w07c9akf6p"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-development-inputs
|
|
(("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)
|
|
("rust-itertools" ,rust-itertools-0.8)
|
|
("rust-model" ,rust-model-0.1)
|
|
("rust-num-cpus" ,rust-num-cpus-1.11)
|
|
("rust-once-cell" ,rust-once-cell-1.2)
|
|
("rust-proptest" ,rust-proptest-0.8)
|
|
("rust-version-sync" ,rust-version-sync-0.8))))
|
|
(home-page "https://github.com/vorner/arc-swap")
|
|
(synopsis "Atomically swappable Arc")
|
|
(description "This package provides an atomically swappable Arc.")
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
(define-public rust-arc-swap-0.3
|
|
(package
|
|
(inherit rust-arc-swap-0.4)
|
|
(name "rust-arc-swap")
|
|
(version "0.3.11")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "arc-swap" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0ha8724dpki985v52ifq5sd98xvpa5q51hyma52di75dbqbn4imw"))))
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-development-inputs
|
|
(("rust-crossbeam" ,rust-crossbeam-0.7)
|
|
("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)
|
|
("rust-itertools" ,rust-itertools-0.8)
|
|
("rust-lazy-static" ,rust-lazy-static-1)
|
|
("rust-model" ,rust-model-0.1)
|
|
("rust-num-cpus" ,rust-num-cpus-1.10)
|
|
("rust-parking-lot" ,rust-parking-lot-0.8)
|
|
("rust-proptest" ,rust-proptest-0.9)
|
|
("rust-version-sync" ,rust-version-sync-0.8))))))
|
|
|
|
(define-public rust-arg-enum-proc-macro-0.3
|
|
(package
|
|
(name "rust-arg-enum-proc-macro")
|
|
(version "0.3.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "arg_enum_proc_macro" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"021rr6j3n031ynfbm7kwb3j3bxvbsz40n0nqi78k47d3p92rihcv"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-proc-macro2" ,rust-proc-macro2-1.0)
|
|
("rust-syn" ,rust-syn-1.0)
|
|
("rust-quote" ,rust-quote-1.0))))
|
|
(home-page "https://github.com/lu-zero/arg_enum_proc_macro")
|
|
(synopsis "Procedural macro compatible with clap arg_enum")
|
|
(description
|
|
"This package provides a procedural macro compatible with clap's
|
|
@code{arg_enum}.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-argon2rs-0.2
|
|
(package
|
|
(name "rust-argon2rs")
|
|
(version "0.2.5")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "argon2rs" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"14mkgkrjd4b4zy92pflz6yb4j1wn2chbd8jczxknxbkdm2vb0rrz"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-blake2-rfc" ,rust-blake2-rfc-0.2)
|
|
("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1))
|
|
#:cargo-development-inputs
|
|
(("rust-cargon" ,rust-cargon-0.0))
|
|
#:phases
|
|
(modify-phases %standard-phases
|
|
(add-after 'unpack 'fix-cargo-toml
|
|
(lambda _
|
|
(substitute* "Cargo.toml"
|
|
(("\\{ path =.*,") "{"))
|
|
#t)))))
|
|
(home-page "https://github.com/bryant/argon2rs")
|
|
(synopsis "Rust password hashing library that runs on Argon2")
|
|
(description "This package provides a pure Rust password hashing library
|
|
that runs on Argon2.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-arrayref-0.3
|
|
(package
|
|
(name "rust-arrayref")
|
|
(version "0.3.5")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "arrayref" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1vphy316jbgmgckk4z7m8csvlyc8hih9w95iyq48h8077xc2wf0d"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-development-inputs
|
|
(("rust-quickcheck" ,rust-quickcheck-0.6))))
|
|
(home-page "https://github.com/droundy/arrayref")
|
|
(synopsis "Macros to take array references of slices")
|
|
(description
|
|
"Macros to take array references of slices.")
|
|
(license license:bsd-2)))
|
|
|
|
(define-public rust-arrayvec-0.5
|
|
(package
|
|
(name "rust-arrayvec")
|
|
(version "0.5.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "arrayvec" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1f5mca8kiiwhvhxd1mbnq68j6v6rk139sch567zwwzl6hs37vxyg"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-serde" ,rust-serde-1.0))
|
|
#:cargo-development-inputs
|
|
(("rust-bencher" ,rust-bencher-0.1)
|
|
("rust-matches" ,rust-matches-0.1)
|
|
("rust-serde-test" ,rust-serde-test-1.0))))
|
|
(home-page "https://github.com/bluss/arrayvec")
|
|
(synopsis "Vector with fixed capacity")
|
|
(description
|
|
"This package provides a vector with fixed capacity, backed by an
|
|
array (it can be stored on the stack too). Implements fixed capacity
|
|
ArrayVec and ArrayString.")
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
(define-public rust-arrayvec-0.4
|
|
(package
|
|
(inherit rust-arrayvec-0.5)
|
|
(name "rust-arrayvec")
|
|
(version "0.4.12")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "arrayvec" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1fdiv5m627gh6flp4mpmi1mh647imm9x423licsr11psz97d97yd"))))
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-nodrop" ,rust-nodrop-0.1)
|
|
("rust-serde" ,rust-serde-1.0))
|
|
#:cargo-development-inputs
|
|
(("rust-bencher" ,rust-bencher-0.1)
|
|
("rust-matches" ,rust-matches-0.1)
|
|
("rust-serde-test" ,rust-serde-test-1.0))))))
|
|
|
|
(define-public rust-ascii-1.0
|
|
(package
|
|
(name "rust-ascii")
|
|
(version "1.0.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "ascii" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0281gc828q4j692gb66jfdr5k16gyszgqflylh0pp30rllv63xdv"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-serde" ,rust-serde-1.0)
|
|
("rust-serde-test" ,rust-serde-test-1.0))))
|
|
(home-page "https://github.com/tomprogrammer/rust-ascii")
|
|
(synopsis "ASCII-only equivalents to `char`, `str` and `String`.")
|
|
(description
|
|
"A rust library that provides ASCII-only string and character types,
|
|
equivalent to the @code{char}, @code{str} and @code{String} types in the
|
|
standard library.")
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
(define-public rust-ascii-0.9
|
|
(package
|
|
(inherit rust-ascii-1.0)
|
|
(name "rust-ascii")
|
|
(version "0.9.3")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "ascii" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0km3zzkhrr22drf9p1zcblqirlxkdc7zra25acpi0h8qax5c1cga"))))
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-quickcheck" ,rust-quickcheck-0.6)
|
|
("rust-serde" ,rust-serde-1.0)
|
|
("rust-serde-test" ,rust-serde-test-1.0))))))
|
|
|
|
(define-public rust-ascii-canvas-2
|
|
(package
|
|
(name "rust-ascii-canvas")
|
|
(version "2.0.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "ascii-canvas" version))
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32 "0a9s8vrbc5jr6ry5ygjyfqmbs9gyya1v6dsxzsczpai8z4nvg3pz"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t ;; TODO: failes due to an unresolved import
|
|
#:cargo-inputs
|
|
(("rust-term" ,rust-term-0.5))))
|
|
(home-page "https://github.com/nikomatsakis/ascii-canvas")
|
|
(synopsis "Simple canvas for drawing lines and styled text and emitting to
|
|
the terminal")
|
|
(description "@code{ASCII} canvas is a simple Rust library that allows you
|
|
to draw lines and colored text and then write them to the terminal. It uses
|
|
the term library to handle the ANSI nonsense and hence it works on Windows,
|
|
Mac, and Unix.")
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
(define-public rust-assert-cli-0.6
|
|
(package
|
|
(name "rust-assert-cli")
|
|
(version "0.6.3")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "assert-cli" version))
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32 "0jc1bh3cvnl66bl7s5gr1xnm0hl8d2l3gmil0pmhp5v2xp0bg6m2"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:tests? #f ;; requires `printenv`, but installing coreutils doesn't help
|
|
#:cargo-inputs
|
|
(("rust-colored" ,rust-colored-1.9)
|
|
("rust-difference" ,rust-difference-2.0)
|
|
("rust-environment" ,rust-environment-0.1)
|
|
("rust-failure" ,rust-failure-0.1)
|
|
("rust-failure-derive" ,rust-failure-derive-0.1)
|
|
("rust-serde-json" ,rust-serde-json-1.0))
|
|
#:cargo-development-inputs
|
|
(("rust-docmatic" ,rust-docmatic-0.1))))
|
|
(home-page "https://github.com/assert-rs/assert_cli")
|
|
(synopsis "Test CLI Applications")
|
|
(description "This package helps testing CLI Applications.")
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
(define-public rust-assert-matches-1.3
|
|
(package
|
|
(name "rust-assert-matches")
|
|
(version "1.3.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "assert_matches" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1rar61v00gz2aniid0mylxcr4q98s6l77c3hvbszmg57kj10msvx"))))
|
|
(build-system cargo-build-system)
|
|
(home-page "https://github.com/murarth/assert_matches")
|
|
(synopsis "Asserts that a value matches a pattern")
|
|
(description
|
|
"This package asserts that a value matches a pattern in Rust.")
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
(define-public rust-aster-0.41
|
|
(package
|
|
(name "rust-aster")
|
|
(version "0.41.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "aster" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1q704kn23wnwnrxml7w1mxw6a3xb6386x5wgys6ibnyramrxzksc"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-clippy" ,rust-clippy-0.0)
|
|
("rust-compiletest-rs" ,rust-compiletest-rs-0.2)
|
|
("rust-syntex-syntax" ,rust-syntex-syntax-0.58))))
|
|
(home-page "https://github.com/serde-rs/aster")
|
|
(synopsis "Libsyntax ast builder")
|
|
(description "This package provides a libsyntax ast builder.")
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
(define-public rust-atty-0.2
|
|
(package
|
|
(name "rust-atty")
|
|
(version "0.2.14")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "atty" version))
|
|
(file-name (string-append name "-" version ".crate"))
|
|
(sha256
|
|
(base32
|
|
"1s7yslcs6a28c5vz7jwj63lkfgyx8mx99fdirlhi9lbhhzhrpcyr"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-hermit-abi" ,rust-hermit-abi-0.1)
|
|
("rust-libc" ,rust-libc-0.2)
|
|
("rust-winapi" ,rust-winapi-0.3))))
|
|
(home-page "https://github.com/softprops/atty")
|
|
(synopsis "Simple interface for querying atty")
|
|
(description
|
|
"This package provides a simple interface for querying atty.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-autocfg-1.0
|
|
(package
|
|
(name "rust-autocfg")
|
|
(version "1.0.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "autocfg" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"17cv6pwb4q08s0ynpr4n8hv5299hcmhdgvdchzixfpw8y5qcgapq"))))
|
|
(build-system cargo-build-system)
|
|
(home-page "https://github.com/cuviper/autocfg")
|
|
(synopsis
|
|
"Automatic cfg for Rust compiler features")
|
|
(description
|
|
"Automatic cfg for Rust compiler features.")
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
(define-public rust-autocfg-0.1
|
|
(package
|
|
(inherit rust-autocfg-1.0)
|
|
(name "rust-autocfg")
|
|
(version "0.1.7")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "autocfg" version))
|
|
(file-name (string-append name "-" version ".crate"))
|
|
(sha256
|
|
(base32
|
|
"1chwgimpx5z7xbag7krr9d8asxfqbh683qhgl9kn3hxk2l0djj8x"))))
|
|
(arguments '(#:skip-build? #t))))
|
|
|
|
(define-public rust-average-0.9
|
|
(package
|
|
(name "rust-average")
|
|
(version "0.9.4")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "average" version))
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1f8ya00bv6qki9m7b4lb3bn845rj473mx02qpm7wgy5qc1yp75xs"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-conv" ,rust-conv-0.3)
|
|
("rust-float-ord" ,rust-float-ord-0.2)
|
|
("rust-num-integer" ,rust-num-integer-0.1)
|
|
("rust-num-traits" ,rust-num-traits-0.2)
|
|
("rust-serde" ,rust-serde-1.0)
|
|
("rust-serde-big-array" ,rust-serde-big-array-0.1)
|
|
("rust-serde-derive" ,rust-serde-derive-1.0))
|
|
#:cargo-development-inputs
|
|
(("rust-bencher" ,rust-bencher-0.1)
|
|
("rust-quantiles" ,rust-quantiles-0.7)
|
|
("rust-rand" ,rust-rand-0.6)
|
|
("rust-serde-json" ,rust-serde-json-1.0)
|
|
("rust-streaming-stats" ,rust-streaming-stats-0.2))))
|
|
(home-page "https://github.com/vks/average")
|
|
(synopsis "Calculate statistics iteratively")
|
|
(description "This crate provides for calculating statistics iteratively
|
|
in Rust.")
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
(define-public rust-backtrace-0.3
|
|
(package
|
|
(name "rust-backtrace")
|
|
(version "0.3.46")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "backtrace" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"17hh1vrhfd01qpjilrdpy7q0lf2j2qv36achpg37q92rff4r5rmi"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-addr2line" ,rust-addr2line-0.11)
|
|
("rust-backtrace-sys" ,rust-backtrace-sys-0.1)
|
|
("rust-cfg-if" ,rust-cfg-if-0.1)
|
|
("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
|
|
("rust-cpp-demangle" ,rust-cpp-demangle-0.2)
|
|
("rust-findshlibs" ,rust-findshlibs-0.5)
|
|
("rust-goblin" ,rust-goblin-0.2)
|
|
("rust-libc" ,rust-libc-0.2)
|
|
("rust-memmap" ,rust-memmap-0.7)
|
|
("rust-rustc-demangle" ,rust-rustc-demangle-0.1)
|
|
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
|
|
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1.0)
|
|
("rust-serde" ,rust-serde-1.0)
|
|
("rust-winapi" ,rust-winapi-0.3))))
|
|
(home-page "https://github.com/rust-lang/backtrace-rs")
|
|
(synopsis
|
|
"Acquire a stack trace (backtrace) at runtime in a Rust program")
|
|
(description
|
|
"This package provides a library to acquire a stack
|
|
trace (backtrace) at runtime in a Rust program.")
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
(define-public rust-backtrace-sys-0.1
|
|
(package
|
|
(name "rust-backtrace-sys")
|
|
(version "0.1.35")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "backtrace-sys" version))
|
|
(file-name (string-append name "-" version ".crate"))
|
|
(sha256
|
|
(base32
|
|
"066iviphi72mx9hd3njzsplk5v45jhi10mrccbbyij391ahsps3x"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-libc" ,rust-libc-0.2)
|
|
("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
|
|
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1.0)
|
|
("rust-cc" ,rust-cc-1.0))))
|
|
(home-page "https://github.com/rust-lang/backtrace-rs")
|
|
(synopsis "Bindings to the libbacktrace gcc library")
|
|
(description
|
|
"This package provides bindings to the libbacktrace gcc library.")
|
|
(license (list license:asl2.0
|
|
license:expat))))
|
|
|
|
(define-public rust-base64-0.11
|
|
(package
|
|
(name "rust-base64")
|
|
(version "0.11.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "base64" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1iqmims6yvr6vwzyy54qd672zw29ipjj17p8klcr578c9ajpw6xl"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-development-inputs
|
|
(("rust-criterion" ,rust-criterion-0.3)
|
|
("rust-doc-comment" ,rust-doc-comment-0.3)
|
|
("rust-rand" ,rust-rand-0.6))))
|
|
(home-page "https://github.com/marshallpierce/rust-base64")
|
|
(synopsis "Encodes and decodes base64 as bytes or utf8")
|
|
(description
|
|
"This package encodes and decodes base64 as bytes or utf8.")
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
(define-public rust-base64-0.10
|
|
(package
|
|
(inherit rust-base64-0.11)
|
|
(name "rust-base64")
|
|
(version "0.10.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "base64" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"13k6bvd3n6dm7jqn9x918w65dd9xhx454bqphbnv0bkd6n9dj98b"))))
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-byteorder" ,rust-byteorder-1.3))
|
|
#:cargo-development-inputs
|
|
(("rust-criterion" ,rust-criterion-0.2)
|
|
("rust-rand" ,rust-rand-0.4))))))
|
|
|
|
(define-public rust-base64-0.9
|
|
(package
|
|
(inherit rust-base64-0.11)
|
|
(name "rust-base64")
|
|
(version "0.9.3")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "base64" version))
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32 "0hs62r35bgxslawyrn1vp9rmvrkkm76fqv0vqcwd048vs876r7a8"))))
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-byteorder" ,rust-byteorder-1.3)
|
|
("rust-safemem" ,rust-safemem-0.3))
|
|
#:cargo-development-inputs
|
|
(("rust-rand" ,rust-rand-0.4))))))
|
|
|
|
(define-public rust-base-x-0.2
|
|
(package
|
|
(name "rust-base-x")
|
|
(version "0.2.6")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "base-x" version))
|
|
(file-name (string-append name "-" version ".crate"))
|
|
(sha256
|
|
(base32
|
|
"1hfy0wv7j5ynd73yk1vyr32pqa77rp15lkrc54f8ky9c6hcbc80v"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-development-inputs
|
|
(("rust-bencher" ,rust-bencher-0.1)
|
|
("rust-json" ,rust-json-0.11)
|
|
("rust-rand" ,rust-rand-0.3))))
|
|
(home-page "https://github.com/OrKoN/base-x-rs")
|
|
(synopsis "Encode/decode any base")
|
|
(description "This library provides for encoding and decoding any base.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-bencher-0.1
|
|
(package
|
|
(name "rust-bencher")
|
|
(version "0.1.5")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bencher" version))
|
|
(file-name (string-append name "-" version ".crate"))
|
|
(sha256
|
|
(base32
|
|
"1x8p2xblgqssay8cdykp5pkfc0np0jk5bs5cx4f5av097aav9zbx"))))
|
|
(build-system cargo-build-system)
|
|
(home-page "https://github.com/bluss/bencher/")
|
|
(synopsis "Port of the libtest benchmark runner to Rust stable")
|
|
(description "This package provides a port of the libtest (unstable Rust)
|
|
benchmark runner to Rust stable releases. Supports running benchmarks and
|
|
filtering based on the name. Benchmark execution works exactly the same way
|
|
and no more (caveat: black_box is still missing!).")
|
|
(license (list license:asl2.0
|
|
license:expat))))
|
|
|
|
(define-public rust-better-panic-0.2
|
|
(package
|
|
(name "rust-better-panic")
|
|
(version "0.2.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "better-panic" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0xl48v6pd9ys7wp0ni62i6q73xpd1nhf92z09sjc9n3lrj0ac4ix"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-backtrace" ,rust-backtrace-0.3)
|
|
("rust-console" ,rust-console-0.9)
|
|
("rust-syntect" ,rust-syntect-3.3))))
|
|
(home-page "https://github.com/mitsuhiko/better-panic")
|
|
(synopsis "Pretty backtraces inspired by Python's tracebacks")
|
|
(description
|
|
"This package provides pretty panic backtraces inspired by Python's
|
|
tracebacks.")
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
(define-public rust-bincode-1.2
|
|
(package
|
|
(name "rust-bincode")
|
|
(version "1.2.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bincode" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1gvxm3n67xv1874fwxmnlircdlphlk1hcw75ykrrnw9l2nky4lsp"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-serde" ,rust-serde-1.0)
|
|
("rust-byteorder" ,rust-byteorder-1.3))
|
|
#:cargo-development-inputs
|
|
(("rust-serde-bytes" ,rust-serde-bytes-0.11)
|
|
("rust-serde-derive" ,rust-serde-derive-1.0))))
|
|
(home-page "https://github.com/servo/bincode")
|
|
(synopsis
|
|
"Binary serialization/deserialization strategy")
|
|
(description
|
|
"This package provides a binary serialization/deserialization strategy
|
|
that uses Serde for transforming structs into bytes and vice versa!")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-bincode-1.1
|
|
(package
|
|
(inherit rust-bincode-1.2)
|
|
(name "rust-bincode")
|
|
(version "1.1.4")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bincode" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1xx6bp39irvsndk6prnmmq8m1l9p6q2qj21j6mfks2y81pjsa14z"))))
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-autocfg" ,rust-autocfg-0.1)
|
|
("rust-byteorder" ,rust-byteorder-1.3)
|
|
("rust-serde" ,rust-serde-1.0))
|
|
#:cargo-development-inputs
|
|
(("rust-serde-bytes" ,rust-serde-bytes-0.11)
|
|
("rust-serde-derive" ,rust-serde-derive-1.0))))))
|
|
|
|
(define-public rust-bindgen-0.52
|
|
(package
|
|
(name "rust-bindgen")
|
|
(version "0.52.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bindgen" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0mzy2gjiaggl602yn4a11xzrxfj18kl7pwqa5yv32njkxd257j7i"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-shlex" ,rust-shlex-0.1)
|
|
("rust-cfg-if" ,rust-cfg-if-0.1)
|
|
("rust-peeking-take-while"
|
|
,rust-peeking-take-while-0.1)
|
|
("rust-clang-sys" ,rust-clang-sys-0.28)
|
|
("rust-cexpr" ,rust-cexpr-0.3)
|
|
("rust-log" ,rust-log-0.4)
|
|
("rust-env-logger" ,rust-env-logger-0.7)
|
|
("rust-proc-macro2" ,rust-proc-macro2-1.0)
|
|
("rust-quote" ,rust-quote-1.0)
|
|
("rust-rustc-hash" ,rust-rustc-hash-1.1)
|
|
("rust-bitflags" ,rust-bitflags-1)
|
|
("rust-lazycell" ,rust-lazycell-1.2)
|
|
("rust-regex" ,rust-regex-1.3)
|
|
("rust-lazy-static" ,rust-lazy-static-1)
|
|
("rust-clap" ,rust-clap-2)
|
|
("rust-which" ,rust-which-3.1))
|
|
#:cargo-development-inputs
|
|
(("rust-clap" ,rust-clap-2)
|
|
("rust-diff" ,rust-diff-0.1)
|
|
("rust-shlex" ,rust-shlex-0.1))
|
|
#:phases
|
|
(modify-phases %standard-phases
|
|
(add-after 'unpack 'set-environmental-variable
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
(let ((clang (assoc-ref inputs "libclang")))
|
|
(setenv "LIBCLANG_PATH"
|
|
(string-append clang "/lib")))
|
|
#t)))))
|
|
(inputs
|
|
`(("libclang" ,clang)))
|
|
(home-page "https://rust-lang.github.io/rust-bindgen/")
|
|
(synopsis
|
|
"Automatically generates Rust FFI bindings to C and C++ libraries")
|
|
(description
|
|
"Automatically generates Rust FFI bindings to C and C++ libraries.")
|
|
(license license:bsd-3)))
|
|
|
|
(define-public rust-bindgen-0.51
|
|
(package
|
|
(inherit rust-bindgen-0.52)
|
|
(name "rust-bindgen")
|
|
(version "0.51.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bindgen" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0x9gndlnwmxsihxvsc3izyyss7g8b2djn0daafshj1gcy69i7mzb"))))
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-shlex" ,rust-shlex-0.1)
|
|
("rust-cfg-if" ,rust-cfg-if-0.1)
|
|
("rust-peeking-take-while"
|
|
,rust-peeking-take-while-0.1)
|
|
("rust-clang-sys" ,rust-clang-sys-0.28)
|
|
("rust-cexpr" ,rust-cexpr-0.3)
|
|
("rust-log" ,rust-log-0.4)
|
|
("rust-env-logger" ,rust-env-logger-0.6)
|
|
("rust-proc-macro2" ,rust-proc-macro2-1.0)
|
|
("rust-quote" ,rust-quote-1.0)
|
|
("rust-rustc-hash" ,rust-rustc-hash-1.1)
|
|
("rust-bitflags" ,rust-bitflags-1)
|
|
("rust-regex" ,rust-regex-1.3)
|
|
("rust-lazy-static" ,rust-lazy-static-1)
|
|
("rust-clap" ,rust-clap-2)
|
|
("rust-which" ,rust-which-3.1))
|
|
#:cargo-development-inputs
|
|
(("rust-clap" ,rust-clap-2)
|
|
("rust-diff" ,rust-diff-0.1)
|
|
("rust-shlex" ,rust-shlex-0.1))))
|
|
(inputs `())))
|
|
|
|
(define-public rust-bindgen-0.50
|
|
(package
|
|
(inherit rust-bindgen-0.51)
|
|
(name "rust-bindgen")
|
|
(version "0.50.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bindgen" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1fp98x0k4cawil3rqxsfrb58pq3mb5mn37rp745zxfmjfigml3nb"))))
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-bitflags" ,rust-bitflags-1)
|
|
("rust-cexpr" ,rust-cexpr-0.3)
|
|
("rust-cfg-if" ,rust-cfg-if-0.1)
|
|
("rust-clang-sys" ,rust-clang-sys-0.28)
|
|
("rust-clap" ,rust-clap-2)
|
|
("rust-env-logger" ,rust-env-logger-0.6)
|
|
("rust-fxhash" ,rust-fxhash-0.2)
|
|
("rust-lazy-static" ,rust-lazy-static-1)
|
|
("rust-log" ,rust-log-0.4)
|
|
("rust-peeking-take-while" ,rust-peeking-take-while-0.1)
|
|
("rust-proc-macro2" ,rust-proc-macro2-0.4)
|
|
("rust-quote" ,rust-quote-0.6)
|
|
("rust-regex" ,rust-regex-1.1)
|
|
("rust-shlex" ,rust-shlex-0.1)
|
|
("rust-which" ,rust-which-2.0))
|
|
#:cargo-development-inputs
|
|
(("rust-clap" ,rust-clap-2)
|
|
("rust-diff" ,rust-diff-0.1)
|
|
("rust-shlex" ,rust-shlex-0.1))))))
|
|
|
|
(define-public rust-bindgen-0.37
|
|
(package
|
|
(inherit rust-bindgen-0.50)
|
|
(name "rust-bindgen")
|
|
(version "0.37.4")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bindgen" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"08f2cyzr8fc027mzj2lhmn5j3w318g2ql7yfw5ngxa3yhy1an98v"))))
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-cfg-if" ,rust-cfg-if-0.1)
|
|
("rust-peeking-take-while"
|
|
,rust-peeking-take-while-0.1)
|
|
("rust-cexpr" ,rust-cexpr-0.2)
|
|
("rust-clang-sys" ,rust-clang-sys-0.23)
|
|
("rust-proc-macro2" ,rust-proc-macro2-0.3) ; 0.3.5
|
|
("rust-log" ,rust-log-0.4)
|
|
("rust-env-logger" ,rust-env-logger-0.5)
|
|
("rust-quote" ,rust-quote-0.5)
|
|
("rust-which" ,rust-which-1.0)
|
|
("rust-regex" ,rust-regex-1.3)
|
|
("rust-lazy-static" ,rust-lazy-static-1)
|
|
("rust-clap" ,rust-clap-2))
|
|
#:cargo-development-inputs
|
|
(("rust-clap" ,rust-clap-2)
|
|
("rust-diff" ,rust-diff-0.1)
|
|
("rust-shlex" ,rust-shlex-0.1))))))
|
|
|
|
(define-public rust-bindgen-0.49
|
|
(package/inherit rust-bindgen-0.50
|
|
(name "rust-bindgen")
|
|
(version "0.49.4")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bindgen" version))
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32 "0vjacbvashvds5rbrlqvq5fy55wmp50iia3mnczvycap7mzhh1sc"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-bitflags" ,rust-bitflags-1)
|
|
("rust-cexpr" ,rust-cexpr-0.3)
|
|
("rust-cfg-if" ,rust-cfg-if-0.1)
|
|
("rust-clang-sys" ,rust-clang-sys-0.28)
|
|
("rust-clap" ,rust-clap-2)
|
|
("rust-env-logger" ,rust-env-logger-0.6)
|
|
("rust-fxhash" ,rust-fxhash-0.2)
|
|
("rust-lazy-static" ,rust-lazy-static-1)
|
|
("rust-log" ,rust-log-0.4)
|
|
("rust-peeking-take-while" ,rust-peeking-take-while-0.1)
|
|
("rust-proc-macro2" ,rust-proc-macro2-0.4)
|
|
("rust-quote" ,rust-quote-0.6)
|
|
("rust-regex" ,rust-regex-1.1)
|
|
("rust-shlex" ,rust-shlex-0.1)
|
|
("rust-which" ,rust-which-2.0))
|
|
#:cargo-development-inputs
|
|
(("rust-clap" ,rust-clap-2)
|
|
("rust-diff" ,rust-diff-0.1)
|
|
("rust-shlex" ,rust-shlex-0.1))))))
|
|
|
|
(define-public rust-bindgen-0.33
|
|
(package
|
|
(inherit rust-bindgen-0.50)
|
|
(name "rust-bindgen")
|
|
(version "0.33.2")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bindgen" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0vnw5fb74gl9pgnimgbrkac1xgwrjz86pqilx20rbkia77cdhgk0"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-cexpr" ,rust-cexpr-0.2)
|
|
("rust-cfg-if" ,rust-cfg-if-0.1)
|
|
("rust-clang-sys" ,rust-clang-sys-0.22)
|
|
("rust-clap" ,rust-clap-2)
|
|
("rust-env-logger" ,rust-env-logger-0.5)
|
|
("rust-lazy-static" ,rust-lazy-static-1)
|
|
("rust-log" ,rust-log-0.4)
|
|
("rust-peeking-take-while" ,rust-peeking-take-while-0.1)
|
|
("rust-quote" ,rust-quote-0.3)
|
|
("rust-regex" ,rust-regex-0.2)
|
|
("rust-which" ,rust-which-1.0))
|
|
#:cargo-development-inputs
|
|
(("rust-clap" ,rust-clap-2)
|
|
("rust-diff" ,rust-diff-0.1)
|
|
("rust-shlex" ,rust-shlex-0.1))))))
|
|
|
|
(define-public rust-bit-set-0.5
|
|
(package
|
|
(name "rust-bit-set")
|
|
(version "0.5.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bit-set" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"100ac8867bvbx9kv634w4xjk98b71i8nq4wdcvpf3cf4ha4j6k78"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-bit-vec" ,rust-bit-vec-0.5))
|
|
#:cargo-development-inputs
|
|
(("rust-rand" ,rust-rand-0.4))))
|
|
(home-page "https://github.com/contain-rs/bit-set")
|
|
(synopsis "Set of bits")
|
|
(description
|
|
"This package provides a set of bits.")
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
(define-public rust-bit-vec-0.5
|
|
(package
|
|
(name "rust-bit-vec")
|
|
(version "0.5.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bit-vec" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1fyh8221s6cxlmng01v8v2ljhavzawqqs8r1xjc66ap5sjavx6zm"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-serde" ,rust-serde-1.0))
|
|
#:cargo-development-inputs
|
|
(("rust-serde-json" ,rust-serde-json-1.0))))
|
|
(home-page "https://github.com/contain-rs/bit-vec")
|
|
(synopsis "Vector of bits")
|
|
(description
|
|
"This package provides a vector of bits.")
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
(define-public rust-bitflags-1
|
|
(package
|
|
(name "rust-bitflags")
|
|
(version "1.2.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bitflags" version))
|
|
(file-name (string-append name "-" version ".crate"))
|
|
(sha256
|
|
(base32
|
|
"14qnd5nq8p2almk79m4m8ydqhd413yaxsyjp5xd19g3mikzf47fg"))))
|
|
(build-system cargo-build-system)
|
|
(home-page "https://github.com/bitflags/bitflags")
|
|
(synopsis "Macro to generate structures which behave like bitflags")
|
|
(description "This package provides a macro to generate structures which
|
|
behave like a set of bitflags.")
|
|
(license (list license:asl2.0
|
|
license:expat))))
|
|
|
|
(define-public rust-bitflags-0.8
|
|
(package
|
|
(inherit rust-bitflags-1)
|
|
(name "rust-bitflags")
|
|
(version "0.8.2")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bitflags" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1x5z8hmirpnapkx6sww8gkc6x0q8ppni0lbsigm3mrba5byfjw0k"))))))
|
|
|
|
(define-public rust-bitflags-0.7
|
|
(package
|
|
(inherit rust-bitflags-1)
|
|
(name "rust-bitflags")
|
|
(version "0.7.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bitflags" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0v8hh6wdkpk9my8z8442g4hqrqf05h0qj53dsay6mv18lqvqklda"))))))
|
|
|
|
(define-public rust-bitflags-0.5
|
|
(package
|
|
(inherit rust-bitflags-1)
|
|
(name "rust-bitflags")
|
|
(version "0.5.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bitflags" version))
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32 "08qdq5w1nd3hzwsrxk0dxzqv4g8wbwj6v2193njskwzdd09r6rsg"))))))
|
|
|
|
(define-public rust-bitstream-io-0.8
|
|
(package
|
|
(name "rust-bitstream-io")
|
|
(version "0.8.5")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bitstream-io" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"00a6wy54s1dmadm5xz8k2cbsd7ixvm48mlc45bk0fdy0pbra6jk1"))))
|
|
(build-system cargo-build-system)
|
|
(arguments `(#:skip-build? #t))
|
|
(home-page
|
|
"https://github.com/tuffy/bitstream-io")
|
|
(synopsis
|
|
"Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.")
|
|
(description
|
|
"Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.")
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
(define-public rust-blake2-0.8
|
|
(package
|
|
(name "rust-blake2")
|
|
(version "0.8.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "blake2" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0c4k11j04kqhkci6i9b7lz6p13kpcv228pdqixgrawvavaq0gjwl"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-byte-tools" ,rust-byte-tools-0.3)
|
|
("rust-crypto-mac" ,rust-crypto-mac-0.7)
|
|
("rust-digest" ,rust-digest-0.8)
|
|
("rust-opaque-debug" ,rust-opaque-debug-0.2))
|
|
#:cargo-development-inputs
|
|
(("rust-crypto-mac" ,rust-crypto-mac-0.7)
|
|
("rust-digest" ,rust-digest-0.8)
|
|
("rust-hex-literal" ,rust-hex-literal-0.1))))
|
|
(home-page "https://github.com/RustCrypto/hashes")
|
|
(synopsis "BLAKE2 hash functions")
|
|
(description "This package provides BLAKE2 hash functions in Rust.")
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
(define-public rust-blake2-rfc-0.2
|
|
(package
|
|
(name "rust-blake2-rfc")
|
|
(version "0.2.18")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "blake2-rfc" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0034g47hyq2bzmk40895ill1mbnpmmjakdq3dmm9clidvl5m6vax"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-arrayvec" ,rust-arrayvec-0.4)
|
|
("rust-clippy" ,rust-clippy-0.0)
|
|
("rust-constant-time-eq" ,rust-constant-time-eq-0.1))
|
|
#:cargo-development-inputs
|
|
(("rust-data-encoding" ,rust-data-encoding-2.1))))
|
|
(home-page "https://github.com/cesarb/blake2-rfc")
|
|
(synopsis "Rust implementation of BLAKE2 based on RFC 7693")
|
|
(description
|
|
"This package provides a pure Rust implementation of BLAKE2 based on RFC
|
|
7693.")
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
(define-public rust-blake2b-simd-0.5
|
|
(package
|
|
(name "rust-blake2b-simd")
|
|
(version "0.5.10")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "blake2b-simd" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"12icvk8ixlivv3jv5nyrg01sajp4s279zb1kmif0nfja4ms2vyyq"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-arrayref" ,rust-arrayref-0.3)
|
|
("rust-arrayvec" ,rust-arrayvec-0.5)
|
|
("rust-constant-time-eq" ,rust-constant-time-eq-0.1))))
|
|
(home-page "https://github.com/oconnor663/blake2_simd")
|
|
(synopsis "Pure Rust BLAKE2b implementation with dynamic SIMD")
|
|
(description
|
|
"This package provides a pure Rust implementation of the BLAKE2b and
|
|
BLAKE2bp hash functions.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-blas-sys-0.7
|
|
(package
|
|
(name "rust-blas-sys")
|
|
(version "0.7.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "blas-sys" version))
|
|
(file-name (string-append name "-" version ".crate"))
|
|
(sha256
|
|
(base32
|
|
"0h14zjycwc76v15h8qll9z1xiryvmpvsb5gam97pqpdjrrwv5c8k"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
|
|
(home-page "https://github.com/blas-lapack-rs/blas-sys")
|
|
(synopsis "Bindings to BLAS (Fortran)")
|
|
(description
|
|
"Ths package provides bindings to BLAS (Fortran).")
|
|
(license (list license:asl2.0
|
|
license:expat))))
|
|
|
|
(define-public rust-blobby-0.1
|
|
(package
|
|
(name "rust-blobby")
|
|
(version "0.1.2")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "blobby" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1xicpf3s2mi5xqnx8ps5mdych4ib5nh2nfsbrsg8ar8bjk1girbg"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-byteorder" ,rust-byteorder-1.3))
|
|
#:cargo-development-inputs
|
|
(("rust-byteorder" ,rust-byteorder-1.3)
|
|
("rust-hex" ,rust-hex-0.3))))
|
|
(home-page "https://github.com/RustCrypto/utils")
|
|
(synopsis "Iterator over simple binary blob storage")
|
|
(description
|
|
"Iterator over simple binary blob storage.")
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
(define-public rust-block-0.1
|
|
(package
|
|
(name "rust-block")
|
|
(version "0.1.6")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "block" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"16k9jgll25pzsq14f244q22cdv0zb4bqacldg3kx6h89d7piz30d"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-development-inputs
|
|
(("rust-objc-test-utils" ,rust-objc-test-utils-0.0))))
|
|
(home-page "http://github.com/SSheldon/rust-block")
|
|
(synopsis "Rust interface for Apple's C language extension of blocks")
|
|
(description "This package provides a rust interface for Apple's C language
|
|
extension of blocks.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-block-buffer-0.7
|
|
(package
|
|
(name "rust-block-buffer")
|
|
(version "0.7.3")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "block-buffer" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"12v8wizynqin0hqf140kmp9s38q223mp1b0hkqk8j5pk8720v560"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-block-padding" ,rust-block-padding-0.1)
|
|
("rust-byte-tools" ,rust-byte-tools-0.3)
|
|
("rust-byteorder" ,rust-byteorder-1.3)
|
|
("rust-generic-array" ,rust-generic-array-0.12))))
|
|
(home-page "https://github.com/RustCrypto/utils")
|
|
(synopsis "Fixed size buffer for block processing of data")
|
|
(description
|
|
"Fixed size buffer for block processing of data.")
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
(define-public rust-block-padding-0.1
|
|
(package
|
|
(name "rust-block-padding")
|
|
(version "0.1.4")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "block-padding" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"02fz9wx5dmgpc79ndrb9xfxqlrkk7lg5wki2blz2zqg27spw6kbd"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-byte-tools" ,rust-byte-tools-0.3))))
|
|
(home-page "https://github.com/RustCrypto/utils")
|
|
(synopsis "Padding and unpadding of messages divided into blocks")
|
|
(description
|
|
"Padding and unpadding of messages divided into blocks.")
|
|
(license (list license:asl1.1 license:expat))))
|
|
|
|
(define-public rust-bresenham-0.1
|
|
(package
|
|
(name "rust-bresenham")
|
|
(version "0.1.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bresenham" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1mvg3zcyll0m3z79jwbg183ha4kb7bw06rd286ijwvgn4mi13hdz"))))
|
|
(build-system cargo-build-system)
|
|
(home-page "https://github.com/mbr/bresenham-rs")
|
|
(synopsis
|
|
"Iterator-based integer-only implementation of Bresenham's line algorithm")
|
|
(description
|
|
"This package provides a fast, iterator-based integer-only implementation of
|
|
Bresenham's line algorithm.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-bstr-0.2
|
|
(package
|
|
(name "rust-bstr")
|
|
(version "0.2.12")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bstr" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0hazfback6i2k3vhhwyj8h46id3y58zxqh22pz46hj9r1zayd298"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-lazy-static" ,rust-lazy-static-1)
|
|
("rust-memchr" ,rust-memchr-2.2)
|
|
("rust-regex-automata" ,rust-regex-automata-0.1)
|
|
("rust-serde" ,rust-serde-1.0))
|
|
#:cargo-development-inputs
|
|
(("rust-quickcheck" ,rust-quickcheck-0.8)
|
|
("rust-ucd-parse" ,rust-ucd-parse-0.1)
|
|
("rust-unicode-segmentation" ,rust-unicode-segmentation-1.3))))
|
|
(home-page "https://github.com/BurntSushi/bstr")
|
|
(synopsis
|
|
"String type that is not required to be valid UTF-8")
|
|
(description
|
|
"This package provides a string type that is not required to be valid
|
|
UTF-8.")
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
(define-public rust-bstr-0.1
|
|
(package
|
|
(inherit rust-bstr-0.2)
|
|
(name "rust-bstr")
|
|
(version "0.1.4")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bstr" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0nzi9vqhl56ws8gq39f3aj4qjrr4l3g5lbkkcj8xq1x4cb74wq2r"))))))
|
|
|
|
(define-public rust-bumpalo-3
|
|
(package
|
|
(name "rust-bumpalo")
|
|
(version "3.2.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bumpalo" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"11silgpsnfv6ir7j2nh7a69564f92vq20k9ha7zcbynpiav9vbhj"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:tests? #f ; cargo_readme_up_to_date test fails
|
|
#:cargo-development-inputs
|
|
(("rust-criterion" ,rust-criterion-0.3)
|
|
("rust-quickcheck" ,rust-quickcheck-0.9))))
|
|
(home-page "https://github.com/fitzgen/bumpalo")
|
|
(synopsis "Fast bump allocation arena for Rust")
|
|
(description
|
|
"This package provides a fast bump allocation arena for Rust.")
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
(define-public rust-bumpalo-2.5
|
|
(package
|
|
(inherit rust-bumpalo-3)
|
|
(name "rust-bumpalo")
|
|
(version "2.5.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bumpalo" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"018b5calz3895v04shk9bn7i73r4zf8yf7p1dqg92s3xya13vm1c"))))
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-development-inputs
|
|
(("rust-criterion" ,rust-criterion-0.2)
|
|
("rust-quickcheck" ,rust-quickcheck-0.8))))))
|
|
|
|
(define-public rust-byte-tools-0.3
|
|
(package
|
|
(name "rust-byte-tools")
|
|
(version "0.3.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "byte-tools" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1mqi29wsm8njpl51pfwr31wmpzs5ahlcb40wsjyd92l90ixcmdg3"))))
|
|
(build-system cargo-build-system)
|
|
(arguments `(#:skip-build? #t))
|
|
(home-page "https://github.com/RustCrypto/utils")
|
|
(synopsis "Bytes related utility functions")
|
|
(description "Bytes related utility functions.")
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
(define-public rust-bytecount-0.5
|
|
(package
|
|
(name "rust-bytecount")
|
|
(version "0.5.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bytecount" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0z6a280kiy4kg5v3qw97pbyvwycr17fsm41804i8zpq7nmads3xy"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-packed-simd" ,rust-packed-simd-0.3))
|
|
#:cargo-development-inputs
|
|
(("rust-criterion" ,rust-criterion-0.2)
|
|
("rust-quickcheck" ,rust-quickcheck-0.8)
|
|
("rust-rand" ,rust-rand-0.4))))
|
|
(home-page "https://github.com/llogiq/bytecount")
|
|
(synopsis "Count occurrences of a given byte")
|
|
(description
|
|
"Count occurrences of a given byte, or the number of UTF-8 code points,
|
|
in a byte slice, fast.")
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
(define-public rust-bytecount-0.4
|
|
(package
|
|
(name "rust-bytecount")
|
|
(version "0.4.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bytecount" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"13qpy38z5wx0rzcdvr2h0ixbfgi1dbrif068il3hwn3k2mah88mr"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-packed-simd" ,rust-packed-simd-0.3))
|
|
#:cargo-development-inputs
|
|
(("rust-criterion" ,rust-criterion-0.2)
|
|
("rust-quickcheck" ,rust-quickcheck-0.6)
|
|
("rust-rand" ,rust-rand-0.4))))
|
|
(home-page "https://github.com/llogiq/bytecount")
|
|
(synopsis "Counting bytes really fast")
|
|
(description
|
|
"This package counts occurrences of a given byte, or the number of UTF-8
|
|
code points, in a byte slice, fast.")
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
(define-public rust-byteorder-1.3
|
|
(package
|
|
(name "rust-byteorder")
|
|
(version "1.3.4")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "byteorder" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1pkjfhgjnq898g1d38ygcfi0msg3m6756cwv0sgysj1d26p8mi08"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-development-inputs
|
|
(("rust-doc-comment" ,rust-doc-comment-0.3)
|
|
("rust-quickcheck" ,rust-quickcheck-0.8)
|
|
("rust-rand" ,rust-rand-0.6))))
|
|
(home-page
|
|
"https://github.com/BurntSushi/byteorder")
|
|
(synopsis
|
|
"Reading/writing numbers in big-endian and little-endian")
|
|
(description
|
|
"Library for reading/writing numbers in big-endian and
|
|
little-endian.")
|
|
(license (list license:expat license:unlicense))))
|
|
|
|
(define-public rust-byteorder-0.5
|
|
(package
|
|
(inherit rust-byteorder-1.3)
|
|
(name "rust-byteorder")
|
|
(version "0.5.3")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "byteorder" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0ma8pkyz1jbglr29m1yzlc9ghmv6672nvsrn7zd0yn5jqs60xh8g"))))
|
|
(arguments
|
|
`(#:tests? #f
|
|
#:cargo-development-inputs
|
|
(("rust-quickcheck" ,rust-quickcheck-0.2)
|
|
("rust-rand" ,rust-rand-0.3))))))
|
|
|
|
(define-public rust-bytes-0.5
|
|
(package
|
|
(name "rust-bytes")
|
|
(version "0.5.4")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bytes" version))
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32 "1q9r7si1l8vndg4n2ny2nv833ghp5vyqzk5indb9rmhd5ibaq2hk"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t ;; FIXME requires Raus >= 1.39
|
|
#:cargo-inputs
|
|
(("rust-serde" ,rust-serde-1.0))
|
|
#:cargo-development-inputs
|
|
(("rust-loom" ,rust-loom-0.2)
|
|
("rust-serde-test" ,rust-serde-test-1.0))))
|
|
(home-page "https://github.com/tokio-rs/bytes")
|
|
(synopsis "Types and traits for working with bytes")
|
|
(description "Types and traits for working with bytes.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-bytes-0.4
|
|
(package/inherit rust-bytes-0.5
|
|
(name "rust-bytes")
|
|
(version "0.4.12")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bytes" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0768a55q2fsqdjsvcv98ndg9dq7w2g44dvq1avhwpxrdzbydyvr0"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-byteorder" ,rust-byteorder-1.3)
|
|
("rust-either" ,rust-either-1.5)
|
|
("rust-iovec" ,rust-iovec-0.1)
|
|
("rust-serde" ,rust-serde-1.0))
|
|
#:cargo-development-inputs
|
|
(("rust-serde-test" ,rust-serde-test-1.0))))))
|
|
|
|
(define-public rust-bytes-0.3
|
|
(package
|
|
(inherit rust-bytes-0.4)
|
|
(name "rust-bytes")
|
|
(version "0.3.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bytes" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"09vcp9kh12pva2xn2ir79k90v1a0id8f4sdv1abn5ifw2bqsyaf1"))))
|
|
(arguments
|
|
`(#:tests? #f ; Tests not distributed in crate.
|
|
#:cargo-development-inputs
|
|
(("rust-rand" ,rust-rand-0.3))))))
|
|
|
|
(define-public rust-bzip2-0.3
|
|
(package
|
|
(name "rust-bzip2")
|
|
(version "0.3.3")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bzip2" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0fvfwanp42j1zpig880jhb5mc0na50bijmwd6211p77sy35w7ds2"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-bzip2-sys" ,rust-bzip2-sys-0.1)
|
|
("rust-futures" ,rust-futures-0.1)
|
|
("rust-libc" ,rust-libc-0.2)
|
|
("rust-tokio-io" ,rust-tokio-io-0.1))
|
|
#:cargo-development-inputs
|
|
(("rust-partial-io" ,rust-partial-io-0.2)
|
|
("rust-quickcheck" ,rust-quickcheck-0.4)
|
|
("rust-rand" ,rust-rand-0.3)
|
|
("rust-tokio-core" ,rust-tokio-core-0.1))))
|
|
(home-page "https://github.com/alexcrichton/bzip2-rs")
|
|
(synopsis
|
|
"Rust bindings to libbzip2 for bzip2 compression and decompression")
|
|
(description
|
|
"Bindings to @code{libbzip2} for @code{bzip2} compression and decompression
|
|
exposed as Reader/Writer streams.")
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
(define-public rust-bzip2-sys-0.1
|
|
(package
|
|
(name "rust-bzip2-sys")
|
|
(version "0.1.7")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "bzip2-sys" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0pz2mdhkk8yphiqdh2kghdxb60kqyd10lfrjym3r4k5dylvam135"))
|
|
(modules '((guix build utils)))
|
|
(snippet
|
|
'(begin
|
|
(delete-file-recursively "bzip2-1.0.6")
|
|
(delete-file "build.rs")
|
|
;; Inspired by Debian's patch.
|
|
(with-output-to-file "build.rs"
|
|
(lambda _
|
|
(format #t "fn main() {~@
|
|
println!(\"cargo:rustc-link-lib=bz2\");~@
|
|
}~%")))
|
|
#t))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-libc" ,rust-libc-0.2)
|
|
("rust-cc" ,rust-cc-1.0))))
|
|
(home-page "https://github.com/alexcrichton/bzip2-rs")
|
|
(synopsis "Rust bindings to libbzip2")
|
|
(description
|
|
"Bindings to @code{libbzip2} for bzip2 compression and decompression
|
|
exposed as Reader/Writer streams.")
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
(define-public rust-c2-chacha-0.2
|
|
(package
|
|
(name "rust-c2-chacha")
|
|
(version "0.2.2")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "c2-chacha" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"00a11qdc8mg3z0k613rhprkc9p6xz0y7b1681x32ixg0hr3x0r3x"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-byteorder" ,rust-byteorder-1.3)
|
|
("rust-lazy-static" ,rust-lazy-static-1)
|
|
("rust-ppv-lite86" ,rust-ppv-lite86-0.2)
|
|
("rust-stream-cipher" ,rust-stream-cipher-0.3))
|
|
#:cargo-development-inputs
|
|
(("rust-hex-literal" ,rust-hex-literal-0.2))))
|
|
(home-page "https://github.com/cryptocorrosion/cryptocorrosion")
|
|
(synopsis "The ChaCha family of stream ciphers")
|
|
(description
|
|
"The ChaCha family of stream ciphers.")
|
|
(license (list license:asl2.0 license:expat))))
|
|
|
|
(define-public rust-cairo-rs-0.8
|
|
(package
|
|
(name "rust-cairo-rs")
|
|
(version "0.8.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "cairo-rs" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"11303v1fv6hsc9n70ak380gknkf0098phpcxqdhkmahqjsx4jw0m"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-bitflags" ,rust-bitflags-1)
|
|
("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
|
|
("rust-glib" ,rust-glib-0.9)
|
|
("rust-glib-sys" ,rust-glib-sys-0.9)
|
|
("rust-gobject-sys" ,rust-gobject-sys-0.9)
|
|
("rust-libc" ,rust-libc-0.2))
|
|
#:cargo-development-inputs
|
|
(("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)
|
|
("rust-tempfile" ,rust-tempfile-3))))
|
|
(inputs
|
|
`(("cairo" ,cairo)))
|
|
(home-page "https://gtk-rs.org/")
|
|
(synopsis "Rust bindings for the Cairo library")
|
|
(description
|
|
"Rust bindings for the Cairo library.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-cairo-rs-0.7
|
|
(package
|
|
(inherit rust-cairo-rs-0.8)
|
|
(name "rust-cairo-rs")
|
|
(version "0.7.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "cairo-rs" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"171m98g41avp5mmshqir4ka21napp7ma5fx45wi9mw5hwdyv8pg0"))))
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-bitflags" ,rust-bitflags-1)
|
|
("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9)
|
|
("rust-glib" ,rust-glib-0.8)
|
|
("rust-glib-sys" ,rust-glib-sys-0.9)
|
|
("rust-gobject-sys" ,rust-gobject-sys-0.9)
|
|
("rust-libc" ,rust-libc-0.2)
|
|
("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1))
|
|
#:cargo-development-inputs
|
|
(("rust-tempfile" ,rust-tempfile-3))))))
|
|
|
|
(define-public rust-cairo-sys-rs-0.9
|
|
(package
|
|
(name "rust-cairo-sys-rs")
|
|
(version "0.9.2")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "cairo-sys-rs" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0qsdy6s57yvscg2rfm7wdqrlhzbn1aq9lhk3dy1vw5f7r81blrgz"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-glib-sys" ,rust-glib-sys-0.9)
|
|
("rust-libc" ,rust-libc-0.2)
|
|
("rust-winapi" ,rust-winapi-0.3)
|
|
("rust-x11" ,rust-x11-2)
|
|
("rust-pkg-config" ,rust-pkg-config-0.3))))
|
|
(inputs
|
|
`(("cairo" ,cairo)))
|
|
(home-page "https://gtk-rs.org/")
|
|
(synopsis "FFI bindings to libcairo")
|
|
(description "This package provides FFI bindings to libcairo.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-calloop-0.4
|
|
(package
|
|
(name "rust-calloop")
|
|
(version "0.4.4")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "calloop" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0q6ic9lr0s86886mbyn4yncg68b2sykgwjf3iygdw01swmxhk8ks"))
|
|
(modules '((guix build utils)))
|
|
(snippet
|
|
'(begin
|
|
(substitute* "Cargo.toml"
|
|
(("=1.0.0") "^1.0.0"))
|
|
#t))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-mio" ,rust-mio-0.6)
|
|
("rust-mio-extras" ,rust-mio-extras-2)
|
|
("rust-nix" ,rust-nix-0.14))
|
|
#:cargo-development-inputs
|
|
(("rust-lazycell" ,rust-lazycell-1.2))))
|
|
(home-page "https://github.com/Smithay/calloop")
|
|
(synopsis "Callback-based event loop")
|
|
(description
|
|
"This package provides a callback-based event loop")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-capnp-0.10
|
|
(package
|
|
(name "rust-capnp")
|
|
(version "0.10.3")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "capnp" version))
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32 "17hsnmlcrzksjjpwpz51y8g36xzq8042i2cwns0lsg7rixfw2rxq"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-futures" ,rust-futures-0.1)
|
|
("rust-quickcheck" ,rust-quickcheck-0.2))
|
|
#:cargo-development-inputs
|
|
(("rust-quickcheck" ,rust-quickcheck-0.2))))
|
|
(home-page "https://github.com/capnproto/capnproto-rust")
|
|
(synopsis "Runtime library for Cap'n Proto data encoding")
|
|
(description "This package provides a runtime library for Cap'n Proto data
|
|
encoding.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-capnp-futures-0.10
|
|
(package
|
|
(name "rust-capnp-futures")
|
|
(version "0.10.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "capnp-futures" version))
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32 "0qdiqkp9mh4acpa0dqhpzv2gwf949rj3m85mgwl1rih6gvgbh1zs"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-capnp" ,rust-capnp-0.10)
|
|
("rust-futures" ,rust-futures-0.1))
|
|
#:cargo-development-inputs
|
|
(("rust-capnp" ,rust-capnp-0.10)
|
|
("rust-quickcheck" ,rust-quickcheck-0.2))))
|
|
(home-page "https://github.com/capnproto/capnproto-rust")
|
|
(synopsis "Async serialization for Cap'n Proto messages")
|
|
(description "This package provides async serialization for Cap'n Proto
|
|
messages.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-capnp-rpc-0.10
|
|
(package
|
|
(name "rust-capnp-rpc")
|
|
(version "0.10.0")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "capnp-rpc" version))
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32 "1j6xg7yays1hlm1045wviyn1642yvvi2p4kba26yk07a0kafr3jn"))))
|
|
(build-system cargo-build-system)
|
|
(native-inputs
|
|
`(("capnproto" ,capnproto)))
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-capnp" ,rust-capnp-0.10)
|
|
("rust-capnp-futures" ,rust-capnp-futures-0.10)
|
|
("rust-futures" ,rust-futures-0.1))
|
|
#:cargo-development-inputs
|
|
(("rust-capnpc" ,rust-capnpc-0.10))))
|
|
(home-page "https://github.com/capnproto/capnproto-rust")
|
|
(synopsis "Cap'n Proto remote procedure call protocol implementation")
|
|
(description "This package provides an implementation of the Cap'n Proto
|
|
remote procedure call protocol")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-capnpc-0.10
|
|
(package
|
|
(name "rust-capnpc")
|
|
(version "0.10.2")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "capnpc" version))
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32 "1zxbmdkr0xfzkfq9p8zn7pp9jjq275qhr8fh9a0cc0ab37yfvbyj"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs (("rust-capnp" ,rust-capnp-0.10))))
|
|
(home-page "https://github.com/capnproto/capnproto-rust")
|
|
(synopsis "Cap'n Proto code generation")
|
|
(description "Cap'n Proto code generation")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-caps-0.3
|
|
(package
|
|
(name "rust-caps")
|
|
(version "0.3.3")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "caps" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1vplgzx8nifzr3f0l8ca77jqnz3fdymdg0ickacgdvawc44a3n90"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-errno" ,rust-errno-0.2)
|
|
("rust-error-chain" ,rust-error-chain-0.12)
|
|
("rust-libc" ,rust-libc-0.2))))
|
|
(home-page "https://github.com/lucab/caps-rs")
|
|
(synopsis "Pure-Rust library to work with Linux capabilities")
|
|
(description
|
|
"This package provides a pure-Rust library to work with Linux
|
|
capabilities")
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
(define-public rust-cargo-metadata-0.9
|
|
(package
|
|
(name "rust-cargo-metadata")
|
|
(version "0.9.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "cargo_metadata" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"00pjms89lghvizh4d55lz80hvrih9r55xv9m5wd9vcsgc163gqs6"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:tests? #f
|
|
#:cargo-inputs
|
|
(("rust-semver" ,rust-semver-0.9)
|
|
("rust-serde" ,rust-serde-1.0)
|
|
("rust-serde-derive" ,rust-serde-derive-1.0)
|
|
("rust-serde-json" ,rust-serde-json-1.0))
|
|
#:cargo-development-inputs
|
|
(("rust-clap" ,rust-clap-2)
|
|
("rust-docopt" ,rust-docopt-1.1)
|
|
("rust-structopt" ,rust-structopt-0.2))))
|
|
(home-page "https://github.com/oli-obk/cargo_metadata")
|
|
(synopsis "Structured access to the output of `cargo metadata`")
|
|
(description
|
|
"This package provides structured access to the output of @code{cargo
|
|
metadata}.")
|
|
(license license:expat)))
|
|
|
|
(define-public rust-cargo-metadata-0.6
|
|
(package
|
|
(inherit rust-cargo-metadata-0.9)
|
|
(name "rust-cargo-metadata")
|
|
(version "0.6.4")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "cargo_metadata" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1givpi2w7iwqqnl87x5yc15zcm5hs6yw490sb6abkfp1h39v9lg5"))))
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-error-chain" ,rust-error-chain-0.12)
|
|
("rust-semver" ,rust-semver-0.9)
|
|
("rust-serde" ,rust-serde-1.0)
|
|
("rust-serde-derive" ,rust-serde-derive-1.0)
|
|
("rust-serde-json" ,rust-serde-json-1.0))
|
|
#:cargo-development-inputs
|
|
(;("rust-docopt" ,rust-docopt-0.8)
|
|
("rust-clap" ,rust-clap-2))))))
|
|
|
|
(define-public rust-cargon-0.0
|
|
(package
|
|
(name "rust-cargon")
|
|
(version "0.0.1")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "cargon" version))
|
|
(file-name (string-append name "-" version ".crate"))
|
|
(sha256
|
|
(base32
|
|
"1cszlab7jk736p0lb50ag4l9nv72m7j41bwrmygl0lr4iz0350w2"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:cargo-inputs
|
|
(("rust-gcc" ,rust-gcc-0.3))))
|
|
(home-page "https://github.com/bryant/argon2rs")
|
|
(synopsis "Thin wrapper around the Argon2 C library")
|
|
(description
|
|
"This package provides a thin wrapper around the Argon2 C library. It is
|
|
used in argon2rs' bench suite.")
|
|
(license license:wtfpl2)))
|
|
|
|
(define-public rust-cast-0.2
|
|
(package
|
|
(name "rust-cast")
|
|
(version "0.2.3")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (crate-uri "cast" version))
|
|
(file-name
|
|
(string-append name "-" version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1c5z7zryj0zwnhdgs6rw5dfvnlwc1vm19jzrlgx5055alnwk952b"))))
|
|
(build-system cargo-build-system)
|
|
(arguments
|
|
`(#:skip-build? #t
|
|
#:cargo-inputs
|
|
(("rust-rustc-version" ,rust-rustc-version-0.2))
|
|
#:cargo-development-inputs
|
|
(("rust-quickcheck" ,rust-quickcheck-0.9))))
|
|
(home-page "https://github.com/japaric/cast.rs")
|
|
(synopsis
|
|
"Ergonomic, checked cast functions for primitive types")
|
|
(description
|
|
"Ergonomic, checked cast functions for primitive types."< |