From 9c3aa56eaed9be30ee64cdca3b3426bd4dc6851b Mon Sep 17 00:00:00 2001 From: Dennis E. Mungai Date: Fri, 4 Mar 2016 20:27:07 +0300 Subject: Add afnumpy to guix afnumpy is a GPGPU - accelerated drop-in to numpy--- gn/packages/afnumpy.scm | 84 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 gn/packages/afnumpy.scm diff --git a/gn/packages/afnumpy.scm b/gn/packages/afnumpy.scm new file mode 100644 index 0000000..55c05ad --- /dev/null +++ b/gn/packages/afnumpy.scm @@ -0,0 +1,84 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 Dennis Mungai +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gn packages afnumpy) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages) + #:use-module (gnu packages attr) + #:use-module (gnu packages base) + #:use-module (gnu packages compression) + #:use-module (gnu packages databases) + #:use-module (gnu packages fontutils) + #:use-module (gnu packages ghostscript) + #:use-module (gnu packages glib) + #:use-module (gnu packages gnupg) + #:use-module (gnu packages gtk) + #:use-module (gnu packages icu4c) + #:use-module (gnu packages image) + #:use-module (gnu packages libffi) + #:use-module (gnu packages linux) + #:use-module (gnu packages maths) + #:use-module (gnu packages multiprecision) + #:use-module (gnu packages networking) + #:use-module (gnu packages ncurses) + #:use-module (gnu packages pcre) + #:use-module (gnu packages perl) + #:use-module (gnu packages python) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages readline) + #:use-module (gnu packages statistics) + #:use-module (gnu packages texlive) + #:use-module (gnu packages texinfo) + #:use-module (gnu packages tls) + #:use-module (gnu packages web) + #:use-module (gnu packages xml) + #:use-module (gnu packages xorg) + #:use-module (gnu packages zip) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix utils) + #:use-module (guix build-system gnu) + #:use-module (guix build-system python) + #:use-module (guix build-system trivial)) + +(define-public afnumpy +(let ((commit "c5594c1")) +(package + (name "afnumpy") + (version (string-append "rel1-" commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FilipeMaia/afnumpy.git") + (commit commit))) + (file-name (string-append name "-" commit)) + (sha256 + (base32 + "0n30xn8cz0ww7czb3m6dz5sh87khan7ag3vb192narmxj37l8qy7")))) + (build-system python-build-system) + ;; (native-inputs + ;; `(("python-setuptools" ,python-setuptools))) + (arguments + `(#:python ,python-2 + #:tests? #f)) + (home-page "https://github.com/FilipeMaia/afnumpy") + (synopsis "Numerical library array processing of numbers, strings, records and objects") + (description + "A GPGPU-accelerated drop-in of python's numpy") + (license license:gpl2)))) -- cgit v1.2.3