guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

48/272: gnu: Add rust-cassowary-0.3.


From: guix-commits
Subject: 48/272: gnu: Add rust-cassowary-0.3.
Date: Sat, 13 Feb 2021 05:54:01 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit adec593ee15acd235914c8bdf0f23945894a678b
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Feb 9 23:05:12 2021 +0100

    gnu: Add rust-cassowary-0.3.
    
    * gnu/packages/crates-io.scm (rust-cassowary-0.3): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6d9b8f1..7ee12bf 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]