#: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)
(license (list license:expat
license:asl2.0))))
+(define-public rust-libc-print-0.1
+ (package
+ (name "rust-libc-print")
+ (version "0.1.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libc-print" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1sh4l815w7zxg8w17fvwj63y421sjqxxrdamzwyvg90n6mr70phv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/mmastrac/rust-libc-print")
+ (synopsis "Println! and eprintln! without stdlib")
+ (description "This package provices @code{println!} and @code{eprintln!}
+macros on libc without stdlib.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-libgit2-sys-0.10
(package
(name "rust-libgit2-sys")
(license (list license:asl2.0
license:expat))))
+(define-public rust-libsqlite3-sys-0.15
+ (package
+ (name "rust-libsqlite3-sys")
+ (version "0.15.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libsqlite3-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "104n0s4f46zprppjq6y82y0wjh1r2cgwzw26w914yj30rizy1cbj"))))
+ (build-system cargo-build-system)
+ (inputs
+ `(("sqlite" ,sqlite)))
+ (arguments
+ `(#:cargo-inputs
+ ;; build dependencies
+ (("rust-bindgen" ,rust-bindgen-0.49)
+ ("rust-cc" ,rust-cc-1.0)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-vcpkg" ,rust-vcpkg-0.2))))
+ (home-page "https://github.com/rusqlite/rusqlite")
+ (synopsis "Native bindings to the libsqlite3 library")
+ (description "Native bindings to the libsqlite3 library")
+ (license license:expat)))
+
(define-public rust-libz-sys-1.0
(package
(name "rust-libz-sys")
`(#:cargo-inputs
(("rust-log" ,rust-log-0.4))))))
-(define-public rust-loom-0.1
+(define-public rust-loom-0.3
(package
+ (name "rust-loom")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "loom" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10z738ig6vgvwc2kxjhjdr5b29p3ribk5f6gg6ak0xjxhjb4cnkc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ;; TODO fails due to unresolved import
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-generator" ,rust-generator-0.6)
+ ("rust-scoped-tls" ,rust-scoped-tls-0.1)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-json" ,rust-serde-json-1.0))))
+ (home-page "https://github.com/tokio-rs/loom")
+ (synopsis "Permutation testing for concurrent code")
+ (description "Permutation testing for concurrent code")
+ (license license:expat)))
+
+(define-public rust-loom-0.2
+ (package/inherit rust-loom-0.3
+ (name "rust-loom")
+ (version "0.2.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "loom" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qwvwbpnxff5m6647v9rc9i6ak8ral4jy0br5xx1s9a5zcd3xddh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-generator" ,rust-generator-0.6)
+ ("rust-scoped-tls" ,rust-scoped-tls-0.1)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-test" ,rust-serde-test-1.0)
+ ("rust-serde-json" ,rust-serde-json-1.0))))))
+
+(define-public rust-loom-0.1
+ (package/inherit rust-loom-0.3
(name "rust-loom")
(version "0.1.1")
(source
(sha256
(base32
"1jmp5mffwwyqgp914cwz92ij2s6vk1hsnkvgndvzw74xrcfraibj"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-0.1)
("rust-scoped-tls" ,rust-scoped-tls-0.1)
("rust-serde" ,rust-serde-1.0)
("rust-serde-derive" ,rust-serde-derive-1.0)
- ("rust-serde-json" ,rust-serde-json-1.0))))
- (home-page "https://github.com/tokio-rs/loom")
- (synopsis "Model checker for concurrent code")
- (description "Model checker for concurrent code.")
- (license license:expat)))
+ ("rust-serde-json" ,rust-serde-json-1.0))))))
+
+(define-public rust-lru-cache-0.1
+ (package
+ (name "rust-lru-cache")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lru-cache" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "071viv6g2p3akwqmfb3c8vsycs5n7kr17b70l7la071jv0d4zqii"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-heapsize" ,rust-heapsize-0.4)
+ ("rust-linked-hash-map" ,rust-linked-hash-map-0.5))))
+ (home-page "https://github.com/contain-rs/lru-cache")
+ (synopsis "Cache that holds a limited number of key-value pairs")
+ (description "This package provides a cache that holds a limited number of
+key-value pairs.")
+ (license (list license:expat license:asl2.0))))
(define-public rust-lscolors-0.6
(package
"This package provides a collection of great and ubiqutitous macros.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-mach-o-sys-0.1
+ (package
+ (name "rust-mach-o-sys")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mach-o-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09l8p7nmzq37450x2h6nb7dzg1sk6dk36a5rkcrcy81zm21lb19y"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/fitzgen/mach_o_sys")
+ (synopsis "Bindings to the OSX mach-o system library")
+ (description "This package provides bindings to the OSX mach-o system
+library")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-make-cmd-0.1
(package
(name "rust-make-cmd")
"1cvm2z7dy138s302ii7wlzcxbka5a8yfl5pl5di7lbdnw9hw578g"))))
(arguments `(#:skip-build? #t))))
+(define-public rust-memsec-0.5
+ (package
+ (name "rust-memsec")
+ (version "0.5.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "memsec" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13ir50j549gdz94pds1i7ljnk14d66q5x91s11hncm1pih7jif8c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-getrandom" ,rust-getrandom-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mach-o-sys" ,rust-mach-o-sys-0.1)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/quininer/memsec")
+ (synopsis "Rust implementation of libsodium/utils")
+ (description "This package provides a Rust implementation of
+@code{libsodium/utils}.")
+ (license license:expat)))
+
(define-public rust-metadeps-1.1
(package
(name "rust-metadeps")
(license (list license:asl2.0
license:expat))))
+(define-public rust-nettle-7
+ (package
+ (name "rust-nettle")
+ (version "7.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nettle" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1n6dwy9zba8853bmxzhwaashd3np0wxpx0pj43brm0hb8n2sxbxi"))
+ (patches (search-patches "rust-nettle-disable-vendor.patch"))))
+ (build-system cargo-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("clang" ,clang)
+ ("gmp" ,gmp)
+ ("nettle" ,nettle)))
+ (arguments
+ `(#:skip-build? #t ;; provides nothing, has no tests
+ #:cargo-inputs
+ (("rust-getrandom" ,rust-getrandom-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-nettle-sys" ,rust-nettle-sys-2)
+ ("rust-thiserror" ,rust-thiserror-1.0))
+ #:cargo-development-inputs
+ (("rust-bindgen" ,rust-bindgen-0.51)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'set-missing-env-vars
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; FIXME: why do we need to set this?
+ (setenv "LIBCLANG_PATH"
+ (string-append (assoc-ref inputs "clang") "/lib"))
+ #t)))))
+ (home-page "https://gitlab.com/sequoia-pgp/nettle-rs")
+ (synopsis "Rust bindings for the Nettle cryptographic library")
+ (description "This package provides Rust bindings for the Nettle
+cryptographic library.")
+ (license (list license:lgpl3 license:gpl2 license:gpl3))))
+
+(define-public rust-nettle-sys-2
+ (package
+ (name "rust-nettle-sys")
+ (version "2.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nettle-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yq1w6dlcmg89x529i7s20j29afdhgim7qnsa7978fszzwrr6qmq"))
+ (patches (search-patches "rust-nettle-sys-disable-vendor.patch"))))
+ (build-system cargo-build-system)
+ (native-inputs
+ `(("clang" ,clang)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("nettle", nettle)))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-development-inputs
+ (("rust-bindgen" ,rust-bindgen-0.51)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (home-page "https://gitlab.com/sequoia-pgp/nettle-sys")
+ (synopsis "Low-level Rust bindings for the Nettle cryptographic library")
+ (description "This package provides low-level Rust bindings for the Nettle
+cryptographic library.")
+ (license ;; licensed under either of these, at your option
+ (list license:lgpl3 license:gpl2 license:gpl3))))
+
(define-public rust-new-debug-unreachable-1.0
(package
(name "rust-new-debug-unreachable")
(description "This package provides FFI bindings to libgtk-3.")
(license license:expat)))
+(define-public rust-parity-tokio-ipc-0.4
+ (package
+ (name "rust-parity-tokio-ipc")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "parity-tokio-ipc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1gzifrrpiw78p6dq9ax64vhffc4h6mwg6jazpfgkz8zy0jjzwmqy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.4)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mio-named-pipes" ,rust-mio-named-pipes-0.1)
+ ("rust-miow" ,rust-miow-0.3)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-tokio" ,rust-tokio-0.1)
+ ("rust-tokio-named-pipes" ,rust-tokio-named-pipes-0.1)
+ ("rust-tokio-uds" ,rust-tokio-uds-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/nikvolf/parity-tokio-ipc")
+ (synopsis "Interprocess communication library for tokio")
+ (description "Interprocess communication library for tokio.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-parity-wasm-0.41
(package
(name "rust-parity-wasm")
"This package provides a library for window abstraction.")
(license license:expat)))
+(define-public rust-pin-project-lite-0.1
+ (package
+ (name "rust-pin-project-lite")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pin-project-lite" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1bljczwz9yyb6jskjhbkilcbdg7v1mhfwzp2mxknzf7v1isl8y13"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-rustversion" ,rust-rustversion-1.0)
+ ("rust-trybuild" ,rust-trybuild-1.0))))
+ (home-page "https://github.com/taiki-e/pin-project-lite")
+ (synopsis "Lightweight version of pin-project written with declarative
+macros")
+ (description "This package provides a lightweight version of pin-project
+written with declarative macros.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-pkg-config-0.3
(package
(name "rust-pkg-config")
replacements, adding colorful diffs.")
(license (list license:expat license:asl2.0))))
+(define-public rust-pretty-assertions-0.2
+ (package
+ (name "rust-pretty-assertions")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pretty-assertions" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1b3nv70i16737w3qkk1q5vqswwnb19znz8r9v2kcg1qyhh3h0l8x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-difference" ,rust-difference-1))))
+ (home-page "https://github.com/colin-kiegel/rust-pretty-assertions")
+ (synopsis "Colorful diffs for `assert_eq!` and `assert_ne!`")
+ (description "Overwrite `assert_eq!` and `assert_ne!` with drop-in
+replacements, adding colorful diffs.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-pretty-env-logger-0.3
(package
(name "rust-pretty-env-logger")
(description "This package provides a visually pretty env_logger.")
(license (list license:expat license:asl2.0))))
+(define-public rust-prettytable-rs-0.8
+ (package
+ (name "rust-prettytable-rs")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "prettytable-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0bmcsxkcy94hi0jz5db0fz137w5aaf17z2j1ryn2vyh400blpl0g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-atty" ,rust-atty-0.2)
+ ("rust-csv" ,rust-csv-1.1)
+ ("rust-encode-unicode" ,rust-encode-unicode-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-term" ,rust-term-0.5)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))))
+ (home-page "https://github.com/phsym/prettytable-rs")
+ (synopsis "Library for printing pretty formatted tables in terminal")
+ (description "This package provides a library for printing pretty
+formatted tables in terminal.")
+ (license license:bsd-3)))
+
(define-public rust-proc-macro-error-0.4
(package
(name "rust-proc-macro-error")
"This package provides a pull parser for CommonMark.")
(license license:expat)))
+(define-public rust-pulldown-cmark-0.0.8
+ (package/inherit rust-pulldown-cmark-0.4
+ (name "rust-pulldown-cmark")
+ (version "0.0.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pulldown-cmark" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hbg68h1w48cp72n95hjmbm70jrb5khc9vipcmjng83wjaxxfn0h"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-0.5)
+ ("rust-getopts" ,rust-getopts-0.2))))))
+
(define-public rust-quantiles-0.7
(package
(name "rust-quantiles")
("rust-serde" ,rust-serde-1.0)
("rust-serde-derive" ,rust-serde-derive-1.0))))))
+(define-public rust-rayon-0.8
+ (package/inherit rust-rayon-1.3
+ (name "rust-rayon")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rayon" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1j2l9x98ma63qkh9w8zik0vcpwqf9cvc2ynh66ibjp36nq4gw55n"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rayon-core" ,rust-rayon-core-1.7))
+ #:cargo-development-inputs
+ (("rust-compiletest-rs" ,rust-compiletest-rs-0.2)
+ ("rust-docopt" ,rust-docopt-0.7)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-rand" ,rust-rand-0.3)
+ ("rust-rustc-serialize" ,rust-rustc-serialize-0.3))))))
+
(define-public rust-rayon-core-1.7
(package
(name "rust-rayon-core")
(license (list license:asl2.0
license:expat))))
-(define-public rust-ron-0.4
+(define-public rust-ring-0.16
(package
- (name "rust-ron")
- (version "0.4.1")
+ (name "rust-ring")
+ (version "0.16.12")
(source
(origin
(method url-fetch)
- (uri (crate-uri "ron" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (uri (crate-uri "ring" version))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1mrqdgw3w0yypg24jyq9mphp4zr9lr0ks7yam82m4n34x6njijyr"))))
+ (base32 "033sb54dlmiqdivc8v9ykkq3v08lzy0syjf5k1nag2gfcknai98v"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-base64" ,rust-base64-0.10)
- ("rust-bitflags" ,rust-bitflags-1)
- ("rust-serde" ,rust-serde-1.0))
+ `(#:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-spin" ,rust-spin-0.5)
+ ("rust-untrusted" ,rust-untrusted-0.7)
+ ("rust-web-sys" ,rust-web-sys-0.3)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ;; build dependencies
+ ("rust-cc" ,rust-cc-1.0))
+ #:cargo-development-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2))))
+ (home-page "https://github.com/briansmith/ring")
+ (synopsis "Safe, fast, small crypto using Rust")
+ (description "This package provided safe, fast, small crypto using Rust.")
+ (license (list license:isc license:openssl))))
+
+(define-public rust-ring-0.13
+ (package/inherit rust-ring-0.16
+ (name "rust-ring")
+ (version "0.13.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ring" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12j580by6a438i5mw3136cj3lxylywymdr5p8rqlkwrm5s5bck9c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-untrusted" ,rust-untrusted-0.6)
+ ;; build dependencies
+ ("rust-cc" ,rust-cc-1.0))))))
+
+(define-public rust-ron-0.4
+ (package
+ (name "rust-ron")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ron" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1mrqdgw3w0yypg24jyq9mphp4zr9lr0ks7yam82m4n34x6njijyr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.10)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-serde" ,rust-serde-1.0))
#:cargo-development-inputs
(("rust-serde-bytes" ,rust-serde-bytes-0.11)
("rust-serde-json" ,rust-serde-json-1.0))))
(license (list license:asl2.0
license:expat))))
+(define-public rust-rspec-1
+ (package
+ (name "rust-rspec")
+ (version "1.0.0-beta.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rspec" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1abfzwkbxlwahb243k8d3fp6i135lx1aqmbfl79w9zlpng182ndk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ;; TODO unpackaged dev-dependencies
+ #:cargo-inputs
+ (("rust-colored" ,rust-colored-1.9)
+ ("rust-derive-new" ,rust-derive-new-0.5)
+ ("rust-derive-builder" ,rust-derive-builder-0.5)
+ ("rust-expectest" ,rust-expectest-0.9)
+ ("rust-rayon" ,rust-rayon-0.8))
+ #:cargo-development-inputs
+ (("rust-clippy" ,rust-clippy-0.0)))) ;; requires 0.0.153
+ (home-page "https://github.com/rust-rspec/rspec")
+ (synopsis "Write Rspec-like tests with stable rust")
+ (description "This package helps writing Rspec-like tests with stable
+rust.")
+ (license license:mpl2.0)))
+
+(define-public rust-rpassword-4
+ (package
+ (name "rust-rpassword")
+ (version "4.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rpassword" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jnl8wzmdazkpzqs0vsw0n0vm0v4b8chqifd6s84nl9w2ybhx7ym"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/conradkleinespel/rpassword")
+ (synopsis "Read passwords in Rust console applications")
+ (description "This package provides a crate for reading passwords in
+console applications.")
+ (license license:asl2.0)))
+
+(define-public rust-rusqlite-0.19
+ (package
+ (name "rust-rusqlite")
+ (version "0.19.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rusqlite" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19xq7s0kzhlljm3hqx0vidr91ia8hl49r4m5gwdj9dyywgks5g3f"))))
+ (build-system cargo-build-system)
+ (inputs
+ `(("sqlite" ,sqlite)))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-byteorder" ,rust-byteorder-1.3)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-csv" ,rust-csv-1.1)
+ ("rust-fallible-iterator" ,rust-fallible-iterator-0.2)
+ ("rust-fallible-streaming-iterator"
+ ,rust-fallible-streaming-iterator-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.15)
+ ("rust-lru-cache" ,rust-lru-cache-0.1)
+ ("rust-memchr" ,rust-memchr-2.2)
+ ("rust-serde-json" ,rust-serde-json-1.0)
+ ("rust-time" ,rust-time-0.1)
+ ("rust-url" ,rust-url-1.7)
+ ("rust-uuid" ,rust-uuid-0.7))
+ #:cargo-development-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-regex" ,rust-regex-1.1)
+ ("rust-tempdir" ,rust-tempdir-0.3)
+ ("rust-unicase" ,rust-unicase-2.4)
+ ("rust-uuid" ,rust-uuid-0.7))))
+ (home-page "https://github.com/rusqlite/rusqlite")
+ (synopsis "Wrapper for SQLite")
+ (description "This prackage provides a wrapper for SQLite.")
+ (license license:expat)))
+
(define-public rust-rust-argon2-0.7
(package
(name "rust-rust-argon2")
"Automatically apply the suggestions made by rustc.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rustls-0.16
+ (package
+ (name "rust-rustls")
+ (version "0.16.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustls" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17n0fx3fpkg4fhpdplrdhkissnl003kj90vzbqag11vkpyqihnmj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;; 1/114 tests fail (test file not found)
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.10)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-ring" ,rust-ring-0.16)
+ ("rust-sct" ,rust-sct-0.6)
+ ("rust-webpki" ,rust-webpki-0.21))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.2)
+ ("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-tempfile" ,rust-tempfile-3.0)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.17))))
+ (home-page "https://github.com/ctz/rustls")
+ (synopsis "Modern TLS library written in Rust")
+ (description "This package provides a modern TLS library written in Rust.")
+ (license (list license:asl2.0 license:isc license:expat))))
+
+(define-public rust-rustls-0.12
+ (package/inherit rust-rustls-0.16
+ (name "rust-rustls")
+ (version "0.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustls" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1k8b8cc0pjkv5cxdgs43jif7nslzsxair9b2sifgvjag7a4f8wmb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;; 1/45 tests fails due to some missing file
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.9)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-ring" ,rust-ring-0.13)
+ ("rust-sct" ,rust-sct-0.3)
+ ("rust-untrusted" ,rust-untrusted-0.6)
+ ("rust-webpki" ,rust-webpki-0.18))
+ #:cargo-development-inputs
+ (("rust-ct-logs" ,rust-ct-logs-0.3)
+ ("rust-docopt" ,rust-docopt-0.8)
+ ("rust-env-logger" ,rust-env-logger-0.4)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-regex" ,rust-regex-0.2)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-derive" ,rust-serde-derive-1.0)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.14))))))
+
(define-public rust-rusttype-0.8
(package
(name "rust-rusttype")
Pwrite traits from the scroll crate.")
(license license:expat)))
+(define-public rust-sct-0.6
+ (package
+ (name "rust-sct")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sct" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0g4dz7las43kcpi9vqv9c6l1afjkdv3g3w3s7d2w7a7w77wjl173"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ring" ,rust-ring-0.16)
+ ("rust-untrusted" ,rust-untrusted-0.7))
+ #:cargo-development-inputs
+ (("rust-cc" ,rust-cc-1.0))))
+ (home-page "https://github.com/ctz/sct.rs")
+ (synopsis "Certificate transparency SCT verification library")
+ (description "Certificate transparency SCT verification library")
+ (license (list license:asl2.0 license:isc license:expat))))
+
+(define-public rust-sct-0.3
+ (package/inherit rust-sct-0.6
+ (name "rust-sct")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sct" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0z090j3lvy0lqbhmpswm4vb2n4i8dqswy0l93abdx9biipnhlm5l"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ring" ,rust-ring-0.13)
+ ("rust-untrusted" ,rust-untrusted-0.6))
+ #:cargo-development-inputs
+ (("rust-cc" ,rust-cc-1.0))))))
+
+
(define-public rust-seahash-3.0
(package
(name "rust-seahash")
"Assembly implementation of SHA-1 compression function.")
(license license:expat)))
+(define-public rust-sha2-0.8
+ (package
+ (name "rust-sha2")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sha2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1827pplynq0ahxid1xq281kiv56kj2afp7gm97v7gw71sbgll117"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-block-buffer" ,rust-block-buffer-0.7)
+ ("rust-digest" ,rust-digest-0.8)
+ ("rust-fake-simd" ,rust-fake-simd-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-opaque-debug" ,rust-opaque-debug-0.2)
+ ("rust-sha2-asm" ,rust-sha2-asm-0.5))
+ #:cargo-development-inputs
+ (("rust-cc" ,rust-cc-1.0) ;; FIXME for rust-sha2-asm, why again?
+ ("rust-digest" ,rust-digest-0.8)
+ ("rust-hex-literal" ,rust-hex-literal-0.1))))
+ (home-page "https://github.com/RustCrypto/hashes")
+ (synopsis "SHA-2 hash functions")
+ (description "SHA-2 hash functions")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-sha2-asm-0.5
+ (package
+ (name "rust-sha2-asm")
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sha2-asm" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0k3qwv2yl8fyi2i6cprfb8d874ii5kmcmckgnjkwnz2ac9fayyl1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cc" ,rust-cc-1.0)))) ;; build dependency
+ (home-page "https://github.com/RustCrypto/asm-hashes")
+ (synopsis "Assembly implementation of SHA-2")
+ (description "This package provides an assembly implementations of hash
+functions core functionality.")
+ (license license:expat)))
+
(define-public rust-shader-version-0.6
(package
(name "rust-shader-version")
"SipHash functions from rust-core < 1.13.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-skeptic-0.9
+ (package
+ (name "rust-skeptic")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "skeptic" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0savk91xy74izw9z6vn6ialkaqrp81w7dayha801b52h670qszfx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-pulldown-cmark" ,rust-pulldown-cmark-0.0.8)
+ ("rust-tempdir" ,rust-tempdir-0.3))))
+ (home-page "https://github.com/budziq/rust-skeptic")
+ (synopsis "Test your Rust markdown documentation via Cargo")
+ (description "Test your Rust markdown documentation via Cargo")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-skeptic-0.13
(package
(name "rust-skeptic")
"07ywqn1vrpi3c43fmvsx7pawk9h3rb77yyqbnhap2micl454kb6f"))))
(arguments '(#:skip-build? #t))))
+(define-public rust-spmc-0.3
+ (package
+ (name "rust-spmc")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "spmc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1rgcqgj6b3d0cshi7277akr2xk0cx11rkmviaahy7a3pla6l5a02"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;; tests hang
+ #:cargo-development-inputs
+ (("rust-loom" ,rust-loom-0.2))))
+ (home-page "https://github.com/seanmonstar/spmc")
+ (synopsis "Simple SPMC channel")
+ (description "Simple SPMC channel")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-spsc-buffer-0.1
(package
(name "rust-spsc-buffer")
(license (list license:unlicense
license:expat))))
+(define-public rust-string-0.2
+ (package
+ (name "rust-string")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "string" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0vaxz85ja52fn66akgvggb29wqa5bpj3y38syykpr1pbrjzi8hfj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bytes" ,rust-bytes-0.4))))
+ (home-page "https://github.com/carllerche/string")
+ (synopsis "UTF-8 encoded string with configurable byte storage")
+ (description "This package provides a UTF-8 encoded string with
+configurable byte storage.")
+ (license license:expat)))
+
(define-public rust-string-cache-0.7
(package
(name "rust-string-cache")
(("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
("rust-winapi" ,rust-winapi-0.2))))))
+(define-public rust-term-0.2
+ (package/inherit rust-term-0.4
+ (name "rust-term")
+ (version "0.2.14")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "term" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32 "109jmzddq1kz6wm2ndgddy7yrlqcw2i36ygxl0fcymc0sda7w1zj"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
+ ("rust-winapi" ,rust-winapi-0.2))))))
+
(define-public rust-term-grid-0.1
(package
(name "rust-term-grid")
"Simple, lightweight template engine.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-tokio-0.2
+ (package
+ (name "rust-tokio")
+ (version "0.2.18")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04v7rfkrlr8cx30ygy0n45skf6pdbif0zisn9a5xrdnjfb81dvrl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.5)
+ ("rust-fnv" ,rust-fnv-1.0)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-iovec" ,rust-iovec-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-memchr" ,rust-memchr-2.2)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-mio-named-pipes" ,rust-mio-named-pipes-0.1)
+ ("rust-mio-uds" ,rust-mio-uds-0.6)
+ ("rust-num-cpus" ,rust-num-cpus-1.10)
+ ("rust-parking-lot" ,rust-parking-lot-0.10)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.1)
+ ("rust-signal-hook-registry" ,rust-signal-hook-registry-1.2)
+ ("rust-slab" ,rust-slab-0.4)
+ ("rust-tokio-macros" ,rust-tokio-macros-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-futures" ,rust-futures-0.3)
+ ("rust-loom" ,rust-loom-0.3)
+ ("rust-proptest" ,rust-proptest-0.9)
+ ("rust-tempfile" ,rust-tempfile-3.1)
+ ("rust-tokio-test" ,rust-tokio-test-0.2))))
+ (home-page "https://tokio.rs")
+ (synopsis "Event-driven, non-blocking I/O platform")
+ (description
+ "An event-driven, non-blocking I/O platform for writing asynchronous I/O
+backed applications.")
+ (license license:expat)))
+
(define-public rust-tokio-0.1
(package
(name "rust-tokio")
backed applications.")
(license license:expat)))
+(define-public rust-tokio-buf-0.1
+ (package
+ (name "rust-tokio-buf")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-buf" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0inwrkh8knqy44mr9h2i305zyy4pxhfy90y0gr5rm1akdks21clg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.4)
+ ("rust-either" ,rust-either-1.5)
+ ("rust-futures" ,rust-futures-0.1))
+ #:cargo-development-inputs
+ (("rust-tokio-mock-task" ,rust-tokio-mock-task-0.1))))
+ (home-page "https://tokio.rs")
+ (synopsis "Asynchronous stream of byte buffers")
+ (description "Asynchronous stream of byte buffers")
+ (license license:expat)))
+
;; Cyclic dependency with tokio-io
(define-public rust-tokio-codec-0.1
(package
futures efficiently")
(license (list license:asl2.0 license:expat))))
+(define-public rust-tokio-macros-0.2
+ (package
+ (name "rust-tokio-macros")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1283aq0l7rnh79zzqk4r34dgimvwcymrzmg1yah9ai2nmb3arhzh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;; FIXME tests use bytes-0.5, require Rust >= 1.39
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1.0)
+ ("rust-quote" ,rust-quote-1.0)
+ ("rust-syn" ,rust-syn-1.0))
+ #:cargo-development-inputs
+ (("rust-tokio" ,rust-tokio-0.2))))
+ (home-page "https://tokio.rs")
+ (synopsis "Tokio's proc macros")
+ (description "This package provides Tokio's proc macros.")
+ (license license:expat)))
+
(define-public rust-tokio-mock-task-0.1
(package
(name "rust-tokio-mock-task")
(description "Mock a Tokio task.")
(license license:expat)))
+(define-public rust-tokio-mockstream-1
+ (package
+ (name "rust-tokio-mockstream")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-mockstream" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mg1i39cl8x32wxwbn74hlirks8a6f3g0gfzkb0n0zwbxwvc9gs1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-futures" ,rust-futures-0.1)
+ ("rust-tokio-io" ,rust-tokio-io-0.1))
+ #:cargo-development-inputs
+ (("rust-bytes" ,rust-bytes-0.4))))
+ (home-page "https://github.com/aatxe/tokio-mockstream")
+ (synopsis "Fake stream for testing network applications backed by
+buffers")
+ (description "This package provides a fake stream for testing network
+applications backed by buffers.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-tokio-named-pipes-0.1
+ (package
+ (name "rust-tokio-named-pipes")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-named-pipes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1bjy59wdl2anl22w6qyzkff1afv7ynayfpms10iqna2j6142sa4x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.4)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-mio-named-pipes" ,rust-mio-named-pipes-0.1)
+ ("rust-tokio" ,rust-tokio-0.1))))
+ (home-page "https://github.com/nikvolf/tokio-named-pipes")
+ (synopsis "Windows named pipe bindings for tokio")
+ (description "This package provides bindings for Windows named pipe for
+Tokio.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-tokio-process-0.2
(package
(name "rust-tokio-process")
"Event loop that drives Tokio I/O resources.")
(license license:expat)))
+(define-public rust-tokio-rustls-0.12
+ (package
+ (name "rust-tokio-rustls")
+ (version "0.12.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-rustls" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1k6rpw4nmgsamh8vbf8xqrf4rr5sqs18i93561bydflajz0gw6hl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ;; FIXME requires Rust >= 1.39 for building
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.5)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-rustls" ,rust-rustls-0.16)
+ ("rust-tokio" ,rust-tokio-0.2)
+ ("rust-webpki" ,rust-webpki-0.21))
+ #:cargo-development-inputs
+ (("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-tokio" ,rust-tokio-0.2)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.18))))
+ (home-page "https://github.com/quininer/tokio-rustls")
+ (synopsis "Asynchronous TLS/SSL streams for Tokio using Rustls")
+ (description "This package provides asynchronous TLS/SSL streams for Tokio
+using Rustls.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-tokio-signal-0.2
(package
(name "rust-tokio-signal")
(description "Synchronization utilities.")
(license license:expat)))
+(define-public rust-tokio-test-0.2
+ (package
+ (name "rust-tokio-test")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-test" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0v81p2n853b1kzyla3dbfmnazirn6s3n8p3z8k20bmdn370lj07d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ;; FIXME requires Rust >= 1.39 for building
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.5)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-tokio" ,rust-tokio-0.2))
+ #:cargo-development-inputs
+ (("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-tokio" ,rust-tokio-0.2))))
+ (home-page "https://tokio.rs")
+ (synopsis "Testing utilities for Tokio- and futures-based code")
+ (description "Testing utilities for Tokio- and futures-based code")
+ (license license:expat)))
+
(define-public rust-tokio-tcp-0.1
(package
(name "rust-tokio-tcp")
untrusted inputs in Rust.")
(license license:isc)))
+(define-public rust-untrusted-0.6
+ (package/inherit rust-untrusted-0.7
+ (name "rust-untrusted")
+ (version "0.6.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "untrusted" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0byf88b7ca1kb5aap8f6npp6xncvg95dnma8ipmnmd4n9r5izkam"))))))
+
(define-public rust-url-2.1
(package
(name "rust-url")
("rust-rand" ,rust-rand-0.3)
("rust-rustc-serialize" ,rust-rustc-serialize-0.3))))))
+(define-public rust-want-0.2
+ (package
+ (name "rust-want")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "want" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0c52g7b4hhj033jc56sx9z3krivyciz0hlblixq2gc448zx5wfdn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;; 2/5 tests fail
+ #:cargo-inputs
+ (("rust-futures" ,rust-futures-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-try-lock" ,rust-try-lock-0.2))))
+ (home-page "https://github.com/seanmonstar/want")
+ (synopsis "Detect when another Future wants a result")
+ (description "Detect when another Future wants a result.")
+ (license license:expat)))
+
(define-public rust-wasi-0.9
(package
(name "rust-wasi")
"Bindings for all Web APIs, a procedurally generated crate from WebIDL.")
(license (list license:expat license:asl2.0))))
+(define-public rust-webpki-0.21
+ (package
+ (name "rust-webpki")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "webpki" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vv3x2alvczfy6jhx79c9h00d1nliqf7s5jlvcd6npc6f8chxxgi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;; tests fail to build "missing file tests/ed25519/ee.der"
+ #:cargo-inputs
+ (("rust-ring" ,rust-ring-0.16)
+ ("rust-untrusted" ,rust-untrusted-0.7))
+ #:cargo-development-inputs
+ (("rust-base64" ,rust-base64-0.9))))
+ (home-page "https://github.com/briansmith/webpki")
+ (synopsis "Web PKI X.509 Certificate Verification")
+ (description "This packge provides Web PKI X.509 Certificate
+Verification.")
+ (license license:isc)))
+
+(define-public rust-webpki-0.18
+ (package/inherit rust-webpki-0.21
+ (name "rust-webpki")
+ (version "0.18.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "webpki" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zx1v8afa4ig97dyqfrnlj5i7pib6dnfw88qn2iiqhfq2rrrdmqp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ring" ,rust-ring-0.13)
+ ("rust-untrusted" ,rust-untrusted-0.6))
+ #:cargo-development-inputs
+ (("rust-base64" ,rust-base64-0.9))))))
+
+(define-public rust-webpki-roots-0.18
+ (package
+ (name "rust-webpki-roots")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "webpki-roots" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1d4ss607rgi9pj01zzqa13c1p3m35z314yh6lmjaj4kzvwv5gkci"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-webpki" ,rust-webpki-0.21))))
+ (home-page "https://github.com/ctz/webpki-roots")
+ (synopsis "Mozilla's CA root certificates for use with webpki")
+ (description "Mozilla's CA root certificates for use with webpki")
+ (license license:mpl2.0)))
+
+(define-public rust-webpki-roots-0.17
+ (package/inherit rust-webpki-roots-0.18
+ (name "rust-webpki-roots")
+ (version "0.17.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "webpki-roots" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12vi8dh0yik0h4f0b9dnlw5i3gxyky7iblbksh6zcq4xvlvswqm2"))))))
+
+(define-public rust-webpki-roots-0.14
+ (package/inherit rust-webpki-roots-0.18
+ (name "rust-webpki-roots")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "webpki-roots" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "05zw919077i3jadbvdsvl69wv2siijg2pjbykl6fyi7hmgb7bggd"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-untrusted" ,rust-untrusted-0.6)
+ ("rust-webpki" ,rust-webpki-0.18))))))
+
(define-public rust-weedle-0.10
(package
(name "rust-weedle")
(("rust-clippy" ,rust-clippy-0.0)
("rust-linked-hash-map" ,rust-linked-hash-map-0.3))))))
+(define-public rust-zbase32-0.1
+ (package
+ (name "rust-zbase32")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "zbase32" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gz3nmiaidscb5c85rh3qxi8i584gz5xm3amlxqminl8jq27k40g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ;; dependency cypthon not yet availalbe
+ #:cargo-development-inputs
+ (;; ("rust-cpython" ,rust-cpython-0.2) TODO
+ ("rust-quickcheck" ,rust-quickcheck-0.7)
+ ("rust-rand" ,rust-rand-0.6))))
+ (home-page "https://gitlab.com/pgerber/zbase32-rust")
+ (synopsis "Implementation of zbase32")
+ (description "This package provides an implementation of zbase32.")
+ (license license:lgpl3+)))
+
(define-public rust-zip-0.5
(package
(name "rust-zip")