gnu: Add rust-sourcefile.

* gnu/packages/crates-io.scm (rust-sourcefile): New variable.
This commit is contained in:
Efraim Flashner 2019-09-05 19:11:22 +03:00
parent 61322df019
commit 01519b3d9f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2654,6 +2654,30 @@ (define-public rust-socket2
(license (list license:asl2.0
license:expat))))
(define-public rust-sourcefile
(package
(name "rust-sourcefile")
(version "0.1.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "sourcefile" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1lwa6973zs4bgj29my7agfjgk4nw9hp6j7dfnr13nid85fw7rxsb"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile))))
(home-page "https://github.com/derekdreery/sourcefile-rs")
(synopsis "Concatenate source from multiple files")
(description
"A library for concatenating source from multiple files, whilst keeping
track of where each new file and line starts.")
(license (list license:asl2.0
license:expat))))
(define-public rust-spin
(package
(name "rust-spin")