From 599b00e8f24ebaa8951e9510f9c2956b732dad1b Mon Sep 17 00:00:00 2001 Message-Id: <599b00e8f24ebaa8951e9510f9c2956b732dad1b.1643064268.git.mail@nicolasgoaziou.fr> In-Reply-To: References: From: Petr Hodina Date: Mon, 24 Jan 2022 15:56:57 +0100 Subject: [PATCH v2 03/19] gnu: Add python-fann2. * gnu/packages/python-xyz.scm (python-fann2): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2e90f540f4..f05827a1a4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -177,6 +177,7 @@ (define-module (gnu packages python-xyz) #:use-module (gnu packages libidn) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) + #:use-module (gnu packages machine-learning) #:use-module (gnu packages man) #:use-module (gnu packages markup) #:use-module (gnu packages maths) @@ -19134,6 +19135,25 @@ (define-public python-factory-boy current test, while only declaring the test-specific fields") (license license:expat))) +(define-public python-fann2 + (package + (name "python-fann2") + (version "1.0.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "fann2" version)) + (sha256 + (base32 + "17zv6hbq26qg9jmsshx3xnnnv203fr4cyjg4v3rgq38a5i5agv2k")))) + (build-system python-build-system) + (native-inputs (list swig)) + (propagated-inputs (list fann)) + (home-page "https://github.com/FutureLinkCorporation/fann2") + (synopsis "Fast Artificial Neural Network library (FANN) Python bindings") + (description "This package provides Python bindings for Fast Artificial +Neural Networks (FANN) 2.2.0.") + (license license:lgpl2.1))) (define-public python-translate-toolkit (package (name "python-translate-toolkit") -- 2.34.0