#:use-module (gnu packages compression)
#:use-module (gnu packages crates-graphics)
#:use-module (gnu packages crates-gtk)
+ #:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages fontutils)
c6e7d37. However, this package works only up to 128 bytes.")
(license license:expat)))
+(define-pUblic rust-base64-0.13
+ (package
+ (name "rust-base64")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "base64" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1z82g23mbzjgijkpcrilc7nljpxpvpf7zxf6iyiapkgka2ngwkch"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-rand" ,rust-rand-0.6)
+ ("rust-structopt" ,rust-structopt-0.3))))
+ (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.12
(package
+ (inherit rust-base64-0.13)
(name "rust-base64")
(version "0.12.3")
(source
(substitute* "src/lib.rs"
(("\\(doctest") "(test"))
#t))))
- (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))))
+ ("rust-rand" ,rust-rand-0.6))))))
(define-public rust-base64-0.11
(package
(add-after 'unpack 'enable-unstable-features
(lambda _
(setenv "RUSTC_BOOTSTRAP" "1")
- #t))
- (add-before 'configure 'configure-clang
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "LIBCLANG_PATH" (string-append (assoc-ref inputs "clang")
- "/lib"))
#t)))))
(home-page "https://rust-lang.github.io/rust-bindgen/")
(synopsis "Generate Rust FFI bindings to C and C++ libraries.")
#: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)))))
+ ("rust-shlex" ,rust-shlex-0.1))))
(inputs
- `(("libclang" ,clang)))))
+ `(("clang" ,clang)))))
(define-public rust-bindgen-0.53
(package
#: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)))))))
+ ("rust-shlex" ,rust-shlex-0.1))))))
(define-public rust-bindgen-0.52
(package
#: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)))))))
+ ("rust-shlex" ,rust-shlex-0.1))))))
(define-public rust-bindgen-0.51
(package
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3))))))
-(define-public rust-bzip2-0.3
+(define-public rust-bzip2-0.4
(package
(name "rust-bzip2")
- (version "0.3.3")
+ (version "0.4.1")
(source
(origin
(method url-fetch)
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0fvfwanp42j1zpig880jhb5mc0na50bijmwd6211p77sy35w7ds2"))))
+ (base32 "1gpwm7qj8adi0zffm8r17vkv6f98d1q9glvpjk28v0wb6kz88p97"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #: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-partial-io" ,rust-partial-io-0.3)
+ ("rust-quickcheck" ,rust-quickcheck-0.9)
("rust-rand" ,rust-rand-0.3)
("rust-tokio-core" ,rust-tokio-core-0.1))))
(home-page "https://github.com/alexcrichton/bzip2-rs")
exposed as Reader/Writer streams.")
(license (list license:expat license:asl2.0))))
+(define-public rust-bzip2-0.3
+ (package
+ (inherit rust-bzip2-0.4)
+ (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
+ `(#:skip-build? #t
+ #: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))))))
+
(define-public rust-bzip2-sys-0.1
(package
(name "rust-bzip2-sys")
`(#:cargo-inputs
(("rust-nom" ,rust-nom-5))
#:cargo-development-inputs
- (("rust-clang-sys" ,rust-clang-sys-0.28))
- #: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)))))
+ (("rust-clang-sys" ,rust-clang-sys-0.28))))
(inputs
- `(("libclang" ,clang)))
+ `(("clang" ,clang)))
(home-page "https://github.com/jethrogb/rust-cexpr")
(synopsis "C expression parser and evaluator")
(description
`(#:cargo-inputs
(("rust-nom" ,rust-nom-4.2))
#:cargo-development-inputs
- (("rust-clang-sys" ,rust-clang-sys-0.28))
- #: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)))))))
+ (("rust-clang-sys" ,rust-clang-sys-0.28))))))
(define-public rust-cexpr-0.2
(package
`(#:cargo-inputs
(("rust-nom" ,rust-nom-3))
#:cargo-development-inputs
- (("rust-clang-sys" ,rust-clang-sys-0.11))
- #: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)))))))
+ (("rust-clang-sys" ,rust-clang-sys-0.11))))))
(define-public rust-cfg-if-0.1
(package
"0695kfrqx7n091fzm6msbqg2q2kyhka64q08lm63f3l9d964i8cx"))))
(build-system cargo-build-system)
(inputs
- `(("libclang" ,clang)))
+ `(("clang" ,clang)))
(arguments
`(#:cargo-inputs
(("rust-glob" ,rust-glob-0.3)
("rust-libc" ,rust-libc-0.2)
- ("rust-libloading" ,rust-libloading-0.6))
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'configure-clang
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "LIBCLANG_PATH"
- (string-append (assoc-ref inputs "libclang")
- "/lib"))
- #t)))))
+ ("rust-libloading" ,rust-libloading-0.6))))
(home-page "https://github.com/KyleMayes/clang-sys")
(synopsis "Rust bindings for libclang")
(description "This package provides Rust bindings for libclang.")
`(#:cargo-inputs
(("rust-glob" ,rust-glob-0.3)
("rust-libc" ,rust-libc-0.2)
- ("rust-libloading" ,rust-libloading-0.5))
- #: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)))))))
+ ("rust-libloading" ,rust-libloading-0.5))))))
(define-public rust-clang-sys-0.28
(package
`(#:cargo-inputs
(("rust-glob" ,rust-glob-0.2)
("rust-libc" ,rust-libc-0.2)
- ("rust-libloading" ,rust-libloading-0.5))
- #: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)))))))
+ ("rust-libloading" ,rust-libloading-0.5))))))
(define-public rust-clang-sys-0.23
(package
(("rust-clippy" ,rust-clippy-0.0)
("rust-glob" ,rust-glob-0.2)
("rust-libc" ,rust-libc-0.2)
- ("rust-libloading" ,rust-libloading-0.5))
- #: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)))))))
+ ("rust-libloading" ,rust-libloading-0.5))))))
(define-public rust-clang-sys-0.11
(package
("rust-glob" ,rust-glob-0.2)
("rust-lazy-static" ,rust-lazy-static-0.2)
("rust-libc" ,rust-libc-0.2)
- ("rust-libloading" ,rust-libloading-0.3))
- #: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)))))))
+ ("rust-libloading" ,rust-libloading-0.3))))))
(define-public rust-clap-2
(package
It supports signed and private (encrypted + signed) jars.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-cookie-store-0.7
+ (package
+ (name "rust-cookie-store")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cookie-store" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "174i9k9g62pfx7y1nqynywdpjplkl3j4hi3ck6bz2r996qzhnxa6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cookie" ,rust-cookie-0.12)
+ ("rust-idna" ,rust-idna-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-publicsuffix" ,rust-publicsuffix-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-time" ,rust-time-0.1)
+ ("rust-try-from" ,rust-try-from-0.3)
+ ("rust-url" ,rust-url-1))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-0.6))))
+ (home-page "https://github.com/pfernie/cookie_store")
+ (synopsis "Implementation of Cookie storage and retrieval per RFC6265")
+ (description
+ "This crate provides an implementation for storing and retrieving Cookies per
+the path and domain matching rules specified in RFC6265.
+
+Split from the user_agent crate.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-cordic-0.1
(package
(name "rust-cordic")
("rust-winapi" ,rust-winapi-0.3)
("rust-cc" ,rust-cc-1)
("rust-pkg-config" ,rust-pkg-config-0.3)
- ("rust-vcpkg" ,rust-vcpkg-0.2))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'find-openssl
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((openssl (assoc-ref inputs "openssl")))
- (setenv "OPENSSL_DIR" openssl))
- #t)))))
+ ("rust-vcpkg" ,rust-vcpkg-0.2))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
"This package provides native bindings to the @code{libcurl} library.")
(license license:expat)))
+(define-public rust-curve25519-dalek-3
+ (package
+ (name "rust-curve25519-dalek")
+ (version "3.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "curve25519-dalek" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "01xknhlwagv601k6125372vr0lw2j6xjsvnnl74hprp943j2sjf8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-digest" ,rust-digest-0.9)
+ ("rust-packed-simd" ,rust-packed-simd-0.3)
+ ("rust-rand-core" ,rust-rand-core-0.5)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-subtle" ,rust-subtle-2)
+ ("rust-zeroize" ,rust-zeroize-1))))
+ (home-page "https://dalek.rs/curve25519-dalek")
+ (synopsis "Group operations on ristretto255 and Curve25519")
+ (description
+ "This package provides a pure-Rust implementation of group operations on
+ristretto255 and Curve25519")
+ (license license:bsd-3)))
+
(define-public rust-custom-derive-0.1
(package
(name "rust-custom-derive")
"A library for running child processes.")
(license license:expat)))
+(define-public rust-dyn-clone-1
+ (package
+ (name "rust-dyn-clone")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dyn-clone" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10idzzq2sad7dhrfhrhcx7yckzj8il2bzr16204683ryclxdqlsc"))))
+ (arguments
+ `(#:skip-build? #t))
+ (build-system cargo-build-system)
+ (home-page "https://crates.io/crates/dyn-clone")
+ (synopsis "Clone trait that is object-safe")
+ (description "Clone trait that is object-safe")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-dwrote-0.9
(package
(name "rust-dwrote")
"This package provides lightweight binding to DirectWrite.")
(license license:mpl2.0)))
+(define-public rust-ed25519-1
+ (package
+ (name "rust-ed25519")
+ (version "1.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ed25519" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vxn7x1xinbv1cl31015m0fw08jwkphylxrll17animv9i9nmiip"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-serde" ,rust-serde-1)
+ ("rust-signature" ,rust-signature-1))))
+ (home-page "")
+ (synopsis "Edwards Digital Signature Algorithm (EdDSA) over Curve25519")
+ (description
+ "EdDSA over Curve25519 is specified in RFC 8032. This package contains
+an ed25519::Signature type which other packages can use in conjunction with
+the signature::Signer and signature::Verifier traits It doesn't contain an
+implementation of Ed25519.
+
+These traits allow packages which produce and consume Ed25519 signatures to be
+written abstractly in such a way that different signer/verifier providers can
+be plugged in, enabling support for using different Ed25519 implementations,
+including HSMs or Cloud KMS services.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-ed25519-dalek-1
+ (package
+ (name "rust-ed25519-dalek")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ed25519-dalek" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17bsriciv93nkm39z22w7mr0h2a3hnbmgf378v4c895gvkkblqn7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-curve25519-dalek" ,rust-curve25519-dalek-3)
+ ("rust-ed25519" ,rust-ed25519-1)
+ ("rust-merlin" ,rust-merlin-2)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-rand-core" ,rust-rand-core-0.5)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+ ("rust-sha2" ,rust-sha2-0.9)
+ ("rust-zeroize" ,rust-zeroize-1))))
+ (home-page "https://dalek.rs")
+ (synopsis "Ed25519 EdDSA key generations, signing, and verification")
+ (description
+ "This package provides fast and efficient ed25519 EdDSA key generations,
+signing, and verification in pure Rust.")
+ (license license:bsd-3)))
+
(define-public rust-edit-distance-2.1
(package
(name "rust-edit-distance")
inclusion of Windows resources in the most resilient fashion imaginable.")
(license license:expat)))
-(define-public rust-ena-0.13
+(define-public rust-ena-0.14
(package
(name "rust-ena")
- (version "0.13.1")
+ (version "0.14.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "ena" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0dkggq0qwv140y2kjfd4spp77zi3v7vnpm4bfy7s7r4cla7xqi49"))))
+ (base32 "1hrnkx2swbczn0jzpscxxipx7jcxhg6sf9vk911ff91wm6a2nh6p"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #:cargo-inputs
(("rust-dogged" ,rust-dogged-0.2)
("rust-log" ,rust-log-0.4)
("rust-petgraph" ,rust-petgraph-0.4))))
experimentation.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ena-0.13
+ (package
+ (inherit rust-ena-0.14)
+ (name "rust-ena")
+ (version "0.13.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ena" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dkggq0qwv140y2kjfd4spp77zi3v7vnpm4bfy7s7r4cla7xqi49"))))))
+
(define-public rust-encode-unicode-0.3
(package
(name "rust-encode-unicode")
accessor functions on enums.")
(license (list license:expat license:asl2.0))))
+(define-public rust-enum-as-inner-0.2
+ (package
+ (inherit rust-enum-as-inner-0.3)
+ (name "rust-enum-as-inner")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "enum-as-inner" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0zg3h7k3g1z7a9ayqy63sk302d4dg5g2h274ddv80mj4jxn2cn1x"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-0.4)
+ ("rust-quote" ,rust-quote-0.6)
+ ("rust-syn" ,rust-syn-0.15))))))
+
(define-public rust-env-logger-0.7
(package
(name "rust-env-logger")
(arguments
`(#:cargo-inputs
(("rust-gettext-sys" ,rust-gettext-sys-0.19)
- ("rust-locale-config" ,rust-locale-config-0.3))
- #:phases
- (modify-phases %standard-phases
- (add-after 'configure 'use-system-gettext
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((gettext (assoc-ref inputs "gettext")))
- (setenv "GETTEXT_SYSTEM" gettext)
- #t))))))
+ ("rust-locale-config" ,rust-locale-config-0.3))))
(inputs
`(("gettext" ,gettext-minimal)))
(home-page "https://github.com/Koka/gettext-rs")
(arguments
`(#:cargo-inputs
(("rust-gettext-sys" ,rust-gettext-sys-0.19)
- ("rust-locale-config" ,rust-locale-config-0.2))
- #:phases
- (modify-phases %standard-phases
- (add-after 'configure 'use-system-gettext
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((gettext (assoc-ref inputs "gettext")))
- (setenv "GETTEXT_SYSTEM" gettext)
- #t))))))))
+ ("rust-locale-config" ,rust-locale-config-0.2))))))
(define-public rust-gettext-sys-0.19
(package
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-cc" ,rust-cc-1))
- #:phases
- (modify-phases %standard-phases
- (add-after 'configure 'use-system-gettext
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((gettext (assoc-ref inputs "gettext")))
- (setenv "GETTEXT_SYSTEM" gettext)
- #t))))))
+ (("rust-cc" ,rust-cc-1))))
(inputs
`(("gettext" ,gettext-minimal)))
(home-page "https://github.com/Koka/gettext-rs")
("rust-thread-id" ,rust-thread-id-3)
("rust-time" ,rust-time-0.1))))
(native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
`(("libgit2" ,libgit2)
("libssh2" ,libssh2)
("openssl" ,openssl)
- ("pkg-config" ,pkg-config)
("zlib" ,zlib)))
(home-page "https://github.com/rust-lang/git2-rs")
(synopsis "Rust bindings to libgit2")
("rust-tokio-mockstream" ,rust-tokio-mockstream-1)
("rust-url" ,rust-url-1))))))
+(define-public rust-hyper-old-types-0.11
+ (package
+ (name "rust-hyper-old-types")
+ (version "0.11.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hyper-old-types" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1i69sks0bwamzqdbx8ffgkssxffv6crdmwjgl47nr5pkxi8vx5k8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Tests do not compile
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.9)
+ ("rust-bytes" ,rust-bytes-0.4)
+ ("rust-http" ,rust-http-0.1)
+ ("rust-httparse" ,rust-httparse-1)
+ ("rust-language-tags" ,rust-language-tags-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-percent-encoding" ,rust-percent-encoding-1.0)
+ ("rust-time" ,rust-time-0.1)
+ ("rust-unicase" ,rust-unicase-2))))
+ (home-page "https://hyper.rs")
+ (synopsis "HTTP types from hyper 0.11.x")
+ (description
+ "This package contains HTTP types from the newer hyper crate in versions
+0.11.x.")
+ (license license:expat)))
+
(define-public rust-hyper-rustls-0.21
(package
(name "rust-hyper-rustls")
(license (list license:asl2.0
license:expat))))
+(define-public rust-keccak-0.1
+ (package
+ (name "rust-keccak")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "keccak" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19ybbvxrdk9yy65rk7f5ad0hcxszkjwph68yzkj3954lnir1bhk7"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://crates.io/crates/keccak")
+ (synopsis "Keccak-f sponge function for Rust")
+ (description "This package provides a keccak-f sponge function")
+ (license license:cc0)))
+
(define-public rust-kernel32-sys-0.2
(package
(name "rust-kernel32-sys")
`(#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3))))))
+(define-public rust-lalrpop-0.19
+ (package
+ (name "rust-lalrpop")
+ (version "0.19.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lalrpop" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1j52sybjhn82ydgsmnw7nkywjyb7pvg50mvyb48m7vdq3wcmdyv0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-ascii-canvas" ,rust-ascii-canvas-2)
+ ("rust-atty" ,rust-atty-0.2)
+ ("rust-bit-set" ,rust-bit-set-0.5)
+ ("rust-diff" ,rust-diff-0.1)
+ ("rust-docopt" ,rust-docopt-1.1)
+ ("rust-ena" ,rust-ena-0.14)
+ ("rust-itertools" ,rust-itertools-0.9)
+ ("rust-lalrpop-util" ,rust-lalrpop-util-0.19)
+ ("rust-petgraph" ,rust-petgraph-0.5)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-regex-syntax" ,rust-regex-syntax-0.6)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-sha2" ,rust-sha2-0.8)
+ ("rust-string-cache" ,rust-string-cache-0.8)
+ ("rust-term" ,rust-term-0.5)
+ ("rust-unicode-xid" ,rust-unicode-xid-0.2))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.7))))
+ (home-page "https://github.com/lalrpop/lalrpop")
+ (synopsis "Convenient LR(1) parser generator for Rust")
+ (description "LALRPOP is a Rust parser generator framework with usability
+as its primary goal. You should be able to write compact, DRY, readable
+grammars.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-lalrpop-0.17
(package
+ (inherit rust-lalrpop-0.19)
(name "rust-lalrpop")
(version "0.17.2")
(source
("rust-term" ,rust-term-0.5)
("rust-unicode-xid" ,rust-unicode-xid-0.2))
#:cargo-development-inputs
- (("rust-rand" ,rust-rand-0.6))))
- (home-page "https://github.com/lalrpop/lalrpop")
- (synopsis "Convenient LR(1) parser generator for Rust")
- (description "LALRPOP is a Rust parser generator framework with usability
-as its primary goal. You should be able to write compact, DRY, readable
-grammars.")
- (license (list license:asl2.0 license:expat))))
+ (("rust-rand" ,rust-rand-0.6))))))
-(define-public rust-lalrpop-util-0.17
+(define-public rust-lalrpop-util-0.19
(package
(name "rust-lalrpop-util")
- (version "0.17.2")
+ (version "0.19.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "lalrpop-util" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0z4bjn3g9232n1im5p6mn9mwlvw5aj5iac6hbjmljqxkhf3d2xy2"))))
+ (base32 "0224r8gsbk8and96nhwgzdj4hc1c01g78zmvv3x4f5jnzwg1cwb7"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #:cargo-inputs
(("rust-regex" ,rust-regex-1))))
(home-page "https://github.com/lalrpop/lalrpop")
(synopsis "Runtime library for parsers generated by LALRPOP")
generated by LALRPOP.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-lalrpop-util-0.17
+ (package
+ (inherit rust-lalrpop-util-0.19)
+ (name "rust-lalrpop-util")
+ (version "0.17.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lalrpop-util" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0z4bjn3g9232n1im5p6mn9mwlvw5aj5iac6hbjmljqxkhf3d2xy2"))))))
+
(define-public rust-lazy-static-1.4
(package
(name "rust-lazy-static")
("rust-openssl-sys" ,rust-openssl-sys-0.9)
;; Build dependencies:
("rust-cc" ,rust-cc-1)
- ("rust-pkg-config" ,rust-pkg-config-0.3))
- #:phases
- (modify-phases %standard-phases
- (add-after 'configure 'dont-vendor-sources
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((openssl (assoc-ref inputs "openssl")))
- (setenv "OPENSSL_DIR" openssl))
- #t)))))
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
(native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
`(("libgit2" ,libgit2)
("openssl" ,openssl)
- ("pkg-config" ,pkg-config)
("zlib" ,zlib)))
(home-page "https://github.com/rust-lang/git2-rs")
(synopsis "Native bindings to the libgit2 library")
("rust-serde-derive" ,rust-serde-derive-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-tempdir" ,rust-tempdir-0.3)
- ("rust-toml" ,rust-toml-0.4))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'set-missing-env-vars
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "OPENSSL_DIR" (assoc-ref inputs "openssl"))
- (setenv "LIBCLANG_PATH"
- (string-append (assoc-ref inputs "clang") "/lib"))
- #t)))))
+ ("rust-toml" ,rust-toml-0.4))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
;; Build dependencies:
("rust-cc" ,rust-cc-1)
("rust-pkg-config" ,rust-pkg-config-0.3)
- ("rust-vcpkg" ,rust-vcpkg-0.2))
- #:phases
- (modify-phases %standard-phases
- (add-after 'configure 'dont-vendor-sources
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((openssl (assoc-ref inputs "openssl")))
- (setenv "OPENSSL_DIR" openssl))
- #t)))))
+ ("rust-vcpkg" ,rust-vcpkg-0.2))))
(native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
`(("libssh2" ,libssh2)
("openssl" ,openssl)
- ("pkg-config" ,pkg-config)
("zlib" ,zlib)))
(home-page "https://github.com/alexcrichton/ssh2-rs")
(synopsis "Native bindings to the libssh2 library")
whether an expression matches a pattern.")
(license license:expat)))
+(define-public rust-matchers-0.0
+ (package
+ (name "rust-matchers")
+ (version "0.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "matchers" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1q8ckqmkjqkznvdi9x0z769yz2bmvlqcwx51ad2lpk4mfmgpi6gh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-regex-automata" ,rust-regex-automata-0.1))))
+ (home-page "https://github.com/hawkw/matchers")
+ (synopsis "Regex matching on character and byte streams")
+ (description
+ "Use this crate to match on character and byte streams using regular
+grammars. It provides the subset of the regex crate that only deals with
+matching, not parsing substrings.")
+ (license license:expat)))
+
(define-public rust-matrixmultiply-0.2
(package
(name "rust-matrixmultiply")
"1cvm2z7dy138s302ii7wlzcxbka5a8yfl5pl5di7lbdnw9hw578g"))))
(arguments `(#:skip-build? #t))))
-(define-public rust-memsec-0.5
+(define-public rust-memsec-0.6
(package
(name "rust-memsec")
- (version "0.5.7")
+ (version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "memsec" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "13ir50j549gdz94pds1i7ljnk14d66q5x91s11hncm1pih7jif8c"))))
+ (base32 "1pfbpl75586bjdkphnaa4j58d668rl1wgcqzpnpzzx1phxfzkx1a"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #:cargo-inputs
(("rust-getrandom" ,rust-getrandom-0.1)
("rust-libc" ,rust-libc-0.2)
("rust-mach-o-sys" ,rust-mach-o-sys-0.1)
@code{libsodium/utils}.")
(license license:expat)))
+(define-public rust-memsec-0.5
+ (package
+ (inherit rust-memsec-0.6)
+ (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"))))))
+
+(define-public rust-merlin-2
+ (package
+ (name "rust-merlin")
+ (version "2.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "merlin" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0y5vd610q7x82vf54pmnzlh0mh8hgxr6imv92yh46d7syi3cmzn6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-hex" ,rust-hex-0.3)
+ ("rust-keccak" ,rust-keccak-0.1)
+ ("rust-rand-core" ,rust-rand-core-0.5)
+ ("rust-zeroize" ,rust-zeroize-1))))
+ (home-page "https://docs.rs/merlin")
+ (synopsis "Composable proof transcripts for public-coin arguments of
+knowledge")
+ (description
+ "Merlin is a STROBE-based transcript construction for zero-knowledge
+proofs. It automates the Fiat-Shamir transform, so that by using Merlin,
+non-interactive protocols can be implemented as if they were interactive.")
+ (license license:expat)))
+
(define-public rust-metadeps-1.1
(package
(name "rust-metadeps")
("rust-security-framework-sys" ,rust-security-framework-sys-0.3)
("rust-tempfile" ,rust-tempfile-3))
#:cargo-development-inputs
- (("rust-hex" ,rust-hex-0.3))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'find-openssl
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((openssl (assoc-ref inputs "openssl")))
- (setenv "OPENSSL_DIR" openssl))
- #t)))))
+ (("rust-hex" ,rust-hex-0.3))))
(native-inputs
- `(("openssl" ,openssl)
- ("pkg-config" ,pkg-config)))
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("openssl" ,openssl)))
(home-page "https://github.com/sfackler/rust-native-tls")
(synopsis
"Wrapper over a platform's native TLS implementation")
("rust-thiserror" ,rust-thiserror-1))
#: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)))))
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
(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
(arguments
`(#:cargo-inputs
(("rust-bindgen" ,rust-bindgen-0.51)
- ("rust-pkg-config" ,rust-pkg-config-0.3))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'set-environmental-variable
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((clang (assoc-ref inputs "clang")))
- (setenv "LIBCLANG_PATH"
- (string-append clang "/lib")))
- #t)))))
+ ("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
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.4))))))
+(define-public rust-num-bigint-dig-0.6
+ (package
+ (name "rust-num-bigint-dig")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "num-bigint-dig" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1aljx3bxfnzq35i9pkbqkj0d0hc1wjc2dd60wccjqylz1wrkrl5k"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-autocfg" ,rust-autocfg-0.1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libm" ,rust-libm-0.2)
+ ("rust-num-integer" ,rust-num-integer-0.1)
+ ("rust-num-iter" ,rust-num-iter-0.1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-zeroize" ,rust-zeroize-1))))
+ (home-page
+ "https://github.com/dignifiedquire/num-bigint")
+ (synopsis "Big integer implementation for Rust")
+ (description "This package provides a big integer implementation
+for Rust")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-num-complex-0.3
(package
(name "rust-num-complex")
(substitute* "Cargo.toml"
((", path =.*}") "}"))
#t)))))
- (native-inputs
+ (inputs
`(("openssl" ,openssl-1.0))))) ; for openssl-sys-extras
(define-public rust-openssl-probe-0.1
("rust-autocfg" ,rust-autocfg-1.0)
("rust-cc" ,rust-cc-1)
("rust-pkg-config" ,rust-pkg-config-0.3)
- ("rust-vcpkg" ,rust-vcpkg-0.2))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'find-openssl
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((openssl (assoc-ref inputs "openssl")))
- (setenv "OPENSSL_DIR" openssl))
- #t)))))
+ ("rust-vcpkg" ,rust-vcpkg-0.2))))
(native-inputs
- `(("openssl" ,openssl)
- ("pkg-config" ,pkg-config)))
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("openssl" ,openssl)))
(home-page "https://github.com/sfackler/rust-openssl")
(synopsis "FFI bindings to OpenSSL")
(description
(("rust-gdi32-sys" ,rust-gdi32-sys-0.2)
("rust-libc" ,rust-libc-0.2)
("rust-user32-sys" ,rust-user32-sys-0.2)
- ("rust-pkg-config" ,rust-pkg-config-0.3))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'find-openssl
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((openssl (assoc-ref inputs "openssl")))
- (setenv "OPENSSL_DIR" openssl))
- #t)))))))
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))))
(define-public rust-openssl-sys-extras-0.7
(package
(substitute* "Cargo.toml"
((", path =.*}") "}"))
#t)))))
- (native-inputs
+ (inputs
`(("openssl" ,openssl-1.0))) ; openssl-1.0 specifically
(home-page "https://github.com/sfackler/rust-openssl")
(synopsis
rust.")
(license license:mpl2.0)))
-(define-public rust-rpassword-4
+(define-public rust-rpassword-5
(package
(name "rust-rpassword")
- (version "4.0.5")
+ (version "5.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rpassword" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "17z99xazhhbaczw0ib1vnnq450j0zacdn8b2zcbdir68sdbicdwr"))))
+ (base32 "1j96nc3dmqhxwb4ql50r5xjs0imwr2x6mrj02mj9i7grq1zj6mfp"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/conradkleinespel/rpassword")
console applications.")
(license license:asl2.0)))
+(define-public rust-rpassword-4
+ (package
+ (inherit rust-rpassword-5)
+ (name "rust-rpassword")
+ (version "4.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rpassword" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17z99xazhhbaczw0ib1vnnq450j0zacdn8b2zcbdir68sdbicdwr"))))))
+
(define-public rust-rpassword-3
(package
(inherit rust-rpassword-4)
("rust-tempfile" ,rust-tempfile-3)
("rust-webpki-roots" ,rust-webpki-roots-0.17))))))
+(define-public rust-rustls-0.15
+ (package
+ (inherit rust-rustls-0.16)
+ (name "rust-rustls")
+ (version "0.15.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustls" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0vh93fhqfbn4ysw4xzkpkpqdz36xixz4mhs1qllgldfq5iay6wgj"))))
+ (arguments
+ `(#:tests? #f ;; 1/111 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.14)
+ ("rust-sct" ,rust-sct-0.5)
+ ("rust-untrusted" ,rust-untrusted-0.6)
+ ("rust-webpki" ,rust-webpki-0.19))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.16))))))
+
(define-public rust-rustls-0.12
(package/inherit rust-rustls-0.16
(name "rust-rustls")
(description "Certificate transparency SCT verification library")
(license (list license:asl2.0 license:isc license:expat))))
+(define-public rust-sct-0.5
+ (package
+ (inherit rust-sct-0.6)
+ (name "rust-sct")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sct" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1fb9ym5bwswx01yyggn7v2vfryih4vnqpp4r4ssv3qaqpn7xynig"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ring" ,rust-ring-0.14)
+ ("rust-untrusted" ,rust-untrusted-0.6))))))
+
(define-public rust-sct-0.3
(package/inherit rust-sct-0.6
(name "rust-sct")
("rust-sequoia-rfc2822" ,rust-sequoia-rfc2822-0.9)
("rust-time" ,rust-time-0.1))
#:cargo-development-inputs
- (("rust-rpassword" ,rust-rpassword-3))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'set-missing-env-vars
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "LIBCLANG_PATH"
- (string-append (assoc-ref inputs "clang") "/lib"))
- #t)))))
+ (("rust-rpassword" ,rust-rpassword-3))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
(substitute* "Cargo.toml"
((", path =.*}") "}"))
#t)))))
- (native-inputs
+ (inputs
`(("openssl" ,openssl-1.0))))) ; for openssl-sys-extras
(define-public rust-sha1-asm-0.4
"This package allows easy binding to, and loading of, shared libraries.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-shell-escape-0.1
+ (package
+ (name "rust-shell-escape")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "shell-escape" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1fgs1iyx3b124b7njjmhfn9q5ipmhxrafavh8mxbfl9a9zk162hp"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/sfackler/shell-escape")
+ (synopsis
+ "Escape characters that may have a special meaning in a shell")
+ (description
+ "Escape characters that may have a special meaning in a shell.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-shell-words-0.1
(package
(name "rust-shell-words")
(description "Backend crate for signal-hook.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-signature-1
+ (package
+ (name "rust-signature")
+ (version "1.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "signature" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04325sgl06mksq21a95sbdadg3r3jn3l3nhhxj839qs7s6kn1w19"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-digest" ,rust-digest-0.9)
+ ("rust-rand-core" ,rust-rand-core-0.5)
+ ("rust-signature-derive"
+ ,rust-signature-derive-1))))
+ (home-page "")
+ (synopsis "Traits for cryptographic signature algorithms (e.g. ECDSA,
+Ed25519)")
+ (description
+ "This package contains traits which provide generic, object-safe APIs
+for generating and verifying digital signatures.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-signature-derive-1
+ (package
+ (name "rust-signature-derive")
+ (version "1.0.0-pre.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "signature_derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wp8b8ald7qixrcvvclhdcpmn8hkx049jlc29g57ql0304c6qrdh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1)
+ ("rust-synstructure" ,rust-synstructure-0.12))))
+ (home-page "signature_derive")
+ (synopsis "Custom derive support for the 'signature' crate")
+ (description "This package provides proc macros used by the signature
+crate.
+
+It's not intended to be used directly. See the signature crate's documentation
+for additional details.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-simba-0.1
(package
(name "rust-simba")
"Rust FFI bindings to the SLEEF Vectorized Math Library.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-slog-2.5
+(define-public rust-slog-2
(package
(name "rust-slog")
(version "2.5.2")
license:expat
license:asl2.0))))
-(define-public rust-slog-2.4
- (package
- (name "rust-slog")
- (version "2.4.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "slog" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "13jh74jlckzh5cygkhs0k4r82wnmw8ha2km829xwslhr83n2w6hy"))))
- (build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-erased-serde" ,rust-erased-serde-0.3))))
- (home-page "https://github.com/slog-rs/slog")
- (synopsis "Structured, extensible, composable logging for Rust")
- (description
- "Structured, extensible, composable logging for Rust.")
- (license (list license:mpl2.0
- license:expat
- license:asl2.0))))
-
(define-public rust-smallvec-1
(package
(name "rust-smallvec")
(license (list license:asl2.0
license:expat))))
+(define-public rust-socks-0.3
+ (package
+ (name "rust-socks")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "socks" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1hnbw4c4j7dn9n3bd1v7ddkdzlxlzkfw3z29da1nxlj6jgx4r9p6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Tests require network connection.
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.2)
+ ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2))))
+ (home-page "https://github.com/sfackler/rust-socks")
+ (synopsis "Rust SOCKS proxy clients")
+ (description
+ "You can write SOCKS proxy clients with this crate.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-sourcefile-0.1
(package
(name "rust-sourcefile")
(license (list license:asl2.0
license:expat))))
+(define-public rust-thrussh-libsodium-0.1
+ (package
+ (name "rust-thrussh-libsodium")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "thrussh-libsodium" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0fjssjiwnmbxjvajk37l7k0fcw1ys97j7n8bpn3q3bbnz2qfrphv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("libsodium" ,libsodium)))
+ (home-page "https://nest.pijul.com/pijul_org/thrussh")
+ (synopsis "Straightforward bindings to libsodium")
+ (description
+ "You can bind to libsodium from Rust with this crate.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-time-0.2
(package
(name "rust-time")
Tokio.")
(license (list license:expat license:asl2.0))))
+(define-public rust-tokio-net-0.2
+ (package
+ (name "rust-tokio-net")
+ (version "0.2.0-alpha.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-net" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "15vm0bndn6zcpkp1yb6v736rbhqgim5skc76rz299xd3y0pr249a"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.4)
+ ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.1)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)
+ ("rust-futures-core-preview" ,rust-futures-core-preview-0.3)
+ ("rust-futures-sink-preview" ,rust-futures-sink-preview-0.3)
+ ("rust-futures-util-preview" ,rust-futures-util-preview-0.3)
+ ("rust-iovec" ,rust-iovec-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.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)
+ ("rust-parking-lot" ,rust-parking-lot-0.8)
+ ("rust-signal-hook-registry" ,rust-signal-hook-registry-1)
+ ("rust-slab" ,rust-slab-0.4)
+ ("rust-tokio-codec" ,rust-tokio-codec-0.1)
+ ("rust-tokio-executor" ,rust-tokio-executor-0.1)
+ ("rust-tokio-io" ,rust-tokio-io-0.1)
+ ("rust-tokio-sync" ,rust-tokio-sync-0.1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://tokio.rs")
+ (synopsis "Event loop that drives Tokio I/O resources")
+ (description
+ "This package provides the event loop that drives Tokio I/O resources.")
+ (license license:expat)))
+
(define-public rust-tokio-openssl-0.4
(package
(name "rust-tokio-openssl")
("rust-webpki-roots" ,rust-webpki-roots-0.18))))
(license (list license:expat license:asl2.0))))
+(define-public rust-tokio-rustls-0.9
+ (package
+ (inherit rust-tokio-rustls-0.12)
+ (name "rust-tokio-rustls")
+ (version "0.9.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-rustls" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1jd63sl177sxacnksaxhazzmamwds98xk3niprh2qib75a1rk8cm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.4)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-iovec" ,rust-iovec-0.1)
+ ("rust-rustls" ,rust-rustls-0.15)
+ ("rust-tokio-io" ,rust-tokio-io-0.1)
+ ("rust-webpki" ,rust-webpki-0.19))
+ #:cargo-development-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-tokio" ,rust-tokio-0.1))))))
+
(define-public rust-tokio-signal-0.2
(package
(name "rust-tokio-signal")
@code{futures} with @code{tracing}.")
(license license:expat)))
+(define-public rust-tracing-fmt-0.1
+ (package
+ (name "rust-tracing-fmt")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tracing-fmt" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0wagcrd6w8d3k7zdvg6sy2bwfh8w87i6ndia69p54fc7p3z4f1c8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-tracing-subscriber" ,rust-tracing-subscriber-0.1))
+ #:cargo-development-inputs
+ (("rust-tracing" ,rust-tracing-0.1))))
+ (home-page "https://tokio.rs")
+ (synopsis "Tracing subscriber that formats and logs trace data")
+ (description
+ "This package provides a tracing subscriber that formats and logs trace
+data. Moved to the tracing-subscriber crate.")
+ (license license:expat)))
+
+(define-public rust-tracing-log-0.1
+ (package
+ (name "rust-tracing-log")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tracing-log" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1fdr0az98q9m5kiybvdvsb2m9mg86fdidgb5czzq2d71g1qqq3sy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-tracing-core" ,rust-tracing-core-0.1))
+ #:cargo-development-inputs
+ (("rust-tracing" ,rust-tracing-0.1))))
+ (home-page "https://tokio.rs")
+ (synopsis
+ "Provides compatibility between tracing the log crates")
+ (description
+ "Tracing is a framework for instrumenting Rust programs with
+context-aware, structured, event-based diagnostic information. This crate
+provides compatibility layers for using tracing alongside the logging facade
+provided by the log crate.
+
+This crate provides:
+
+@itemize
+@item @code{AsTrace} and @code{AsLog} traits for converting between tracing
+and log types.
+@item @code{LogTracer}, a @code{log::Log} implementation that consumes
+@code{log::Records} and outputs them as @code{tracing::Events}.
+@item An @code{env_logger} module, with helpers for using the env_logger crate
+with tracing (optional, enabled by the env-logger feature).
+@end itemize")
+ (license license:expat)))
+
+(define-public rust-tracing-subscriber-0.1
+ (package
+ (name "rust-tracing-subscriber")
+ (version "0.1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tracing-subscriber" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0i9fhlyz8mn2znpgmi5bv9y24pwpkkgfxs0rwcf6dl6djmjs2b0r"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Some test files missing.
+ #:cargo-inputs
+ (("rust-ansi-term" ,rust-ansi-term-0.11)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-matchers" ,rust-matchers-0.0)
+ ("rust-owning-ref" ,rust-owning-ref-0.4)
+ ("rust-parking-lot" ,rust-parking-lot-0.9)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-smallvec" ,rust-smallvec-0.6)
+ ("rust-tracing-core" ,rust-tracing-core-0.1)
+ ("rust-tracing-log" ,rust-tracing-log-0.1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-log" ,rust-tracing-log-0.1))))
+ (home-page "https://tokio.rs")
+ (synopsis "Implement and compose tracing subscribers")
+ (description
+ "Utilities for implementing and composing tracing subscribers.
+
+Tracing is a framework for instrumenting Rust programs to collect
+scoped, structured, and async-aware diagnostics. The Subscriber trait
+represents the functionality necessary to collect this trace
+data. This crate contains tools for composing subscribers out of
+smaller units of behaviour, and batteries-included implementations of
+common subscriber functionality.
+
+Tracing-subscriber is intended for use by both Subscriber authors and
+application authors using tracing to instrument their applications.")
+ (license license:expat)))
+
(define-public rust-traitobject-0.1
(package
(name "rust-traitobject")
foundational DNS protocol library for all Trust-DNS projects.")
(license (list license:expat license:asl2.0))))
+(define-public rust-trust-dns-proto-0.7
+ (package
+ (inherit rust-trust-dns-proto-0.19)
+ (name "rust-trust-dns-proto")
+ (version "0.7.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "trust-dns-proto" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0099dm57nnizx4apik9sh3mnvr7rp9mivc903v8xss13dkgynnam"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-data-encoding" ,rust-data-encoding-2)
+ ("rust-enum-as-inner" ,rust-enum-as-inner-0.2)
+ ("rust-failure" ,rust-failure-0.1)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-idna" ,rust-idna-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-rand" ,rust-rand-0.6)
+ ("rust-ring" ,rust-ring-0.14)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-smallvec" ,rust-smallvec-0.6)
+ ("rust-socket2" ,rust-socket2-0.3)
+ ("rust-tokio-executor" ,rust-tokio-executor-0.1)
+ ("rust-tokio-io" ,rust-tokio-io-0.1)
+ ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)
+ ("rust-tokio-tcp" ,rust-tokio-tcp-0.1)
+ ("rust-tokio-timer" ,rust-tokio-timer-0.2)
+ ("rust-tokio-udp" ,rust-tokio-udp-0.1)
+ ("rust-untrusted" ,rust-untrusted-0.6)
+ ("rust-url" ,rust-url-1))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-tokio" ,rust-tokio-0.1))))))
+
(define-public rust-trust-dns-resolver-0.19
(package
(name "rust-trust-dns-resolver")
extension for the Trust-DNS client to use rustls for TLS.")
(license (list license:expat license:asl2.0))))
+(define-public rust-trust-dns-rustls-0.6
+ (package
+ (inherit rust-trust-dns-rustls-0.19)
+ (name "rust-trust-dns-rustls")
+ (version "0.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "trust-dns-rustls" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0vbh2y7w2s5gcw33fn4hb5f927kgjm6603vw63slg9riikmsiq43"))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("openssl" ,openssl)))
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--" "--skip=tests::test_tls_client_stream_ipv4")
+ #:cargo-inputs
+ (("rust-futures" ,rust-futures-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-rustls" ,rust-rustls-0.15)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.9)
+ ("rust-tokio-tcp" ,rust-tokio-tcp-0.1)
+ ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.7)
+ ("rust-webpki" ,rust-webpki-0.19))
+ #:cargo-development-inputs
+ (("rust-openssl" ,rust-openssl-0.10)
+ ("rust-tokio" ,rust-tokio-0.1))))))
+
(define-public rust-try-from-0.3
(package
(name "rust-try-from")
("rust-md5" ,rust-md5-0.6)
("rust-rand" ,rust-rand-0.7)
("rust-serde" ,rust-serde-1)
- ("rust-slog" ,rust-slog-2.5))))
+ ("rust-slog" ,rust-slog-2))))
(home-page "https://github.com/uuid-rs/uuid")
(synopsis "Library to generate and parse UUIDs")
(description
("rust-rand" ,rust-rand-0.6)
("rust-serde" ,rust-serde-1)
("rust-sha1" ,rust-sha1-0.6)
- ("rust-slog" ,rust-slog-2.4)
+ ("rust-slog" ,rust-slog-2)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1)
Verification.")
(license license:isc)))
+(define-public rust-webpki-0.19
+ (package
+ (inherit rust-webpki-0.21)
+ (name "rust-webpki")
+ (version "0.19.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "webpki" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "10nhyxlqsa4caxlxrijm5h79rdg6ld8hqy78ldjnnfhaj3biqzjg"))))
+ (arguments
+ `(#:tests? #f ; tests fail to build "missing file tests/ed25519/ee.der"
+ #:cargo-inputs
+ (("rust-ring" ,rust-ring-0.14)
+ ("rust-untrusted" ,rust-untrusted-0.6))
+ #:cargo-development-inputs
+ (("rust-base64" ,rust-base64-0.9))))))
+
(define-public rust-webpki-0.18
(package/inherit rust-webpki-0.21
(name "rust-webpki")
(sha256
(base32 "12vi8dh0yik0h4f0b9dnlw5i3gxyky7iblbksh6zcq4xvlvswqm2"))))))
+(define-public rust-webpki-roots-0.16
+ (package
+ (inherit rust-webpki-roots-0.17)
+ (name "rust-webpki-roots")
+ (version "0.16.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "webpki-roots" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "03ny02mwqdgd2ff23k03kbwr2rrcaymxhp7jcjjikfh340hs83y1"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-untrusted" ,rust-untrusted-0.6)
+ ("rust-webpki" ,rust-webpki-0.19))))))
+
(define-public rust-webpki-roots-0.14
(package/inherit rust-webpki-roots-0.18
(name "rust-webpki-roots")
(license (list license:unlicense
license:expat))))
+(define-public rust-win-crypto-ng-0.2
+ (package
+ (name "rust-win-crypto-ng")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "win-crypto-ng" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ab0iwl4bmqvysypyn6xgax7rlh3w524jji2y1zfwfpdr7wwyv23"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-rand-core" ,rust-rand-core-0.5)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-zeroize" ,rust-zeroize-1))))
+ (home-page "https://crates.io/crates/win-crypto-ng")
+ (synopsis "Safe bindings to MS Windows Cryptography API Next
+Generation")
+ (description
+ "Cryptography API Next Generation (CNG) are cryptographic
+primitives and utilities provided by the operating system and/or
+hardware. It is available since Windows Vista and replaces the now
+deprecated CryptoAPI.
+
+The primitives do not depend on OpenSSL or other libraries of the
+sort, they are provided by Microsoft and/or by the hardware
+manufacturer. They are the primitives used in kernel space programs.
+Therefore, if you are using Microsoft Windows, you already accepted to
+trust these primitives.")
+ (license license:bsd-3)))
+
(define-public rust-winpty-sys-0.4
(package
(name "rust-winpty-sys")
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-winapi" ,rust-winapi-0.2))
- #:cargo-development-inputs
- (("rust-winapi-build" ,rust-winapi-build-0.1))))
+ (("rust-winapi" ,rust-winapi-0.2)
+ ("rust-winapi-build" ,rust-winapi-build-0.1))))
(home-page "https://github.com/retep998/winapi-rs")
(synopsis "Function definitions for the Windows API library ws2_32")
(description