guix-commits
[Top][All Lists]
Advanced

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

04/04: gnu: Add ocaml-fftw3.


From: guix-commits
Subject: 04/04: gnu: Add ocaml-fftw3.
Date: Fri, 3 Jan 2020 17:48:13 -0500 (EST)

brettgilio pushed a commit to branch master
in repository guix.

commit 2e26dd69c8176a29a0f227b619036e918c5a49d1
Author: Brett Gilio <address@hidden>
Date:   Fri Jan 3 16:47:03 2020 -0600

    gnu: Add ocaml-fftw3.
    
    * gnu/packages/ocaml.scm (ocaml-fftw3): New variable.
---
 gnu/packages/ocaml.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 2e8072c..a9e421a 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5180,6 +5180,39 @@ advantage over ocamldoc is an accurate cross-referencer, 
which handles the
 complexity of the OCaml module system.")
     (license license:isc)))
 
+(define-public ocaml-fftw3
+  (package
+    (name "ocaml-fftw3")
+    (version "0.8.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Chris00/fftw-ocaml.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0l66yagjkwdcib6q55wd8wiap50vi23qiahkghlvm28z7nvbclfk"))))
+    (build-system dune-build-system)
+    (arguments
+     `(#:tests? #t
+       #:test-target "tests"))
+    (propagated-inputs
+     `(("fftw" ,fftw)
+       ("fftwf" ,fftwf)))
+    (native-inputs
+     `(("ocaml-cppo" ,ocaml-cppo)
+       ("ocaml-lacaml" ,ocaml-lacaml)))
+    (home-page
+     "https://github.com/Chris00/fftw-ocaml";)
+    (synopsis
+     "Bindings to FFTW3")
+    (description
+     "Bindings providing OCaml support for the seminal Fast Fourier Transform
+library FFTW.")
+    (license license:lgpl2.1))) ; with static linking exception.
+
 (define-public ocaml-lacaml
   (package
     (name "ocaml-lacaml")



reply via email to

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