gnu: rust-stderrlog-0.4: Fix build.
* gnu/packages/crates-io.scm (rust-stderrlog-0.4)[source]: Add snippet to allow newer versions of dependencies. [arguments]: Don't skip the build. [cargo-inputs]: Replace rust-atty-0.2.11 with 0.2, rust-thread-local-0.3.4 with 0.3. [cargo-development-inputs]: Add rust-clap-2, rust-docopt-0.6, rust-libc-0.2, rust-rustc-serialize-0.3, rust-structopt-0.2. Change-Id: I312b58d2b92169f3a4c1ddd7cea3654cfa73cda1
This commit is contained in:
parent
fbbebce863
commit
02c09705ff
@ -62550,15 +62550,28 @@ on verbosity specified.")
|
|||||||
(uri (crate-uri "stderrlog" version))
|
(uri (crate-uri "stderrlog" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "09bzvmx2lzyycr1xfcvfwnvqsjg9kb4w22hb19bjqid5j2dyxr9j"))))
|
(base32 "09bzvmx2lzyycr1xfcvfwnvqsjg9kb4w22hb19bjqid5j2dyxr9j"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin (substitute* "Cargo.toml"
|
||||||
|
(("version = \"~([[:digit:]]+(\\.[[:digit:]]+)*)\"" _ version)
|
||||||
|
(string-append "version = \"^" version "\""))
|
||||||
|
(("version = \"\\^([[:digit:]]+\\.[[:digit:]]+), <.*\"" _ version)
|
||||||
|
(string-append "version = \"^" version "\"")))))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:cargo-inputs
|
||||||
#:cargo-inputs
|
(("rust-atty" ,rust-atty-0.2)
|
||||||
(("rust-atty" ,rust-atty-0.2.11)
|
|
||||||
("rust-chrono" ,rust-chrono-0.4)
|
("rust-chrono" ,rust-chrono-0.4)
|
||||||
("rust-log" ,rust-log-0.4)
|
("rust-log" ,rust-log-0.4)
|
||||||
("rust-termcolor" ,rust-termcolor-1)
|
("rust-termcolor" ,rust-termcolor-1)
|
||||||
("rust-thread-local" ,rust-thread-local-0.3.4))))))
|
("rust-thread-local" ,rust-thread-local-0.3))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-clap" ,rust-clap-2)
|
||||||
|
("rust-docopt" ,rust-docopt-0.6)
|
||||||
|
("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
|
||||||
|
("rust-structopt" ,rust-structopt-0.2))))))
|
||||||
|
|
||||||
(define-public rust-stfu8-0.2
|
(define-public rust-stfu8-0.2
|
||||||
(package
|
(package
|
||||||
|
Loading…
Reference in New Issue
Block a user