guix-commits
[Top][All Lists]
Advanced

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

27/53: gnu: Add rust-permutohedron.


From: guix-commits
Subject: 27/53: gnu: Add rust-permutohedron.
Date: Wed, 28 Aug 2019 09:55:04 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 0e4448d138de6099952e0ecb632beb680b48be0c
Author: Efraim Flashner <address@hidden>
Date:   Wed Aug 28 16:10:06 2019 +0300

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3bdf1ce..e793bd7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -860,6 +860,28 @@ the @code{take_while} predicate returned false after 
dropping the @code{by_ref}.
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-permutohedron
+  (package
+    (name "rust-permutohedron")
+    (version "0.2.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "permutohedron" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0b1pzh48j86v46wxngch6k1kx9cdw3jr3lwa86gd6jd4bmxzz1xn"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/bluss/permutohedron";)
+    (synopsis "Generate permutations of sequences")
+    (description
+     "Generate permutations of sequences.  Either lexicographical order
+permutations, or a minimal swaps permutation sequence implemented using Heap's
+algorithm.")
+    (license (list license:asl2.0
+                   license:expat))))
+
 (define-public rust-pin-utils
   (package
     (name "rust-pin-utils")



reply via email to

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