diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-09 23:05:12 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:49:51 +0100 |
commit | adec593ee15acd235914c8bdf0f23945894a678b (patch) | |
tree | 40ffd882a793bf476eabd151c4371f3f470e7b12 | |
parent | fd04dd9122942215334cec615d20d7fb238bd475 (diff) | |
download | guix-adec593ee15acd235914c8bdf0f23945894a678b.tar.gz guix-adec593ee15acd235914c8bdf0f23945894a678b.zip |
gnu: Add rust-cassowary-0.3.
* gnu/packages/crates-io.scm (rust-cassowary-0.3): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6d9b8f1ea5..7ee12bfdf1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5610,6 +5610,31 @@ metadata}.") used in argon2rs' bench suite.") (license license:wtfpl2))) +(define-public rust-cassowary-0.3 + (package + (name "rust-cassowary") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cassowary" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lvanj0gsk6pc1chqrh4k5k0vi1rfbgzmsk46dwy3nmrqyw711nz")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/dylanede/cassowary-rs") + (synopsis + "Implementation of the Cassowary linear constraint solving algorithm") + (description + "This package provides a Rust implementation of the Cassowary linear +constraint solving algorithm. + +The Cassowary algorithm is designed for naturally laying out user interfaces +using linear constraints, like ``this button must line up with this text +box''.") + (license (list license:expat license:asl2.0)))) + (define-public rust-cast-0.2 (package (name "rust-cast") |