guix-commits
[Top][All Lists]
Advanced

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

09/29: gnu: Add rust-cordic-0.1.


From: guix-commits
Subject: 09/29: gnu: Add rust-cordic-0.1.
Date: Mon, 5 Oct 2020 06:43:38 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 9c605ee3be3e92b0e7b2e044e3bdae3dde8a28aa
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 4 23:53:02 2020 +0300

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index da90002..478666f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4135,6 +4135,29 @@ It is inspired by the Linux kernel's 
@code{crypto_memneq}.")
 semantics than those provided by @code{as} or @code{From}/@code{Into}.")
     (license license:expat)))
 
+(define-public rust-cordic-0.1
+  (package
+    (name "rust-cordic")
+    (version "0.1.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "cordic" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "13zvqn6c8d8lp18p9ik10q100wfsyv2m2n4fca16laq3yw7r231m"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t     ; rust-fixed fails to build
+       #:cargo-inputs (("rust-fixed" ,rust-fixed-1))))
+    (home-page "https://github.com/sebcrozet/cordic";)
+    (synopsis "Special functions for fixed-point numbers using the CORDIC 
method")
+    (description "This package provides special functions for fixed-point
+numbers using the CORDIC method.")
+    (license license:bsd-3)))
+
 (define-public rust-core-arch-0.1
   (package
     (name "rust-core-arch")



reply via email to

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