;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
;;; Copyright © 2020 André Batista <nandre@riseup.net>
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
(define-public rust-anyhow-1.0
(package
(name "rust-anyhow")
- (version "1.0.26")
+ (version "1.0.34")
(source
(origin
(method url-fetch)
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0g6mzcxyj88k8bv8rr3zx4yczgimqvvgr12n14a29sqj6s1zc9bq"))))
+ "1mwz0vg77yqz3w616bl890xihh7dsixwgn27nr9qd8ms9ddwp3dz"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
("rust-tempdir" ,rust-tempdir-0.3))))))
-(define-public rust-console-0.11
+(define-public rust-console-0.13
(package
(name "rust-console")
- (version "0.11.3")
+ (version "0.13.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "console" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0nmwkbb1j1zjb2z4akk83rqgnbv7j3dla4nxv0ibk9xvavk982cc"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "console" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "022ai0jbbawngrx396qppwgzk4pk3v2fdwckzamvz6h154jsn2m5"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
("rust-libc" ,rust-libc-0.2)
("rust-regex" ,rust-regex-1)
("rust-terminal-size" ,rust-terminal-size-0.1)
- ("rust-termios" ,rust-termios-0.3)
("rust-unicode-width" ,rust-unicode-width-0.1)
("rust-winapi" ,rust-winapi-0.3)
("rust-winapi-util" ,rust-winapi-util-0.1))))
(home-page "https://github.com/mitsuhiko/console")
(synopsis "Terminal and console abstraction for Rust")
(description
- "This package provides a terminal and console abstraction for Rust")
+ "This package provides a terminal and console abstraction for Rust.")
(license license:expat)))
+(define-public rust-console-0.11
+ (package
+ (inherit rust-console-0.13)
+ (name "rust-console")
+ (version "0.11.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "console" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0nmwkbb1j1zjb2z4akk83rqgnbv7j3dla4nxv0ibk9xvavk982cc"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-encode-unicode" ,rust-encode-unicode-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-terminal-size" ,rust-terminal-size-0.1)
+ ("rust-termios" ,rust-termios-0.3)
+ ("rust-unicode-width" ,rust-unicode-width-0.1)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-winapi-util" ,rust-winapi-util-0.1))))))
+
(define-public rust-console-0.9
(package
(inherit rust-console-0.11)
It is inspired by the Linux kernel's @code{crypto_memneq}.")
(license license:cc0)))
+(define-public rust-content-inspector-0.2
+ (package
+ (name "rust-content-inspector")
+ (version "0.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "content_inspector" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0f1gwv4axxw9wck4a4jxlkm7xjjakb3616isll2k0s4chmpadgdp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-memchr" ,rust-memchr-2))))
+ (home-page "https://github.com/sharkdp/content_inspector")
+ (synopsis "Fast inspection of binary buffers to guess the encoding")
+ (description
+ "This package is a simple library for fast inspection of binary buffers
+to guess the type of content.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-conv-0.3
(package
(name "rust-conv")
intrinsics.")
(license (list license:expat license:asl2.0))))
-(define-public rust-core-foundation-0.7
+(define-public rust-core-foundation-0.9
(package
(name "rust-core-foundation")
- (version "0.7.0")
+ (version "0.9.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0wbias8f0m5kyn2pcksi0h58fdslams6nmf16w78fgn42dx4rljp"))))
+ (base32 "0qhackx0i914nbhcwi6bbxnyyqqldgxc046gviak3a3f8apf528a"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:tests? #f ;tests fail with a lot of "undefined reference"
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
- ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7)
+ ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
("rust-libc" ,rust-libc-0.2)
("rust-uuid" ,rust-uuid-0.5))))
(home-page "https://github.com/servo/core-foundation-rs")
(synopsis "Bindings to Core Foundation for macOS")
- (description "This package provides bindings to Core Foundation for
-macOS.")
+ (description "This package provides bindings to Core Foundation for macOS.")
(license (list license:expat license:asl2.0))))
+(define-public rust-core-foundation-0.7
+ (package
+ (inherit rust-core-foundation-0.9)
+ (name "rust-core-foundation")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core-foundation" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wbias8f0m5kyn2pcksi0h58fdslams6nmf16w78fgn42dx4rljp"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-uuid" ,rust-uuid-0.5))))))
+
(define-public rust-core-foundation-0.6
(package
(inherit rust-core-foundation-0.7)
("rust-libc" ,rust-libc-0.2)
("rust-uuid" ,rust-uuid-0.5))))))
-(define-public rust-core-foundation-sys-0.7
+(define-public rust-core-foundation-sys-0.8
(package
(name "rust-core-foundation-sys")
- (version "0.7.2")
+ (version "0.8.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation-sys" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1ghrg46h4ci306agr2vwm28w6gb5l455nzp61y2zkhwfs49p4nis"))))
+ (base32 "06wq7yb7mlkc4h2kbc0yjfi0xv44z4snzdpr7c1l0zm4hi91n8pa"))))
(build-system cargo-build-system)
(home-page "https://github.com/servo/core-foundation-rs")
(synopsis "Bindings to Core Foundation for macOS")
- (description "This package provides bindings to Core Foundation for
-macOS.")
+ (description "This package provides bindings to Core Foundation for macOS.")
(license (list license:expat license:asl2.0))))
+(define-public rust-core-foundation-sys-0.7
+ (package
+ (inherit rust-core-foundation-sys-0.8)
+ (name "rust-core-foundation-sys")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core-foundation-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ghrg46h4ci306agr2vwm28w6gb5l455nzp61y2zkhwfs49p4nis"))))))
+
(define-public rust-core-foundation-sys-0.6
(package
(inherit rust-core-foundation-sys-0.7)
Directory guidelines on macOS.")
(license (list license:expat license:asl2.0))))
-(define-public rust-dirs-2.0
+(define-public rust-dirs-3
(package
(name "rust-dirs")
- (version "2.0.2")
+ (version "3.0.1")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "dirs" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1qymhyq7w7wlf1dirq6gsnabdyzg6yi2yyxkx6c4ldlkbjdaibhk"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dirs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zxrb3anxsh80mnp2il7awccv0s5gvy7djn6gis18nbm0bnraa8l"))))
+ (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-cfg-if" ,rust-cfg-if-0.1)
- ("rust-dirs-sys" ,rust-dirs-sys-0.3))))
- (build-system cargo-build-system)
+ (("rust-dirs-sys" ,rust-dirs-sys-0.3))))
(home-page "https://github.com/soc/dirs-rs")
(synopsis "Abstractions for standard locations for various platforms")
(description
- "This package provides a tiny low-level library that provides
-platform-specific standard locations of directories for config, cache and other
-data on Linux, Windows, macOS and Redox by leveraging the mechanisms defined by
-the XDG base/user directory specifications on Linux, the Known Folder API on
-Windows, and the Standard Directory guidelines on macOS.")
+ "This package is a tiny low-level library that provides platform-specific
+standard locations of directories for config, cache and other data.")
(license (list license:expat license:asl2.0))))
+(define-public rust-dirs-2.0
+ (package
+ (inherit rust-dirs-3)
+ (name "rust-dirs")
+ (version "2.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dirs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qymhyq7w7wlf1dirq6gsnabdyzg6yi2yyxkx6c4ldlkbjdaibhk"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-dirs-sys" ,rust-dirs-sys-0.3))))))
+
(define-public rust-dirs-1.0
(package
(inherit rust-dirs-2.0)
(description "Fallible streaming iteration")
(license (list license:expat license:asl2.0))))
+(define-public rust-fancy-regex-0.3
+ (package
+ (name "rust-fancy-regex")
+ (version "0.3.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fancy-regex" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "051bnj890xrvhslppdzw6n956xfjg0wr2ixvhy336d2japvap4df"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bit-set" ,rust-bit-set-0.5)
+ ("rust-regex" ,rust-regex-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-matches" ,rust-matches-0.1)
+ ("rust-quickcheck" ,rust-quickcheck-0.7))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-version-requirements
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("0.3.0") ,(package-version rust-criterion-0.3)))))
+ ;; XXX: Remove Oniguruma-related tests since Guix does not provide
+ ;; the library yet.
+ (add-after 'unpack 'remove-oniguruma-tests
+ (lambda _
+ (delete-file-recursively "tests/oniguruma")
+ (delete-file "tests/oniguruma.rs"))))))
+ (home-page "https://github.com/fancy-regex/fancy-regex")
+ (synopsis "Implementation of regexes with a rich set of features")
+ (description
+ "This package is a Rust library for compiling and matching regular
+expressions. It uses a hybrid regex implementation designed to support
+a relatively rich set of features. In particular, it uses backtracking to
+implement features such as look-around and backtracking, which are not
+supported in purely NFA-based implementations.")
+ (license license:expat)))
+
(define-public rust-fern-0.6
(package
(name "rust-fern")
(base32 "005yi1319k5bz8g5ylbdiakq5jp5jh90yy6k357zm11fr4aqvrpc"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-matches" ,rust-matches-0.1)
("rust-percent-encoding" ,rust-percent-encoding-2))))
(home-page "https://github.com/servo/rust-url")
DWARF debugging format.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-git2-0.11
+(define-public rust-git2-0.13
(package
(name "rust-git2")
- (version "0.11.0")
+ (version "0.13.12")
(source
(origin
(method url-fetch)
(uri (crate-uri "git2" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1i0fgsr91r97hsjbgqnymkcyiyg0057m7m04116k3vmyqpvrwlbp"))))
+ (base32 "0912gv7mvqzdlgkzny0z7ph07g2dmkmz8hp6bvyziy6p7011lvya"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-libc" ,rust-libc-0.2)
- ("rust-libgit2-sys" ,rust-libgit2-sys-0.10)
+ ("rust-libgit2-sys" ,rust-libgit2-sys-0.12)
("rust-log" ,rust-log-0.4)
("rust-openssl-probe" ,rust-openssl-probe-0.1)
("rust-openssl-sys" ,rust-openssl-sys-0.9)
("rust-url" ,rust-url-2))
#:cargo-development-inputs
- (("rust-docopt" ,rust-docopt-1.1)
- ("rust-serde" ,rust-serde-1)
- ("rust-serde-derive" ,rust-serde-derive-1)
- ("rust-tempfile" ,rust-tempfile-3)
- ("rust-thread-id" ,rust-thread-id-3)
+ (("rust-structopt" ,rust-structopt-0.3)
("rust-time" ,rust-time-0.1))))
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ `(("pkg-config" ,pkg-config)
+ ("git" ,git-minimal))) ;for a single test
(inputs
`(("libgit2" ,libgit2)
("libssh2" ,libssh2)
(home-page "https://github.com/rust-lang/git2-rs")
(synopsis "Rust bindings to libgit2")
(description
- "Bindings to libgit2 for interoperating with git repositories.
-This library is both threadsafe and memory safe and allows both
+ "This package provides bindings to libgit2 for interoperating with git
+repositories. This library is both threadsafe and memory safe and allows both
reading and writing git repositories.")
- (license (list license:asl2.0 license:expat))))
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-git2-0.11
+ (package
+ (inherit rust-git2-0.13)
+ (name "rust-git2")
+ (version "0.11.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "git2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1i0fgsr91r97hsjbgqnymkcyiyg0057m7m04116k3vmyqpvrwlbp"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libgit2-sys" ,rust-libgit2-sys-0.10)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-openssl-probe" ,rust-openssl-probe-0.1)
+ ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+ ("rust-url" ,rust-url-2))
+ #:cargo-development-inputs
+ (("rust-docopt" ,rust-docopt-1.1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-thread-id" ,rust-thread-id-3)
+ ("rust-time" ,rust-time-0.1))))))
(define-public rust-git2-0.9
(package
(description "This package provides a LZ77 encoder for libflate crate.")
(license license:expat)))
-(define-public rust-libgit2-sys-0.10
+(define-public rust-libgit2-sys-0.12
(package
(name "rust-libgit2-sys")
- (version "0.10.0")
+ (version "0.12.14+1.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "libgit2-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0l9fvki7qxsl97vgzqwlv75nl213a5vxw7b1jaik97ala356pv6r"))
+ (base32 "0jgmp69a53lki14p8pigxniwyl755lhqzl0r56ppqps9wrcay9cg"))
(modules '((guix build utils)))
(snippet
'(begin (delete-file-recursively "libgit2") #t))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-libc" ,rust-libc-0.2)
- ("rust-libz-sys" ,rust-libz-sys-1)
+ (("rust-cc" ,rust-cc-1)
+ ("rust-libc" ,rust-libc-0.2)
("rust-libssh2-sys" ,rust-libssh2-sys-0.2)
+ ("rust-libz-sys" ,rust-libz-sys-1)
("rust-openssl-sys" ,rust-openssl-sys-0.9)
- ;; Build dependencies:
- ("rust-cc" ,rust-cc-1)
("rust-pkg-config" ,rust-pkg-config-0.3))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(home-page "https://github.com/rust-lang/git2-rs")
(synopsis "Native bindings to the libgit2 library")
(description
- "This package provides native rust bindings to the @code{libgit2} library.")
- (license (list license:asl2.0
- license:expat))))
+ "This package provides native Rust bindings to the @code{libgit2}
+library.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-libgit2-sys-0.10
+ (package
+ (inherit rust-libgit2-sys-0.12)
+ (name "rust-libgit2-sys")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libgit2-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0l9fvki7qxsl97vgzqwlv75nl213a5vxw7b1jaik97ala356pv6r"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (delete-file-recursively "libgit2") #t))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-libz-sys" ,rust-libz-sys-1)
+ ("rust-libssh2-sys" ,rust-libssh2-sys-0.2)
+ ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+ ;; Build dependencies:
+ ("rust-cc" ,rust-cc-1)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))))
(define-public rust-libgit2-sys-0.8
(package
libmysqlclient.")
(license (list license:expat license:asl2.0))))
+(define-public rust-nasm-rs-0.2
+ (package
+ (name "rust-nasm-rs")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nasm-rs" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1lgc3gg32hj4pcbfp07vzwy013smdm27469fyy4rqgyil3x46vx7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arrayvec" ,rust-arrayvec-0.5)
+ ("rust-rayon" ,rust-rayon-1))))
+ (home-page "https://github.com/medek/nasm-rs")
+ (synopsis "Run NASM during your Cargo build")
+ (description "Run NASM during your Cargo build.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-nasm-rs-0.1
(package
+ (inherit rust-nasm-rs-0.2)
(name "rust-nasm-rs")
(version "0.1.7")
(source
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-rayon" ,rust-rayon-1))))
- (home-page "https://github.com/medek/nasm-rs")
- (synopsis "Run NASM during your Cargo build")
- (description "Run NASM during your Cargo build.")
- (license (list license:expat license:asl2.0))))
+ (("rust-rayon" ,rust-rayon-1))))))
(define-public rust-nalgebra-0.21
(package
(define-public rust-native-tls-0.2
(package
(name "rust-native-tls")
- (version "0.2.3")
+ (version "0.2.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "native-tls" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0ki7cj4wzyd2nach4qdjly69sp7rs0yz3n3z2ii4mm1gqajg2bab"))))
+ (base32 "0grsinsgq1pd70c6k9mif7wambwq2jxh8jhvdgwf9i7dnlwpkk3g"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; tests require network access
+ `(#:tests? #f ; tests require network access
#:cargo-inputs
(("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2)
("rust-openssl-probe" ,rust-openssl-probe-0.1)
("rust-openssl-sys" ,rust-openssl-sys-0.9)
("rust-schannel" ,rust-schannel-0.1)
- ("rust-security-framework" ,rust-security-framework-0.3)
- ("rust-security-framework-sys" ,rust-security-framework-sys-0.3)
+ ("rust-security-framework" ,rust-security-framework-2)
+ ("rust-security-framework-sys" ,rust-security-framework-sys-2)
("rust-tempfile" ,rust-tempfile-3))
#:cargo-development-inputs
- (("rust-hex" ,rust-hex-0.3))))
+ (("rust-hex" ,rust-hex-0.4))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
("rust-memchr" ,rust-memchr-2)
("rust-quickcheck" ,rust-quickcheck-0.4))))))
-(define-public rust-onig-5.0
+(define-public rust-onig-6
(package
(name "rust-onig")
- (version "5.0.0")
+ (version "6.1.1")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "onig" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0ivr0wq1zlyjhhkxpsnmpncg92sjx3rha8pnp3m1mzvgk7y27rz4"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "onig" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mcx125hh22kx2d0676hkk2gli6v8r6c4rp3wh5qy0dwxpcnzd1h"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-libc" ,rust-libc-0.2)
- ("rust-bitflags" ,rust-bitflags-1)
+ (("rust-bitflags" ,rust-bitflags-1)
("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-onig-sys" ,rust-onig-sys-69.2))))
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-onig-sys" ,rust-onig-sys-69.6))))
(home-page "https://github.com/rust-onig/rust-onig")
- (synopsis
- "Rust bindings for the Oniguruma regular expression library")
+ (synopsis "Rust bindings for the Oniguruma regular expression library")
(description
"Rust-Onig is a set of Rust bindings for the Oniguruma regular expression
-library. Oniguruma is a modern regex library with support for multiple
-character encodings and regex syntaxes.")
+library.")
(license license:expat)))
-(define-public rust-onig-sys-69.2
+(define-public rust-onig-5.0
+ (package
+ (inherit rust-onig-6)
+ (name "rust-onig")
+ (version "5.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "onig" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ivr0wq1zlyjhhkxpsnmpncg92sjx3rha8pnp3m1mzvgk7y27rz4"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-onig-sys" ,rust-onig-sys-69.2))))))
+
+(define-public rust-onig-sys-69.6
(package
(name "rust-onig-sys")
- (version "69.2.0")
+ (version "69.6.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "onig_sys" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0kjijq29yx05xxg9snvqnfn53dl52hchb4sk3zhfr77mypxlx38a"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "onig_sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xapbm4mrmyar1lbs3xrly2hm2mkb38hji1j15fjw3scryb3q1pd"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-pkg-config" ,rust-pkg-config-0.3)
- ("rust-bindgen" ,rust-bindgen-0.50)
- ("rust-cc" ,rust-cc-1))))
+ (("rust-bindgen" ,rust-bindgen-0.55)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
(home-page "https://github.com/rust-onig/rust-onig")
- (synopsis
- "Rust bindings to the oniguruma library.")
+ (synopsis "Rust bindings to the Oniguruma library")
(description
- "The @code{onig_sys} crate contains raw rust bindings to the oniguruma
-library. This crate exposes a set of unsafe functions which can then be used by
-other crates to create safe wrappers around Oniguruma.
-You probably don't want to link to this crate directly; instead check out the
-@code{onig} crate.")
+ "This crate contains raw Rust bindings to the Oniguruma library.
+This crate exposes a set of unsafe functions which can then be used by
+other crates to create safe wrappers around Oniguruma.")
(license license:expat)))
+(define-public rust-onig-sys-69.2
+ (package
+ (inherit rust-onig-sys-69.6)
+ (name "rust-onig-sys")
+ (version "69.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "onig_sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0kjijq29yx05xxg9snvqnfn53dl52hchb4sk3zhfr77mypxlx38a"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bindgen" ,rust-bindgen-0.50)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))))
+
(define-public rust-once-cell-1
(package
(name "rust-once-cell")
"Implementation detail of the paste crate.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-path-abs-0.5
+ (package
+ (name "rust-path-abs")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "path_abs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "131qi5j201caraqz9rwbzk4mybd9bcrryrhf63lr9gz0xmnqwszb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-std-prelude" ,rust-std-prelude-0.2)
+ ("rust-stfu8" ,rust-stfu8-0.2))
+ #:cargo-development-inputs
+ (("rust-pretty-assertions" ,rust-pretty-assertions-0.4)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-tempdir" ,rust-tempdir-0.3))))
+ (home-page "https://github.com/vitiral/path_abs")
+ (synopsis "Ergonomic paths and files in Rust")
+ (description "This library provides ergonomic path and file operations to
+Rust with reasonable performance.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-path-clean-0.1
(package
(name "rust-path-clean")
(license (list license:asl2.0
license:expat))))
+(define-public rust-plist-1
+ (package
+ (name "rust-plist")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "plist" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zb7k48x1zf1dhqavs37qm24fxi98qb978xv2nzjkkp4x2a6scvv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-base64" ,rust-base64-0.12)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-line-wrap" ,rust-line-wrap-0.1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-xml-rs" ,rust-xml-rs-0.8))))
+ (home-page "https://github.com/ebarnard/rust-plist/")
+ (synopsis "Rusty plist parser")
+ (description
+ "This package provides a Rusty plist parser. It supports Serde
+serialization.")
+ (license license:expat)))
+
(define-public rust-plist-0.4
(package
+ (inherit rust-plist-1)
(name "rust-plist")
(version "0.4.2")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "plist" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0zqnxc5i4y6mj119vr0lzpb5j67vffpx2phhgh711533bw3ryajz"))))
- (build-system cargo-build-system)
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "plist" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zqnxc5i4y6mj119vr0lzpb5j67vffpx2phhgh711533bw3ryajz"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
("rust-xml-rs" ,rust-xml-rs-0.8)
("rust-serde" ,rust-serde-1)
("rust-humantime" ,rust-humantime-1)
- ("rust-byteorder" ,rust-byteorder-1))))
- (home-page "https://github.com/ebarnard/rust-plist/")
- (synopsis "Rusty plist parser")
- (description
- "This package provides a rusty plist parser. Supports Serde serialization.")
- (license license:expat)))
+ ("rust-byteorder" ,rust-byteorder-1))))))
(define-public rust-plotters-0.2
(package
(define-public rust-predicates-1
(package
(name "rust-predicates")
- (version "1.0.4")
+ (version "1.0.5")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "predicates" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0c0hafd7z7v97218na8nampmy64f7fw61yvjk2y3dri11dpinyil"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "predicates" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0nkkn3h3b9vigyy4adlnhi2zrxm5j0nbnqid6snwxp4h5v8ymgwn"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-difference" ,rust-difference-2)
- ("rust-float-cmp" ,rust-float-cmp-0.6)
+ ("rust-float-cmp" ,rust-float-cmp-0.8)
("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3)
("rust-predicates-core" ,rust-predicates-core-1)
("rust-regex" ,rust-regex-1))
#:cargo-development-inputs
(("rust-predicates-tree" ,rust-predicates-tree-1))))
(home-page "https://github.com/assert-rs/predicates-rs")
- (synopsis
- "Implementation of boolean-valued predicate functions")
+ (synopsis "Implementation of boolean-valued predicate functions")
(description
- "An implementation of boolean-valued predicate functions.")
+ "This package provides an implementation of boolean-valued predicate
+functions.")
(license (list license:expat license:asl2.0))))
(define-public rust-predicates-core-1
(base32 "11cpihdk9ba68hzw95aa8zxn0i5g6kdrfd4l2cy3d5jvb72a6vhx"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-toml" ,rust-toml-0.5))))
(home-page "https://github.com/bkchr/proc-macro-crate")
(synopsis "Support for @code{$crate} in procedural macros")
(base32 "1373bhxaf0pagd8zkyd03kkx6bchzf6g0dkwrwzsnal9z47lj9fs"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ ;; Tests fail with "extern crate test_crate; <-- can't find crate" error.
+ `(#:tests? #f
#:cargo-inputs
(("rust-proc-macro-error-attr" ,rust-proc-macro-error-attr-1)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1)
- ("rust-version-check" ,rust-version-check-0.9))))
+ ("rust-version-check" ,rust-version-check-0.9))
+ #:cargo-development-inputs
+ (("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-trybuild" ,rust-trybuild-1))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-version-requirements
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("1.0.107") ,(package-version rust-serde-derive-1))
+ (("0.5.2") ,(package-version rust-toml-0.5))))))))
(home-page "https://gitlab.com/CreepySkeleton/proc-macro-error")
(synopsis "Drop-in replacement to panics in proc-macros")
(description
(base32 "0sgq6m5jfmasmwwy8x4mjygx5l7kp8s4j60bv25ckv2j1qc41gm1"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-version-check" ,rust-version-check-0.9))))
(define-public rust-quote-1
(package
(name "rust-quote")
- (version "1.0.3")
+ (version "1.0.7")
(source
(origin
(method url-fetch)
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "0zwd6fp74xfg4jnnnwj4v84lkzif2giwj4ch1hka9g35ghc6rp1b"))))
+ "0drzd6pq7whq7qhdvvs8wn6pbb0hhc12pz8wv80fb05ixhbksmma"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(define-public rust-rustdoc-stripper-0.1
(package
(name "rust-rustdoc-stripper")
- (version "0.1.9")
+ (version "0.1.16")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "rustdoc-stripper" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "13rf65a0xk1zyb92jd8p12x529rsbfchwk9zvjr0snr9savpxw19"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustdoc-stripper" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "053041694rjfcs0c6nkfz164d67klmj66wkf8dwlcc7y75gf57wp"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
"This package provides a library for section-style testing.")
(license license:expat)))
+(define-public rust-security-framework-2
+ (package
+ (name "rust-security-framework")
+ (version "2.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "security-framework" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0scc4vj2mw9k6qpxp26zx8gnqnmw79nwayja91x030457hp9qxf1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;missing files
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-core-foundation" ,rust-core-foundation-0.9)
+ ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-security-framework-sys" ,rust-security-framework-sys-2))
+ #:cargo-development-inputs
+ (("rust-hex" ,rust-hex-0.4)
+ ("rust-tempdir" ,rust-tempdir-0.3))))
+ (home-page "https://lib.rs/crates/security_framework")
+ (synopsis "@code{Security.framework} bindings for macOS and iOS")
+ (description "This package provides @code{Security.framework} bindings for
+macOS and iOS.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-security-framework-1
(package
+ (inherit rust-security-framework-2)
(name "rust-security-framework")
(version "1.0.0")
(source
(sha256
(base32
"0axwlax65j1f79rsm4ylc8rc6p2knbi3dgnpbdq7a1bzh5k2hl5d"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-security-framework-sys" ,rust-security-framework-sys-1))
#:cargo-development-inputs
(("rust-hex" ,rust-hex-0.4)
- ("rust-tempdir" ,rust-tempdir-0.3))))
- (home-page "https://lib.rs/crates/security_framework")
- (synopsis "@code{Security.framework} bindings for macOS and iOS")
- (description "This package provides @code{Security.framework} bindings for
-macOS and iOS.")
- (license (list license:expat license:asl2.0))))
+ ("rust-tempdir" ,rust-tempdir-0.3))))))
(define-public rust-security-framework-0.3
(package
(("rust-hex" ,rust-hex-0.3)
("rust-tempdir" ,rust-tempdir-0.3))))))
-(define-public rust-security-framework-sys-1
+(define-public rust-security-framework-sys-2
(package
(name "rust-security-framework-sys")
- (version "1.0.0")
+ (version "2.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "security-framework-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1iynsjz53lqkkw4zbq8l99xn799chbx90lsmrlfnsyxii14v1kji"))))
+ (base32 "12v7wpf7cbc92xza4lf3w12411wzrkkvlbjgrhrid9yj4rg9v6zr"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7)
+ (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
("rust-libc" ,rust-libc-0.2))))
(home-page "https://lib.rs/crates/security-framework-sys")
(synopsis "Low-level FFI bindings to Apple @code{Security.framework}")
@code{Security.framework}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-security-framework-sys-1
+ (package
+ (inherit rust-security-framework-sys-2)
+ (name "rust-security-framework-sys")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "security-framework-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1iynsjz53lqkkw4zbq8l99xn799chbx90lsmrlfnsyxii14v1kji"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7)
+ ("rust-libc" ,rust-libc-0.2))))))
+
(define-public rust-security-framework-sys-0.3
(package
(inherit rust-security-framework-sys-1)
(description "Rust semaphore library.")
(license license:expat)))
+(define-public rust-semver-0.11
+ (package
+ (name "rust-semver")
+ (version "0.11.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "semver" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1dn6064fipjymnmjccyjhb70miyvqvp08gvw1wbg8vbg4c8ay0gk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-diesel" ,rust-diesel-1)
+ ("rust-semver-parser" ,rust-semver-parser-0.10)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://docs.rs/crate/semver/")
+ (synopsis "Semantic version parsing and comparison")
+ (description
+ "This package provides semantic version parsing and comparison.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-semver-0.10
(package
+ (inherit rust-semver-0.11)
(name "rust-semver")
(version "0.10.0")
(source
(uri (crate-uri "semver" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1401i88135h2paxwvf0b51hf585rdzxa8yxg7j800gk2z8lfqk1r"))))
- (build-system cargo-build-system)
+ (base32 "1401i88135h2paxwvf0b51hf585rdzxa8yxg7j800gk2z8lfqk1r"))))
(arguments
`(#:cargo-inputs
(("rust-diesel" ,rust-diesel-1)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
(("rust-serde-derive" ,rust-serde-derive-1)
- ("rust-serde-json" ,rust-serde-json-1))))
- (home-page "https://docs.rs/crate/semver/")
- (synopsis "Semantic version parsing and comparison")
- (description "This package provides semantic version parsing and
-comparison.")
- (license (list license:expat license:asl2.0))))
+ ("rust-serde-json" ,rust-serde-json-1))))))
(define-public rust-semver-0.9
(package
"Semantic version parsing and comparison.")
(license (list license:expat license:asl2.0))))
+(define-public rust-semver-parser-0.10
+ (package
+ (name "rust-semver-parser")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "semver-parser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0a0lgmnd7jga3c6090lsn4lifh3mnzmy4v6d6yqg9rfm59n19vs2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;missing files
+ #:cargo-inputs
+ (("rust-pest" ,rust-pest-2))
+ #:cargo-development-inputs
+ (("rust-pest-generator" ,rust-pest-generator-2.1))))
+ (home-page "https://github.com/steveklabnik/semver-parser")
+ (synopsis "Parsing of the Semver spec")
+ (description "This package provides for parsing of the Semver spec.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-semver-parser-0.9
(package
+ (inherit rust-semver-parser-0.10)
(name "rust-semver-parser")
(version "0.9.0")
(source
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "1ahqhvgpzhcsd28id7xnrjv4419i9yyalhm7d7zi430qx0hi2vml"))))
- (build-system cargo-build-system)
- (home-page "https://github.com/steveklabnik/semver-parser")
- (synopsis "Parsing of the semver spec")
- (description "This package provides for parsing of the semver spec.")
- (license (list license:asl2.0
- license:expat))))
+ "1ahqhvgpzhcsd28id7xnrjv4419i9yyalhm7d7zi430qx0hi2vml"))))))
(define-public rust-semver-parser-0.7
(package
"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
+(define-public rust-shell-words-1
(package
(name "rust-shell-words")
- (version "0.1.0")
+ (version "1.0.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "shell-words" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0jnrw3f174974fsi2hg48l0klpy24767ib28w0xcvi2ll5axxb1r"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "shell-words" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0x5hw7ch98sp6b99ihxjs5vw5dmwg4yvy4yxzr59394xr4w3kymn"))))
(build-system cargo-build-system)
(home-page "https://github.com/tmiasko/shell-words")
- (synopsis
- "Process command line according to parsing rules of UNIX shell")
+ (synopsis "Process command line according to parsing rules of UNIX shell")
(description
- "Process command line according to parsing rules of UNIX shell.")
+ "This package processes command line according to parsing rules of UNIX
+shell.")
(license (list license:expat license:asl2.0))))
+(define-public rust-shell-words-0.1
+ (package
+ (inherit rust-shell-words-1)
+ (name "rust-shell-words")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "shell-words" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jnrw3f174974fsi2hg48l0klpy24767ib28w0xcvi2ll5axxb1r"))))))
+
(define-public rust-shlex-0.1
(package
(name "rust-shlex")
"Parse command line argument by defining a struct, derive crate.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-strum-0.18
+ (package
+ (name "rust-strum")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "strum" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0asjskn1qhqqfiq673np0gvmnd1rsp506m38vk53gi7l93mq3gap"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-strum-macros" ,rust-strum-macros-0.18))))
+ (home-page "https://github.com/Peternator7/strum")
+ (synopsis "Set of traits for working with enums and strings")
+ (description
+ "Strum is a set of macros and traits for working with enums and strings
+easier in Rust.")
+ (license license:expat)))
+
+(define-public rust-strum-macros-0.18
+ (package
+ (name "rust-strum-macros")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "strum_macros" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0k3pwbv0c8q00jnsjshzfc2d5r3y6ppgf9fz7pyknrgaz2immj47"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-heck" ,rust-heck-0.3)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/Peternator7/strum")
+ (synopsis "Set of macros for working with enums and strings")
+ (description
+ "This crate provides helpful macros for working with enums and strings.")
+ (license license:expat)))
+
(define-public rust-subtle-2
(package
(name "rust-subtle")
(define-public rust-syn-1
(package
(name "rust-syn")
- (version "1.0.40")
+ (version "1.0.53")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "syn" version))
- (file-name (string-append name "-" version ".crate"))
- (sha256
- (base32
- "0l437lsnv289y64pgl2mfvr1vgrb2hix5bb5a4rbjncvqly7sgwn"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "syn" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0s3y325n7s6gsg4wg0dq0pxymhv1x8qd4nmsp8my2kf24h3y4cw8"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
("rust-walkdir" ,rust-walkdir-2))))
(home-page "https://github.com/dtolnay/syn")
(synopsis "Parser for Rust source code")
- (description "Parser for Rust source code")
+ (description
+ "Syn is a parsing library for parsing a stream of Rust tokens into
+a syntax tree of Rust source code.")
(license (list license:expat license:asl2.0))))
(define-public rust-syn-0.15
"This package provides helper test traits for synstructure doctests.")
(license license:expat)))
+(define-public rust-syntect-4
+ (package
+ (name "rust-syntect")
+ (version "4.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "syntect" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "121y6rswylvbhaz8krjb9aa7h16f6ly2sdbbka1hr1dm0pgphfaf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;missing files
+ #:cargo-inputs
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-fancy-regex" ,rust-fancy-regex-0.3)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-fnv" ,rust-fnv-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-lazycell" ,rust-lazycell-1)
+ ("rust-onig" ,rust-onig-6)
+ ("rust-plist" ,rust-plist-1)
+ ("rust-regex-syntax" ,rust-regex-syntax-0.6)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-walkdir" ,rust-walkdir-2)
+ ("rust-yaml-rust" ,rust-yaml-rust-0.4))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-getopts" ,rust-getopts-0.2)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-0.6))))
+ (home-page "https://github.com/trishume/syntect")
+ (synopsis "Library for syntax highlighting and code intelligence")
+ (description
+ "This package provides a library for syntax highlighting and code
+intelligence using Sublime Text's grammars.")
+ (license license:expat)))
+
(define-public rust-syntect-3.3
(package
+ (inherit rust-syntect-4)
(name "rust-syntect")
(version "3.3.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "syntect" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1f6qn1yy15b0hq9h6q1rikqnm3lh56ic6bq3ywsmdsjy8ni9splm"))))
- (build-system cargo-build-system)
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "syntect" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1f6qn1yy15b0hq9h6q1rikqnm3lh56ic6bq3ywsmdsjy8ni9splm"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
("rust-bincode" ,rust-bincode-1)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-walkdir" ,rust-walkdir-2)
- ("rust-onig" ,rust-onig-5.0))))
- (home-page "https://github.com/trishume/syntect")
- (synopsis "Library for syntax highlighting and code intelligence")
- (description
- "This package provides a library for syntax highlighting and code
-intelligence using Sublime Text's grammars.")
- (license license:expat)))
+ ("rust-onig" ,rust-onig-5.0))))))
(define-public rust-syntex-0.58
(package
(description "Send log messages to syslog.")
(license license:expat)))
+(define-public rust-system-deps-1
+ (package
+ (name "rust-system-deps")
+ (version "1.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "system-deps" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16v4ljmj8sj030mdcc1yk615vciqlyxi7csq6lxka6cs4qbwqghg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;source is missing some test files
+ #:cargo-inputs
+ (("rust-heck" ,rust-heck-0.3)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-strum" ,rust-strum-0.18)
+ ("rust-strum-macros" ,rust-strum-macros-0.18)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-version-compare" ,rust-version-compare-0.0))
+ #:cargo-development-inputs
+ (("rust-itertools" ,rust-itertools-0.9))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-version-requirements
+ (lambda _
+ (substitute* "Cargo.toml"
+ (("0.0.10") ,(package-version rust-version-compare-0.0))))))))
+ (home-page "https://github.com/gdesmott/system-deps")
+ (synopsis "Define system dependencies in @file{Cargo.toml}")
+ (description
+ "This crate lets you write system dependencies in @file{Cargo.toml}
+metadata, rather than programmatically in @file{build.rs}. This makes those
+dependencies declarative, so other tools can read them as well.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-take-mut-0.2
(package
(name "rust-take-mut")
(license (list license:asl2.0
license:expat))))
+(define-public rust-wild-2
+ (package
+ (name "rust-wild")
+ (version "2.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wild" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0800hfmb099abwh7gqqbxhlvl7l3g5x681qsy0rm0x2lp2mr6mq3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-glob" ,rust-glob-0.3))))
+ (home-page "https://lib.rs/crates/wild")
+ (synopsis "Glob (wildcard) expanded command-line arguments")
+ (description
+ "This package allows Rust applications support wildcard arguments on
+command-line, uniformly on all platforms")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-winapi-0.3
(package
(name "rust-winapi")