On Sat, Sep 04 2021, phodina via Guix-patches via wrote: > * gnu/packages/crates-io.scm (rust-noise-0.7): New variable. > > diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm > index 3bcd20b9be..3df14a1d6d 100644 > --- a/gnu/packages/crates-io.scm > +++ b/gnu/packages/crates-io.scm > @@ -29108,6 +29108,34 @@ with all line endings.") > "Cross-platform filesystem notification library") > (license (list license:cc0 license:artistic2.0)))) > > +(define-public rust-noise-0.7 > + (package > + (name "rust-noise") > + (version "0.7.0") > + (source > + (origin > + (method url-fetch) > + (uri (crate-uri "noise" version)) > + (file-name > + (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "0hsbw9gpsz8w9msvyvddygagd9wj93hqpg5pxz388laxfkb1s1c2")))) > + (build-system cargo-build-system) > + (arguments > + `(#:cargo-inputs > + (("rust-image" ,rust-image-0.23) > + ("rust-rand" ,rust-rand-0.7) > + ("rust-rand-xorshift" ,rust-rand-xorshift-0.2)) > + #:cargo-development-inputs > + (("rust-criterion" ,rust-criterion-0.3)))) > + (home-page > + "https://github.com/razaekel/noise-rs") Nit: A newline isn’t necessary. > + (synopsis "Procedural noise generation library") > + (description > + "Procedural noise generation library.") The description should consist of one or more complete sentences. See “16.4.4 Synopses and Descriptions” in the manual. Maybe (based on the README) This pakcage provides a Rust library to generate smoothly varying noise for textural use and graphical display.