all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark Meyer <mark@ofosos.org>
To: 30266@debbugs.gnu.org
Subject: [bug#30266] Add FANN
Date: Sat, 27 Jan 2018 13:55:39 +0100	[thread overview]
Message-ID: <1517057739.331219.1250048536.75FA3BFA@webmail.messagingengine.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 127 bytes --]

Hi,
this is a patch to add FANN, the fast artificial neural network to Guix.

Cheers, Mark

-- 
  Mark Meyer
  mark@ofosos.org

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-fann.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-fann.patch", Size: 2048 bytes --]

From 63b1eca352d9ce97724bb832617c4fa9c28403e0 Mon Sep 17 00:00:00 2001
From: Mark Meyer <mark@ofosos.org>
Date: Sat, 27 Jan 2018 13:53:14 +0100
Subject: [PATCH] gnu: Add fann.

* gnu/packages/ai.scm (fann): New variable.
---
 gnu/local.mk        |  1 +
 gnu/packages/ai.scm | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)
 create mode 100644 gnu/packages/ai.scm

diff --git a/gnu/local.mk b/gnu/local.mk
index 80d6a8d4c..d30d0cc9e 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -53,6 +53,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/admin.scm			\
   %D%/packages/adns.scm				\
   %D%/packages/algebra.scm			\
+  %D%/packages/ai.scm				\
   %D%/packages/aidc.scm				\
   %D%/packages/android.scm			\
   %D%/packages/animation.scm			\
diff --git a/gnu/packages/ai.scm b/gnu/packages/ai.scm
new file mode 100644
index 000000000..5b2da2e70
--- /dev/null
+++ b/gnu/packages/ai.scm
@@ -0,0 +1,32 @@
+(define-module (gnu packages ai)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix utils)
+  #:use-module (guix download)
+  #:use-module (guix packages)
+  #:use-module (guix build-system cmake)
+  #:use-module (guix git-download)
+  #:use-module (gnu packages))
+
+(define-public libfann
+  (package
+    (name "libfann")
+    (version "d71d54788b")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/libfann/fann.git")
+                    (commit version)))
+              (sha256
+               (base32
+                "0ibwpfrjs6q2lijs8slxjgzb2llcl6rk3v2ski4r6215g5jjhg3x"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f))
+    (home-page "http://leenissen.dk/fann/wp/")
+    (synopsis "Fast Artificial Neural Network")
+    (description
+     "FANN is a free open source neural network library, which implements
+multilayer artificial neural networks in C with support for both fully
+connected and sparsely connected networks.")
+    (license license:lgpl2.1)))
+
-- 
2.15.1


             reply	other threads:[~2018-01-27 12:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-27 12:55 Mark Meyer [this message]
2018-01-28  2:13 ` [bug#30266] Add FANN Ben Woodcroft
2018-02-01 15:32   ` Mark Meyer
2018-02-02 13:12     ` bug#30266: " Ben Woodcroft

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1517057739.331219.1250048536.75FA3BFA@webmail.messagingengine.com \
    --to=mark@ofosos.org \
    --cc=30266@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.