2015-05-28 09:53:14 -04:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2020-04-27 18:24:38 -04:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
|
2021-01-31 07:45:45 -05:00
|
|
|
|
;;; Copyright © 2016, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
|
2020-03-15 08:29:17 -04:00
|
|
|
|
;;; Copyright © 2016, 2017, 2020 Marius Bakke <mbakke@fastmail.com>
|
2017-11-17 16:07:23 -05:00
|
|
|
|
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2020-06-09 21:58:57 -04:00
|
|
|
|
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-05-09 10:01:40 -04:00
|
|
|
|
;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
|
2018-02-01 09:07:58 -05:00
|
|
|
|
;;; Copyright © 2018 Mark Meyer <mark@ofosos.org>
|
|
|
|
|
;;; Copyright © 2018 Ben Woodcroft <donttrustben@gmail.com>
|
2018-04-27 23:47:03 -04:00
|
|
|
|
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
|
gnu: ocaml: Update to 4.7.0.
Update ocaml to the latest version and fixes dependent packages by
updating them or by adding new inputs, such as ocaml-num and ocamlbuild,
that were removed from the core ocaml package. Rename packages that
cannot be built with the new compiler with an ocaml4.02 prefix. Add
ocaml4.02 dependencies.
* gnu/packages/ocaml.scm (ocaml): Update to 4.7.0.
(ocaml-4.02, ocamlbuild, camlp4-4.02, ocaml-num, ocaml4.02-menhir)
(ocaml4.02-lablgtk, ocaml4.02-findlib, ocaml4.02-ounit, ocaml4.02-camlzip)
(ocaml4.02-ocamlmod, ocaml4.02-zarith, ocaml4.02-qcheck, ocaml4.02-qtest)
(ocaml4.02-stringext, ocaml4.02-bisect, dune, ocaml-migrate-parsetree)
(ocaml-ppx-tools-versioned, ocaml-ppx-tools-versioned)
(ocaml4.02-bitstring, ocaml4.02-result, ocaml4.02-topkg, ocaml4.02-rresult)
(ocaml4.02-sqlite3, ocaml4.02-csv, ocaml4.02-mtime, ocaml4.02-cmdliner)
(ocaml4.02-fmt, ocaml4.02-astring, ocaml4.02-alcotest, ocaml4.02-ppx-tools)
(ocaml4.02-react, ocaml4.02-ssl, ocaml4.02-lwt, ocaml-lwt-log)
(ocaml4.02-lwt-log, ocaml4.02-logs, ocaml4.02-fpath, ocaml4.02-bos)
(ocaml4.02-xmlm, ocaml4.02-ulex, ocaml4.02-uchar, ocaml4.02-uutf)
(ocaml4.02-jsonm, ocaml4.02-ocurl, ocaml4.02-base64, ocaml4.02-omake)
(ocaml4.02-batteries, ocaml4.02-pcre, ocaml4.02-oasis)
(ocaml4.02-js-build-tools, ocaml4.02-cppo, ocaml-seq, ocaml4.02-seq)
(ocaml4.02-re, ocaml4.02-ocplib-endian, ocaml4.02-easy-format)
(ocaml4.02-piqilib, ocaml4.02-uuidm, ocaml4.02-graph, ocaml4.02-piqi)
(ocaml4.02-camomile, ocaml4.02-zed, ocaml4.02-lambda-term): New packages.
(opam): Update to 2.0.0.
(camlp4): Update to 4.07+1.
(camlp5): Update to 7.06.
(hevea): Update to 2.32.
(coq)[inputs]: Add ocaml-num.
(emacs-tuareg): Update to 2.2.0.
(ocaml-menhir)[native-inputs]: Add ocamlbuild.
(ocaml-lablgtk): Update to 2.18.6.
(unison)[inputs]: Use ocaml-4.02.
(ocaml-findlib): Update to 1.8.0.
(ocaml-ounit)[native-inputs]: Add ocamlbuild.
(ocamlmod): Update to 0.0.9.
(ocaml-frontc)[arguments]: Use ocaml-4.02.
(ocaml-qcheck)[native-inputs]: Add ocamlbuild.
(ocaml-qtest)[native-inputs]: Remove ocaml-findlib and add ocamlbuild.
(ocaml-stringext)[native-inputs]: Add ocamlbuild.
(ocaml-bisect): Update to 1.3.1.
(ocaml4.01-bisect): Downgrade to 1.3.
(ocaml-bitstring): Update to 3.1.0.
(ocaml-topkg)[native-inputs]: Add ocamlbuild.
(ocaml-rresult)[native-inputs]: Add ocamlbuild.
(ocaml-sqlite3)[native-inputs]: Add ocamlbuild.
(ocaml-csv)[native-inputs]: Add ocamlbuild.
(ocaml-mtime)[native-inputs]: Add ocamlbuild.
(ocaml-cmdliner)[native-inputs]: Add ocamlbuild.
(ocaml-fmt)[native-inputs]: Add ocamlbuild.
(ocaml-astring)[native-inputs]: Add ocamlbuild.
(ocaml-alcotest)[native-inputs]: Add ocamlbuild.
(ocaml-ppx-tools)[native-inputs]: Add ocamlbuild.
(ocaml-react)[native-inputs]: Add ocamlbuild.
(ocaml-ssl)[arguments]: Return #t in phases.
(ocaml-lwt): Update to 4.1.0.
(ocaml-logs)[native-inputs]: Add ocamlbuild.
(ocaml-fpath)[native-inputs]: Add ocamlbuild.
(ocaml-bos)[native-inputs]: Add ocamlbuild.
(ocaml-xmlm): Update to 1.3.0.
(ocaml-ulex): Update to 1.2.0.
(ocaml-uchar)[native-inputs]: Add ocamlbuild.
(ocaml-uutf): Update to 1.0.1.
(ocaml-jsonm): Update to 1.0.1.
(ocaml-ocurl): Update to 0.8.2.
(ocaml-base64)[native-inputs]: Add ocamlbuild.
(ocamlify)[native-inputs]: Use ocaml-4.02.
(omake): Update to 0.10.3.
(ocaml-batteries): Update to 2.9.0.
(ocaml-pcre)[native-inputs]: Add ocamlbuild.
(ocaml-expect): Update 0.0.6.
(ocaml4.02-fileutils): Update to 0.5.3.
(ocaml-oasis): Update 0.4.11.
(ocaml-js-build-tools)[native-inputs]: Add ocamlbuild.
(ocaml-bin-prot): Rename to ocaml4.02-bin-prot.
(ocaml-fieldslib): Rename to ocaml4.02-fieldslib.
(ocaml-ppx-core): Rename to ocaml4.02-ppx-core.
(ocaml-ppx-optcomp): Rename to ocaml4.02-ppx-optcomp.
(ocaml-ppx-driver): Rename to ocaml4.02-ppx-driver.
(ocaml-cppo): Update to 1.6.5.
(ocaml-ppx-deriving): Rename to ocaml4.02-ppx-deriving.
(ocaml-ppx-type-conv): Rename to ocaml4.02-ppx-type-conv.
(ocaml-ppx-inline-test): Rename to ocaml4.02-ppx-inline-test.
(ocaml-ppx-bench): Rename to ocaml4.02-ppx-bench.
(ocaml-ppx-compare): Rename to ocaml4.02-ppx-compare.
(ocaml-sexplib): Rename to ocaml4.02-sexplib.
(ocaml-typerep): Rename to ocaml4.02-typerep.
(ocaml-variantslib): Rename to ocaml4.02-variantslib.
(ocaml-ppx-sexp-conv): Rename to ocaml4.02-ppx-sexp-conv.
(ocaml-ppx-variants-conv): Rename to ocaml4.02-ppx-variants-conv.
(ocaml-ppx-here): Rename to ocaml4.02-ppx-here.
(ocaml-ppx-assert): Rename to ocaml4.02-ppx-assert.
(ocaml-ppx-enumerate): Rename to ocaml4.02-ppx-enumerate.
(ocaml-ppx-let): Rename to ocaml4.02-ppx-let.
(ocaml-ppx-typerep-conv): Rename to ocaml4.02-ppx-typerep-conv.
(ocaml-ppx-sexp-value): Rename to ocaml4.02-ppx-sexp-value.
(ocaml-ppx-pipebang): Rename to ocaml4.02-ppx-pipebang.
(ocaml-ppx-bin-prot): Rename to ocaml4.02-ppx-bin-prot.
(ocaml-ppx-fail): Rename to ocaml4.02-ppx-fail.
(ocaml-ppx-custom-printf): Rename to ocaml4.02-ppx-custom-printf.
(ocaml-ppx-sexp-message): Rename to ocaml4.02-ppx-sexp-message.
(ocaml-ppx-fields-conv): Rename to ocaml4.02-ppx-fields-conv.
(ocaml-re): Update to 1.8.0.
(ocaml-ppx-expect): Rename to ocaml4.02-ppx-expect.
(ocaml-ppx-jane): Rename to ocaml4.02-ppx-jane.
(ocaml-core-kernel): Rename to ocaml4.02-core-kernel.
(ocaml-async-kernel): Rename to ocaml4.02-async-kernel.
(ocaml-async-rpc-kernel): Rename to ocaml4.02-async-rpc-kernel.
(ocaml-core): Rename to ocaml4.02-core.
(ocaml-async-unix): Rename to ocaml4.02-async-unix.
(ocaml-async-extra): Rename to ocaml4.02-async-extra.
(ocaml-async): Rename to ocaml4.02-async.
(ocaml-ocplib-endian)[native-inputs]: Update to 1.0.
(ocaml-cstruct): Rename to ocaml4.02-cstruct.
(ocaml-hex): Rename to ocaml4.02-hex.
(ocaml-ezjsonm): Rename to ocaml4.02-ezjsonm.
(ocaml-uri): Rename to ocaml4.02-uri.
(optcomp): Use ocaml-4.02.
(ocaml-piqilib): Update to 0.6.14.
(ocaml-uuidm)[native-inputs]: Add ocamlbuild.
(ocaml-graph): Update to 1.8.8.
(ocaml-piqi): Update to 0.7.6.
(bap): Update to 1.3.0.
(ocaml-camomile): Update to 1.0.1.
(ocaml-jbuilder): Use ocaml-4.02.
(ocaml-lambda-term): Update to 1.13.
(ocaml-utop): Update to 2.2.0.
(ocaml-integers)[native-inputs]: Add ocamlbuild.
(ocaml-ctypes): Update to 0.14.0.
(ocaml-ocb-stubblr)[native-inputs]: Add ocamlbuild.
(ocaml-tsdl)[native-inputs]: Add ocamlbuild.
* gnu/packages/machine-learning.scm (ocaml-mcl): Use ocaml-4.02.
* gnu/packages/maths.scm (cubicle): Update to 1.1.2.
* gnu/packages/patches/ocaml-bisect-fix-camlp4-in-another-directory.patch:
Update patch.
* guix/build-system/ocaml.scm: (default-ocaml4.02, default-ocaml4.02-findlib)
(package-with-ocaml4.02, strip-ocaml4.02-variant): New variables.
2018-11-17 11:55:44 -05:00
|
|
|
|
;;; Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
|
2018-11-27 01:41:12 -05:00
|
|
|
|
;;; Copyright © 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
|
2019-06-18 11:58:31 -04:00
|
|
|
|
;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2020-06-07 04:40:48 -04:00
|
|
|
|
;;; Copyright © 2019, 2020 Guillaume Le Vaillant <glv@posteo.net>
|
2019-12-23 18:28:46 -05:00
|
|
|
|
;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
|
2020-04-24 08:36:20 -04:00
|
|
|
|
;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net>
|
2020-05-26 07:21:19 -04:00
|
|
|
|
;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
|
2020-08-01 10:43:21 -04:00
|
|
|
|
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
|
2020-10-05 01:31:07 -04:00
|
|
|
|
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2015-05-28 09:53:14 -04:00
|
|
|
|
;;;
|
|
|
|
|
;;; 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 <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages machine-learning)
|
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix utils)
|
|
|
|
|
#:use-module (guix download)
|
2016-05-23 06:52:00 -04:00
|
|
|
|
#:use-module (guix svn-download)
|
2015-08-14 10:48:52 -04:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2015-05-28 09:53:14 -04:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2017-03-17 07:24:13 -04:00
|
|
|
|
#:use-module (guix build-system ocaml)
|
2017-11-17 16:07:23 -05:00
|
|
|
|
#:use-module (guix build-system python)
|
2015-12-17 10:28:25 -05:00
|
|
|
|
#:use-module (guix build-system r)
|
2018-02-01 09:07:58 -05:00
|
|
|
|
#:use-module (guix git-download)
|
2015-06-02 09:10:37 -04:00
|
|
|
|
#:use-module (gnu packages)
|
2018-11-26 10:42:40 -05:00
|
|
|
|
#:use-module (gnu packages adns)
|
2018-05-16 11:56:18 -04:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2019-03-13 14:30:19 -04:00
|
|
|
|
#:use-module (gnu packages audio)
|
2016-05-23 06:52:00 -04:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2019-03-13 14:30:19 -04:00
|
|
|
|
#:use-module (gnu packages base)
|
2019-03-14 18:30:37 -04:00
|
|
|
|
#:use-module (gnu packages bash)
|
2015-06-02 09:47:22 -04:00
|
|
|
|
#:use-module (gnu packages boost)
|
2017-11-17 16:07:23 -05:00
|
|
|
|
#:use-module (gnu packages check)
|
2015-06-02 09:47:22 -04:00
|
|
|
|
#:use-module (gnu packages compression)
|
2020-08-01 10:43:21 -04:00
|
|
|
|
#:use-module (gnu packages cmake)
|
2017-08-03 16:14:48 -04:00
|
|
|
|
#:use-module (gnu packages cran)
|
2019-04-08 08:45:47 -04:00
|
|
|
|
#:use-module (gnu packages databases)
|
2016-05-23 06:52:00 -04:00
|
|
|
|
#:use-module (gnu packages dejagnu)
|
2015-06-02 09:47:22 -04:00
|
|
|
|
#:use-module (gnu packages gcc)
|
2019-03-13 14:30:19 -04:00
|
|
|
|
#:use-module (gnu packages glib)
|
2019-06-19 08:26:45 -04:00
|
|
|
|
#:use-module (gnu packages graphviz)
|
2019-03-13 14:30:19 -04:00
|
|
|
|
#:use-module (gnu packages gstreamer)
|
2016-08-13 06:26:10 -04:00
|
|
|
|
#:use-module (gnu packages image)
|
2019-03-13 14:30:19 -04:00
|
|
|
|
#:use-module (gnu packages linux)
|
2020-11-23 10:38:13 -05:00
|
|
|
|
#:use-module (gnu packages llvm)
|
2015-06-02 09:47:22 -04:00
|
|
|
|
#:use-module (gnu packages maths)
|
2018-06-12 06:01:16 -04:00
|
|
|
|
#:use-module (gnu packages mpi)
|
2017-03-17 07:24:13 -04:00
|
|
|
|
#:use-module (gnu packages ocaml)
|
2018-06-26 21:02:00 -04:00
|
|
|
|
#:use-module (gnu packages onc-rpc)
|
2016-07-12 01:56:07 -04:00
|
|
|
|
#:use-module (gnu packages perl)
|
2015-08-14 10:48:52 -04:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2018-11-26 10:42:40 -05:00
|
|
|
|
#:use-module (gnu packages protobuf)
|
2015-06-02 09:47:22 -04:00
|
|
|
|
#:use-module (gnu packages python)
|
2021-01-14 16:27:39 -05:00
|
|
|
|
#:use-module (gnu packages python-build)
|
2020-08-01 10:43:21 -04:00
|
|
|
|
#:use-module (gnu packages python-check)
|
2019-12-02 08:04:39 -05:00
|
|
|
|
#:use-module (gnu packages python-science)
|
2019-03-17 05:09:56 -04:00
|
|
|
|
#:use-module (gnu packages python-web)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 08:21:30 -05:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2020-03-21 07:17:11 -04:00
|
|
|
|
#:use-module (gnu packages rpc)
|
2019-04-08 08:45:47 -04:00
|
|
|
|
#:use-module (gnu packages serialization)
|
2019-06-19 08:26:45 -04:00
|
|
|
|
#:use-module (gnu packages sphinx)
|
2015-08-14 10:48:52 -04:00
|
|
|
|
#:use-module (gnu packages statistics)
|
2019-04-08 08:45:47 -04:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2015-08-14 10:48:52 -04:00
|
|
|
|
#:use-module (gnu packages swig)
|
2019-03-14 18:30:37 -04:00
|
|
|
|
#:use-module (gnu packages web)
|
2016-08-13 06:26:10 -04:00
|
|
|
|
#:use-module (gnu packages xml)
|
2018-05-08 10:18:52 -04:00
|
|
|
|
#:use-module (gnu packages xorg)
|
|
|
|
|
#:use-module (ice-9 match))
|
2015-05-28 09:53:14 -04:00
|
|
|
|
|
2018-02-01 09:07:58 -05:00
|
|
|
|
(define-public fann
|
|
|
|
|
;; The last release is >100 commits behind, so we package from git.
|
|
|
|
|
(let ((commit "d71d54788bee56ba4cf7522801270152da5209d7"))
|
|
|
|
|
(package
|
|
|
|
|
(name "fann")
|
|
|
|
|
(version (string-append "2.2.0-1." (string-take commit 8)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/libfann/fann")
|
2018-02-01 09:07:58 -05:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0ibwpfrjs6q2lijs8slxjgzb2llcl6rk3v2ski4r6215g5jjhg3x"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
|
(with-directory-excursion (string-append (getcwd) "/tests")
|
|
|
|
|
(invoke "./fann_tests"))))))))
|
|
|
|
|
(home-page "http://leenissen.dk/fann/wp/")
|
|
|
|
|
(synopsis "Fast Artificial Neural Network")
|
|
|
|
|
(description
|
2019-10-12 08:55:29 -04:00
|
|
|
|
"FANN is a neural network library, which implements multilayer
|
|
|
|
|
artificial neural networks in C with support for both fully connected and
|
|
|
|
|
sparsely connected networks.")
|
2018-02-01 09:07:58 -05:00
|
|
|
|
(license license:lgpl2.1))))
|
|
|
|
|
|
2015-05-28 09:53:14 -04:00
|
|
|
|
(define-public libsvm
|
|
|
|
|
(package
|
|
|
|
|
(name "libsvm")
|
2019-04-24 12:18:07 -04:00
|
|
|
|
(version "3.23")
|
2015-05-28 09:53:14 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-01-09 21:53:16 -05:00
|
|
|
|
(uri (string-append "https://www.csie.ntu.edu.tw/~cjlin/libsvm/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
2015-05-28 09:53:14 -04:00
|
|
|
|
(sha256
|
2019-04-24 12:18:07 -04:00
|
|
|
|
(base32 "0jpaq0rr92x38p4nk3gjan79ip67m6p80anb28z1d8601miysyi5"))))
|
2015-05-28 09:53:14 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-04-24 12:18:07 -04:00
|
|
|
|
`(#:tests? #f ; no "check" target
|
2015-05-28 09:53:14 -04:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace
|
2018-01-09 21:53:16 -05:00
|
|
|
|
'install ; no ‘install’ target
|
2015-05-28 09:53:14 -04:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin/")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(copy-file file (string-append bin file)))
|
|
|
|
|
'("svm-train"
|
|
|
|
|
"svm-predict"
|
|
|
|
|
"svm-scale")))
|
|
|
|
|
#t)))))
|
2020-01-18 15:25:36 -05:00
|
|
|
|
(home-page "https://www.csie.ntu.edu.tw/~cjlin/libsvm/")
|
2015-05-28 09:53:14 -04:00
|
|
|
|
(synopsis "Library for Support Vector Machines")
|
|
|
|
|
(description
|
|
|
|
|
"LIBSVM is a machine learning library for support vector
|
|
|
|
|
classification, (C-SVC, nu-SVC), regression (epsilon-SVR, nu-SVR) and
|
|
|
|
|
distribution estimation (one-class SVM). It supports multi-class
|
|
|
|
|
classification.")
|
|
|
|
|
(license license:bsd-3)))
|
2015-06-02 09:10:37 -04:00
|
|
|
|
|
|
|
|
|
(define-public python-libsvm
|
|
|
|
|
(package (inherit libsvm)
|
|
|
|
|
(name "python-libsvm")
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-04-24 12:18:07 -04:00
|
|
|
|
`(#:tests? #f ; no "check" target
|
2015-06-02 09:10:37 -04:00
|
|
|
|
#:make-flags '("-C" "python")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace
|
2018-01-09 21:53:16 -05:00
|
|
|
|
'install ; no ‘install’ target
|
2015-06-02 09:10:37 -04:00
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((site (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/lib/python"
|
|
|
|
|
(string-take
|
|
|
|
|
(string-take-right
|
|
|
|
|
(assoc-ref inputs "python") 5) 3)
|
|
|
|
|
"/site-packages/")))
|
|
|
|
|
(substitute* "python/svm.py"
|
|
|
|
|
(("../libsvm.so.2") "libsvm.so.2"))
|
|
|
|
|
(mkdir-p site)
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(copy-file file (string-append site (basename file))))
|
|
|
|
|
(find-files "python" "\\.py"))
|
|
|
|
|
(copy-file "libsvm.so.2"
|
|
|
|
|
(string-append site "libsvm.so.2")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python)))
|
|
|
|
|
(synopsis "Python bindings of libSVM")))
|
2015-06-02 09:47:22 -04:00
|
|
|
|
|
2016-05-23 06:52:00 -04:00
|
|
|
|
(define-public ghmm
|
|
|
|
|
;; The latest release candidate is several years and a couple of fixes have
|
|
|
|
|
;; been published since. This is why we download the sources from the SVN
|
|
|
|
|
;; repository.
|
|
|
|
|
(let ((svn-revision 2341))
|
|
|
|
|
(package
|
|
|
|
|
(name "ghmm")
|
|
|
|
|
(version (string-append "0.9-rc3-0." (number->string svn-revision)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method svn-fetch)
|
|
|
|
|
(uri (svn-reference
|
|
|
|
|
(url "http://svn.code.sf.net/p/ghmm/code/trunk")
|
|
|
|
|
(revision svn-revision)))
|
2019-08-07 12:34:11 -04:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
2016-05-23 06:52:00 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0qbq1rqp94l530f043qzp8aw5lj7dng9wq0miffd7spd1ff638wq"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2016-10-03 13:12:08 -04:00
|
|
|
|
`(#:imported-modules (,@%gnu-build-system-modules
|
|
|
|
|
(guix build python-build-system))
|
2020-01-26 10:18:20 -05:00
|
|
|
|
#:modules ((guix build python-build-system)
|
|
|
|
|
,@%gnu-build-system-modules)
|
2016-10-03 13:12:08 -04:00
|
|
|
|
#:phases
|
2016-05-23 06:52:00 -04:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-dir
|
|
|
|
|
(lambda _ (chdir "ghmm") #t))
|
2016-10-03 13:12:08 -04:00
|
|
|
|
(delete 'check)
|
|
|
|
|
(add-after 'install 'check
|
|
|
|
|
(assoc-ref %standard-phases 'check))
|
|
|
|
|
(add-before 'check 'fix-PYTHONPATH
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2019-06-21 12:11:25 -04:00
|
|
|
|
(let ((python-version (python-version
|
2016-10-03 13:12:08 -04:00
|
|
|
|
(assoc-ref inputs "python"))))
|
|
|
|
|
(setenv "PYTHONPATH"
|
|
|
|
|
(string-append (getenv "PYTHONPATH")
|
|
|
|
|
":" (assoc-ref outputs "out")
|
|
|
|
|
"/lib/python" python-version
|
|
|
|
|
"/site-packages")))
|
2016-05-23 06:52:00 -04:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'enter-dir 'fix-runpath
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "ghmmwrapper/setup.py"
|
|
|
|
|
(("^(.*)extra_compile_args = \\[" line indent)
|
|
|
|
|
(string-append indent
|
|
|
|
|
"extra_link_args = [\"-Wl,-rpath="
|
|
|
|
|
(assoc-ref outputs "out") "/lib\"],\n"
|
|
|
|
|
line
|
|
|
|
|
"\"-Wl,-rpath="
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/lib\", ")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'enter-dir 'disable-broken-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/Makefile.am"
|
|
|
|
|
;; GHMM_SILENT_TESTS is assumed to be a command.
|
|
|
|
|
(("TESTS_ENVIRONMENT.*") "")
|
|
|
|
|
;; Do not build broken tests.
|
|
|
|
|
(("chmm .*") "")
|
|
|
|
|
(("read_fa .*") "")
|
|
|
|
|
(("mcmc .*") "")
|
|
|
|
|
(("label_higher_order_test.*$")
|
|
|
|
|
"label_higher_order_test\n"))
|
|
|
|
|
|
|
|
|
|
;; These Python unittests are broken as there is no gato.
|
|
|
|
|
;; See https://sourceforge.net/p/ghmm/support-requests/3/
|
|
|
|
|
(substitute* "ghmmwrapper/ghmmunittests.py"
|
|
|
|
|
(("^(.*)def (testNewXML|testMultipleTransitionClasses|testNewXML)"
|
|
|
|
|
line indent)
|
|
|
|
|
(string-append indent
|
|
|
|
|
"@unittest.skip(\"Disabled by Guix\")\n"
|
|
|
|
|
line)))
|
2019-08-07 12:34:40 -04:00
|
|
|
|
#t)))))
|
2016-05-23 06:52:00 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python-2) ; only Python 2 is supported
|
|
|
|
|
("libxml2" ,libxml2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("dejagnu" ,dejagnu)
|
|
|
|
|
("swig" ,swig)
|
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)))
|
|
|
|
|
(home-page "http://ghmm.org")
|
|
|
|
|
(synopsis "Hidden Markov Model library")
|
|
|
|
|
(description
|
|
|
|
|
"The General Hidden Markov Model library (GHMM) is a C library with
|
|
|
|
|
additional Python bindings implementing a wide range of types of @dfn{Hidden
|
2017-04-16 12:06:57 -04:00
|
|
|
|
Markov Models} (HMM) and algorithms: discrete, continuous emissions, basic
|
2016-05-23 06:52:00 -04:00
|
|
|
|
training, HMM clustering, HMM mixtures.")
|
|
|
|
|
(license license:lgpl2.0+))))
|
|
|
|
|
|
2016-07-12 01:56:07 -04:00
|
|
|
|
(define-public mcl
|
|
|
|
|
(package
|
|
|
|
|
(name "mcl")
|
|
|
|
|
(version "14.137")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://micans.org/mcl/src/mcl-"
|
|
|
|
|
(string-replace-substring version "." "-")
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"15xlax3z31lsn62vlg94hkm75nm40q4679amnfg13jm8m2bnhy5m"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags (list "--enable-blast")))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl" ,perl)))
|
|
|
|
|
(home-page "http://micans.org/mcl/")
|
|
|
|
|
(synopsis "Clustering algorithm for graphs")
|
|
|
|
|
(description
|
|
|
|
|
"The MCL algorithm is short for the @dfn{Markov Cluster Algorithm}, a
|
|
|
|
|
fast and scalable unsupervised cluster algorithm for graphs (also known as
|
|
|
|
|
networks) based on simulation of (stochastic) flow in graphs.")
|
|
|
|
|
;; In the LICENCE file and web page it says "The software is licensed
|
|
|
|
|
;; under the GNU General Public License, version 3.", but in several of
|
|
|
|
|
;; the source code files it suggests GPL3 or later.
|
|
|
|
|
;; http://listserver.ebi.ac.uk/pipermail/mcl-users/2016/000376.html
|
|
|
|
|
(license license:gpl3)))
|
|
|
|
|
|
2017-03-17 07:24:13 -04:00
|
|
|
|
(define-public ocaml-mcl
|
|
|
|
|
(package
|
|
|
|
|
(name "ocaml-mcl")
|
|
|
|
|
(version "12-068oasis4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-04-11 11:17:26 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/fhcrc/mcl")
|
2019-04-11 11:17:26 -04:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-03-17 07:24:13 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-04-11 11:17:26 -04:00
|
|
|
|
"0009dc3h2jp3qg5val452wngpqnbfyhbcxylghq0mrjqxx0jdq5p"))))
|
2017-03-17 07:24:13 -04:00
|
|
|
|
(build-system ocaml-build-system)
|
|
|
|
|
(arguments
|
2019-04-11 11:03:23 -04:00
|
|
|
|
`(#:phases
|
2017-03-17 07:24:13 -04:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'patch-paths
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "setup.ml"
|
|
|
|
|
(("LDFLAGS=-fPIC")
|
2019-04-11 11:03:23 -04:00
|
|
|
|
(string-append "LDFLAGS=-fPIC\"; \"SHELL=" (which "sh")))
|
|
|
|
|
(("-std=c89") "-std=gnu99")
|
|
|
|
|
|
|
|
|
|
;; This is a mutable string, which is no longer supported. Use
|
|
|
|
|
;; a byte buffer instead.
|
|
|
|
|
(("String.make \\(String.length s\\)")
|
|
|
|
|
"Bytes.make (String.length s)")
|
|
|
|
|
|
|
|
|
|
;; These two belong together.
|
|
|
|
|
(("OASISString.replace_chars")
|
|
|
|
|
"Bytes.to_string (OASISString.replace_chars")
|
|
|
|
|
((" s;")
|
|
|
|
|
" s);"))
|
|
|
|
|
(substitute* "myocamlbuild.ml"
|
|
|
|
|
(("std=c89") "std=gnu99"))
|
|
|
|
|
;; Since we build with a more recent OCaml, we have to use C99 or
|
|
|
|
|
;; later. This causes problems with the old C code.
|
|
|
|
|
(substitute* "src/impala/matrix.c"
|
|
|
|
|
(("restrict") "restrict_"))
|
2017-03-17 07:24:13 -04:00
|
|
|
|
#t)))))
|
2019-04-11 11:03:23 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("ocamlbuild" ,ocamlbuild)))
|
2017-03-17 07:24:13 -04:00
|
|
|
|
(home-page "https://github.com/fhcrc/mcl")
|
|
|
|
|
(synopsis "OCaml wrappers around MCL")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides OCaml bindings for the MCL graph clustering
|
|
|
|
|
algorithm.")
|
|
|
|
|
(license license:gpl3)))
|
|
|
|
|
|
2015-06-02 09:47:22 -04:00
|
|
|
|
(define-public randomjungle
|
|
|
|
|
(package
|
|
|
|
|
(name "randomjungle")
|
|
|
|
|
(version "2.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2018-11-27 01:41:12 -05:00
|
|
|
|
"https://www.imbs.uni-luebeck.de/fileadmin/files/Software"
|
|
|
|
|
"/randomjungle/randomjungle-" version ".tar_.gz"))
|
2018-11-25 14:36:44 -05:00
|
|
|
|
(patches (search-patches "randomjungle-disable-static-build.patch"))
|
2015-06-02 09:47:22 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"12c8rf30cla71swx2mf4ww9mfd8jbdw5lnxd7dxhyw1ygrvg6y4w"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2018-11-25 14:36:44 -05:00
|
|
|
|
(list "--disable-static"
|
|
|
|
|
(string-append "--with-boost="
|
2015-06-02 09:47:22 -04:00
|
|
|
|
(assoc-ref %build-inputs "boost")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before
|
|
|
|
|
'configure 'set-CXXFLAGS
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CXXFLAGS" "-fpermissive ")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("gsl" ,gsl)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
2016-05-25 14:48:22 -04:00
|
|
|
|
`(("gfortran" ,gfortran)
|
|
|
|
|
("gfortran:lib" ,gfortran "lib")))
|
2016-09-23 02:22:09 -04:00
|
|
|
|
;; Non-portable assembly instructions are used so building fails on
|
|
|
|
|
;; platforms other than x86_64 or i686.
|
|
|
|
|
(supported-systems '("x86_64-linux" "i686-linux"))
|
2018-11-27 01:41:12 -05:00
|
|
|
|
(home-page "https://www.imbs.uni-luebeck.de/forschung/software/details.html#c224")
|
2015-06-02 09:47:22 -04:00
|
|
|
|
(synopsis "Implementation of the Random Forests machine learning method")
|
|
|
|
|
(description
|
|
|
|
|
"Random Jungle is an implementation of Random Forests. It is supposed to
|
|
|
|
|
analyse high dimensional data. In genetics, it can be used for analysing big
|
|
|
|
|
Genome Wide Association (GWA) data. Random Forests is a powerful machine
|
|
|
|
|
learning method. Most interesting features are variable selection, missing
|
|
|
|
|
value imputation, classifier creation, generalization error estimation and
|
|
|
|
|
sample proximities between pairs of cases.")
|
|
|
|
|
(license license:gpl3+)))
|
2015-08-14 10:48:52 -04:00
|
|
|
|
|
2019-03-09 04:43:18 -05:00
|
|
|
|
(define-public openfst
|
|
|
|
|
(package
|
|
|
|
|
(name "openfst")
|
2020-08-10 21:15:07 -04:00
|
|
|
|
(version "1.7.9")
|
2019-03-09 04:43:18 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.openfst.org/twiki/pub/FST/"
|
|
|
|
|
"FstDownload/openfst-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-08-10 21:15:07 -04:00
|
|
|
|
"1pmx1yhn2gknj0an0zwqmzgwjaycapi896244np50a8y3nrsw6ck"))))
|
2019-03-09 04:43:18 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://www.openfst.org")
|
|
|
|
|
(synopsis "Library for weighted finite-state transducers")
|
|
|
|
|
(description "OpenFst is a library for constructing, combining,
|
|
|
|
|
optimizing, and searching weighted finite-state transducers (FSTs).")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2015-08-14 10:48:52 -04:00
|
|
|
|
(define-public shogun
|
|
|
|
|
(package
|
|
|
|
|
(name "shogun")
|
2018-05-16 11:56:18 -04:00
|
|
|
|
(version "6.1.3")
|
2015-08-14 10:48:52 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"ftp://shogun-toolbox.org/shogun/releases/"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/sources/shogun-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-05-16 11:56:18 -04:00
|
|
|
|
"1rn9skm3nw6hr7mr3lgp2gfqhi7ii0lyxck7qmqnf8avq349s5jp"))
|
2015-08-14 10:48:52 -04:00
|
|
|
|
(modules '((guix build utils)
|
|
|
|
|
(ice-9 rdelim)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove non-free sources and files referencing them
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
(find-files "src/shogun/classifier/svm/"
|
|
|
|
|
"SVMLight\\.(cpp|h)"))
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
(find-files "examples/undocumented/libshogun/"
|
|
|
|
|
(string-append
|
|
|
|
|
"(classifier_.*svmlight.*|"
|
|
|
|
|
"evaluation_cross_validation_locked_comparison).cpp")))
|
|
|
|
|
;; Remove non-free functions.
|
|
|
|
|
(define (delete-ifdefs file)
|
|
|
|
|
(with-atomic-file-replacement file
|
|
|
|
|
(lambda (in out)
|
|
|
|
|
(let loop ((line (read-line in 'concat))
|
|
|
|
|
(skipping? #f))
|
|
|
|
|
(if (eof-object? line)
|
|
|
|
|
#t
|
|
|
|
|
(let ((skip-next?
|
|
|
|
|
(or (and skipping?
|
|
|
|
|
(not (string-prefix?
|
|
|
|
|
"#endif //USE_SVMLIGHT" line)))
|
|
|
|
|
(string-prefix?
|
|
|
|
|
"#ifdef USE_SVMLIGHT" line))))
|
|
|
|
|
(when (or (not skipping?)
|
|
|
|
|
(and skipping? (not skip-next?)))
|
|
|
|
|
(display line out))
|
|
|
|
|
(loop (read-line in 'concat) skip-next?)))))))
|
2018-05-16 11:56:18 -04:00
|
|
|
|
(for-each delete-ifdefs
|
|
|
|
|
(append
|
|
|
|
|
(find-files "src/shogun/classifier/mkl"
|
|
|
|
|
"^MKLClassification\\.cpp")
|
|
|
|
|
(find-files "src/shogun/classifier/svm"
|
|
|
|
|
"^SVMLightOneClass\\.(cpp|h)")
|
|
|
|
|
(find-files "src/shogun/multiclass"
|
|
|
|
|
"^ScatterSVM\\.(cpp|h)")
|
|
|
|
|
(find-files "src/shogun/kernel/"
|
|
|
|
|
"^(Kernel|CombinedKernel|ProductKernel)\\.(cpp|h)")
|
|
|
|
|
(find-files "src/shogun/regression/svr"
|
|
|
|
|
"^(MKLRegression|SVRLight)\\.(cpp|h)")
|
|
|
|
|
(find-files "src/shogun/transfer/domain_adaptation"
|
2018-05-29 21:20:47 -04:00
|
|
|
|
"^DomainAdaptationSVM\\.(cpp|h)")))
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 07:47:34 -04:00
|
|
|
|
#t))))
|
2015-08-14 10:48:52 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ;no check target
|
|
|
|
|
#:phases
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'delete-broken-symlinks
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each delete-file '("applications/arts/data"
|
|
|
|
|
"applications/asp/data"
|
|
|
|
|
"applications/easysvm/data"
|
|
|
|
|
"applications/msplicer/data"
|
|
|
|
|
"applications/ocr/data"
|
2018-05-16 11:56:18 -04:00
|
|
|
|
"examples/meta/data"
|
|
|
|
|
"examples/undocumented/data"))
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'change-R-target-path
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2018-05-16 11:56:18 -04:00
|
|
|
|
(substitute* '("src/interfaces/r/CMakeLists.txt"
|
|
|
|
|
"examples/meta/r/CMakeLists.txt")
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
(("\\$\\{R_COMPONENT_LIB_PATH\\}")
|
|
|
|
|
(string-append (assoc-ref outputs "out")
|
|
|
|
|
"/lib/R/library/")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'fix-octave-modules
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2018-05-16 11:56:18 -04:00
|
|
|
|
(substitute* "src/interfaces/octave/CMakeLists.txt"
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
(("^include_directories\\(\\$\\{OCTAVE_INCLUDE_DIRS\\}")
|
2018-05-16 11:56:18 -04:00
|
|
|
|
"include_directories(${OCTAVE_INCLUDE_DIRS} ${OCTAVE_INCLUDE_DIRS}/octave")
|
|
|
|
|
;; change target directory
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
(("\\$\\{OCTAVE_OCT_LOCAL_API_FILE_DIR\\}")
|
|
|
|
|
(string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/octave/packages")))
|
2018-05-16 11:56:18 -04:00
|
|
|
|
(substitute* '("src/interfaces/octave/swig_typemaps.i"
|
|
|
|
|
"src/interfaces/octave/sg_print_functions.cpp")
|
|
|
|
|
;; "octave/config.h" and "octave/oct-obj.h" deprecated in Octave.
|
|
|
|
|
(("octave/config\\.h") "octave/octave-config.h")
|
|
|
|
|
(("octave/oct-obj.h") "octave/ovl.h"))
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
#t))
|
2018-05-16 11:56:18 -04:00
|
|
|
|
(add-after 'unpack 'move-rxcpp
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((rxcpp-dir "shogun/third-party/rxcpp"))
|
|
|
|
|
(mkdir-p rxcpp-dir)
|
|
|
|
|
(install-file (assoc-ref inputs "rxcpp") rxcpp-dir)
|
|
|
|
|
#t)))
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
(add-before 'build 'set-HOME
|
2015-08-14 10:48:52 -04:00
|
|
|
|
;; $HOME needs to be set at some point during the build phase
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
(lambda _ (setenv "HOME" "/tmp") #t)))
|
2015-08-14 10:48:52 -04:00
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE"
|
|
|
|
|
"-DUSE_SVMLIGHT=OFF" ;disable proprietary SVMLIGHT
|
2018-05-16 11:56:18 -04:00
|
|
|
|
"-DBUILD_META_EXAMPLES=OFF" ;requires unpackaged ctags
|
|
|
|
|
;;"-DINTERFACE_JAVA=ON" ;requires unpackaged jblas
|
|
|
|
|
;;"-DINTERFACE_RUBY=ON" ;requires unpackaged ruby-narray
|
|
|
|
|
;;"-DINTERFACE_PERL=ON" ;"FindPerlLibs" does not exist
|
|
|
|
|
;;"-DINTERFACE_LUA=ON" ;fails because lua doesn't build pkgconfig file
|
|
|
|
|
"-DINTERFACE_OCTAVE=ON"
|
|
|
|
|
"-DINTERFACE_PYTHON=ON"
|
|
|
|
|
"-DINTERFACE_R=ON")))
|
2015-08-14 10:48:52 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python)
|
|
|
|
|
("numpy" ,python-numpy)
|
2017-03-17 04:42:22 -04:00
|
|
|
|
("r-minimal" ,r-minimal)
|
2018-12-01 23:15:14 -05:00
|
|
|
|
("octave" ,octave-cli)
|
2015-08-14 10:48:52 -04:00
|
|
|
|
("swig" ,swig)
|
2018-05-16 11:56:18 -04:00
|
|
|
|
("eigen" ,eigen)
|
2015-08-14 10:48:52 -04:00
|
|
|
|
("hdf5" ,hdf5)
|
|
|
|
|
("atlas" ,atlas)
|
|
|
|
|
("arpack" ,arpack-ng)
|
|
|
|
|
("lapack" ,lapack)
|
|
|
|
|
("glpk" ,glpk)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("lzo" ,lzo)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
2018-05-16 11:56:18 -04:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("rxcpp" ,rxcpp)))
|
2015-11-02 08:08:45 -05:00
|
|
|
|
;; Non-portable SSE instructions are used so building fails on platforms
|
|
|
|
|
;; other than x86_64.
|
|
|
|
|
(supported-systems '("x86_64-linux"))
|
2020-01-18 17:20:45 -05:00
|
|
|
|
(home-page "https://shogun-toolbox.org/")
|
2015-08-14 10:48:52 -04:00
|
|
|
|
(synopsis "Machine learning toolbox")
|
|
|
|
|
(description
|
|
|
|
|
"The Shogun Machine learning toolbox provides a wide range of unified and
|
2020-04-12 16:28:22 -04:00
|
|
|
|
efficient Machine Learning (ML) methods. The toolbox seamlessly
|
|
|
|
|
combines multiple data representations, algorithm classes, and general purpose
|
2015-08-14 10:48:52 -04:00
|
|
|
|
tools. This enables both rapid prototyping of data pipelines and extensibility
|
|
|
|
|
in terms of new algorithms.")
|
|
|
|
|
(license license:gpl3+)))
|
2015-12-17 10:28:25 -05:00
|
|
|
|
|
2020-08-01 10:43:21 -04:00
|
|
|
|
(define-public python-onnx
|
|
|
|
|
(package
|
|
|
|
|
(name "python-onnx")
|
2020-12-12 15:13:26 -05:00
|
|
|
|
(version "1.8.0")
|
2020-08-01 10:43:21 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "onnx" version))
|
|
|
|
|
;; ONNX will build googletest from a git checkout. Patch CMake
|
|
|
|
|
;; to use googletest from Guix and enable tests by default.
|
|
|
|
|
(patches (search-patches "python-onnx-use-system-googletest.patch"))
|
|
|
|
|
(sha256
|
2020-12-12 15:13:26 -05:00
|
|
|
|
(base32 "0365zkikq6v3cl5hh2daa5z1alhij8xpn8rmlcny340jrv9pyy2z"))))
|
2020-08-01 10:43:21 -04:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("cmake" ,cmake)
|
|
|
|
|
("googletest" ,googletest)
|
|
|
|
|
("pybind11" ,pybind11)
|
|
|
|
|
("python-coverage" ,python-coverage)
|
|
|
|
|
("python-nbval" ,python-nbval)
|
|
|
|
|
("python-pytest" ,python-pytest)
|
|
|
|
|
("python-pytest-runner" ,python-pytest-runner)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("protobuf" ,protobuf)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-numpy" ,python-numpy)
|
|
|
|
|
("python-protobuf" ,python-protobuf)
|
|
|
|
|
("python-six" ,python-six)
|
|
|
|
|
("python-tabulate" ,python-tabulate)
|
|
|
|
|
("python-typing-extensions"
|
|
|
|
|
,python-typing-extensions)))
|
|
|
|
|
(home-page "https://onnx.ai/")
|
|
|
|
|
(synopsis "Open Neural Network Exchange")
|
|
|
|
|
(description
|
|
|
|
|
"Open Neural Network Exchange (ONNX) provides an open source format for
|
|
|
|
|
AI models, both deep learning and traditional ML. It defines an extensible
|
|
|
|
|
computation graph model, as well as definitions of built-in operators and
|
|
|
|
|
standard data types.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2018-05-09 10:01:40 -04:00
|
|
|
|
(define-public rxcpp
|
|
|
|
|
(package
|
|
|
|
|
(name "rxcpp")
|
2019-05-25 22:07:28 -04:00
|
|
|
|
(version "4.1.0")
|
2018-05-09 10:01:40 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-05-25 23:00:21 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/ReactiveX/RxCpp")
|
2019-05-25 23:00:21 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
2018-05-09 10:01:40 -04:00
|
|
|
|
(sha256
|
2019-05-25 23:00:21 -04:00
|
|
|
|
(base32 "1rdpa3jlc181jd08nk437aar085h28i45s6nzrv65apb3xyyz0ij"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
2018-05-09 10:01:40 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'remove-werror
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* (find-files ".")
|
|
|
|
|
(("-Werror") ""))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "ctest"))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("catch" ,catch-framework)))
|
|
|
|
|
(home-page "http://reactivex.io/")
|
|
|
|
|
(synopsis "Reactive Extensions for C++")
|
|
|
|
|
(description
|
|
|
|
|
"The Reactive Extensions for C++ (RxCpp) is a library of algorithms for
|
|
|
|
|
values-distributed-in-time. ReactiveX is a library for composing asynchronous
|
|
|
|
|
and event-based programs by using observable sequences.
|
|
|
|
|
|
|
|
|
|
It extends the observer pattern to support sequences of data and/or events and
|
|
|
|
|
adds operators that allow you to compose sequences together declaratively while
|
|
|
|
|
abstracting away concerns about things like low-level threading,
|
|
|
|
|
synchronization, thread-safety, concurrent data structures, and non-blocking
|
|
|
|
|
I/O.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2018-05-08 10:18:52 -04:00
|
|
|
|
(define-public gemmlowp-for-tensorflow
|
|
|
|
|
;; The commit hash is taken from "tensorflow/workspace.bzl".
|
|
|
|
|
(let ((commit "38ebac7b059e84692f53e5938f97a9943c120d98")
|
|
|
|
|
(revision "2"))
|
|
|
|
|
(package
|
|
|
|
|
(name "gemmlowp")
|
|
|
|
|
(version (git-version "0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://mirror.bazel.build/"
|
|
|
|
|
"github.com/google/gemmlowp/archive/"
|
|
|
|
|
commit ".zip"))
|
|
|
|
|
(file-name (string-append "gemmlowp-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0n56s2g8hrssm4w8qj1v58gfm56a04n9v992ixkmvk6zjiralzxq"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list ,@(match (%current-system)
|
|
|
|
|
((or "x86_64-linux" "i686-linux")
|
2019-06-18 09:57:43 -04:00
|
|
|
|
'("-DCMAKE_CXX_FLAGS=-msse2"))
|
2018-05-08 10:18:52 -04:00
|
|
|
|
(_ '())))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; This directory contains the CMakeLists.txt.
|
|
|
|
|
(add-after 'unpack 'chdir
|
|
|
|
|
(lambda _ (chdir "contrib") #t))
|
|
|
|
|
;; There is no install target
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib/"))
|
|
|
|
|
(inc (string-append out "/include/")))
|
|
|
|
|
(install-file "../build/libeight_bit_int_gemm.so" lib)
|
|
|
|
|
(for-each (lambda (dir)
|
|
|
|
|
(let ((target (string-append inc "/" dir)))
|
|
|
|
|
(mkdir-p target)
|
|
|
|
|
(for-each (lambda (h)
|
|
|
|
|
(install-file h target))
|
|
|
|
|
(find-files (string-append "../" dir)
|
|
|
|
|
"\\.h$"))))
|
|
|
|
|
'("meta" "profiling" "public" "fixedpoint"
|
|
|
|
|
"eight_bit_int_gemm" "internal"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("unzip" ,unzip)))
|
|
|
|
|
(home-page "https://github.com/google/gemmlowp")
|
|
|
|
|
(synopsis "Small self-contained low-precision GEMM library")
|
|
|
|
|
(description
|
|
|
|
|
"This is a small self-contained low-precision @dfn{general matrix
|
|
|
|
|
multiplication} (GEMM) library. It is not a full linear algebra library.
|
|
|
|
|
Low-precision means that the input and output matrix entries are integers on
|
|
|
|
|
at most 8 bits. To avoid overflow, results are internally accumulated on more
|
|
|
|
|
than 8 bits, and at the end only some significant 8 bits are kept.")
|
|
|
|
|
(license license:asl2.0))))
|
2016-11-24 09:18:06 -05:00
|
|
|
|
|
2016-08-13 06:26:10 -04:00
|
|
|
|
(define-public dlib
|
|
|
|
|
(package
|
|
|
|
|
(name "dlib")
|
2020-06-09 21:58:57 -04:00
|
|
|
|
(version "19.20")
|
2016-08-13 06:26:10 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://dlib.net/files/dlib-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-09 21:58:57 -04:00
|
|
|
|
"139jyi19qz37wwmmy48gil9d1kkh2r3w3bwdzabha6ayxmba96nz"))
|
2016-08-13 06:26:10 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Delete ~13MB of bundled dependencies.
|
|
|
|
|
(delete-file-recursively "dlib/external")
|
2017-02-19 20:08:27 -05:00
|
|
|
|
(delete-file-recursively "docs/dlib/external")
|
|
|
|
|
#t))))
|
2016-08-13 06:26:10 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2020-08-13 04:29:08 -04:00
|
|
|
|
`(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")
|
|
|
|
|
#:phases
|
2016-08-13 06:26:10 -04:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-asserts
|
|
|
|
|
(lambda _
|
|
|
|
|
;; config.h recommends explicitly enabling or disabling asserts
|
|
|
|
|
;; when building as a shared library. By default neither is set.
|
|
|
|
|
(substitute* "dlib/config.h"
|
|
|
|
|
(("^//#define DLIB_DISABLE_ASSERTS") "#define DLIB_DISABLE_ASSERTS"))
|
|
|
|
|
#t))
|
2016-09-08 20:51:23 -04:00
|
|
|
|
(add-after 'disable-asserts 'disable-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; One test times out on MIPS, so we need to disable it.
|
2017-02-19 20:08:27 -05:00
|
|
|
|
;; Others are flaky on some platforms.
|
2016-09-08 20:51:23 -04:00
|
|
|
|
(let* ((system ,(or (%current-target-system)
|
|
|
|
|
(%current-system)))
|
|
|
|
|
(disabled-tests (cond
|
|
|
|
|
((string-prefix? "mips64" system)
|
|
|
|
|
'("object_detector" ; timeout
|
|
|
|
|
"data_io"))
|
|
|
|
|
((string-prefix? "armhf" system)
|
2017-02-25 06:09:25 -05:00
|
|
|
|
'("learning_to_track"))
|
2016-09-08 20:51:23 -04:00
|
|
|
|
((string-prefix? "i686" system)
|
2017-02-19 20:08:27 -05:00
|
|
|
|
'("optimization"))
|
2016-09-08 20:51:23 -04:00
|
|
|
|
(else '()))))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (test)
|
|
|
|
|
(substitute* "dlib/test/makefile"
|
2017-02-19 20:08:27 -05:00
|
|
|
|
(((string-append "SRC \\+= " test "\\.cpp")) "")))
|
|
|
|
|
disabled-tests)
|
|
|
|
|
#t)))
|
2016-08-13 06:26:10 -04:00
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; No test target, so we build and run the unit tests here.
|
2016-08-27 12:23:58 -04:00
|
|
|
|
(let ((test-dir (string-append "../dlib-" ,version "/dlib/test")))
|
2016-08-13 06:26:10 -04:00
|
|
|
|
(with-directory-excursion test-dir
|
2018-06-26 13:39:29 -04:00
|
|
|
|
(invoke "make" "-j" (number->string (parallel-job-count)))
|
|
|
|
|
(invoke "./dtest" "--runall"))
|
2020-08-13 04:29:08 -04:00
|
|
|
|
#t))))))
|
2016-08-13 06:26:10 -04:00
|
|
|
|
(native-inputs
|
2018-06-26 21:02:00 -04:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
;; For tests.
|
|
|
|
|
("libnsl" ,libnsl)))
|
2016-08-13 06:26:10 -04:00
|
|
|
|
(inputs
|
2016-08-23 16:17:14 -04:00
|
|
|
|
`(("giflib" ,giflib)
|
2016-09-08 20:51:23 -04:00
|
|
|
|
("lapack" ,lapack)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 13:27:01 -05:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2016-08-13 06:26:10 -04:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("openblas" ,openblas)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis
|
|
|
|
|
"Toolkit for making machine learning and data analysis applications in C++")
|
|
|
|
|
(description
|
|
|
|
|
"Dlib is a modern C++ toolkit containing machine learning algorithms and
|
|
|
|
|
tools. It is used in both industry and academia in a wide range of domains
|
|
|
|
|
including robotics, embedded devices, mobile phones, and large high performance
|
|
|
|
|
computing environments.")
|
|
|
|
|
(home-page "http://dlib.net")
|
|
|
|
|
(license license:boost1.0)))
|
2017-11-17 16:07:23 -05:00
|
|
|
|
|
|
|
|
|
(define-public python-scikit-learn
|
|
|
|
|
(package
|
|
|
|
|
(name "python-scikit-learn")
|
2020-03-04 06:52:55 -05:00
|
|
|
|
(version "0.22.1")
|
2017-11-17 16:07:23 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-09-12 13:04:02 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/scikit-learn/scikit-learn")
|
2018-09-12 13:04:02 -04:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-11-17 16:07:23 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-04 06:52:55 -05:00
|
|
|
|
"1xqxv210gsmjw094vc5ghq2y9lmm74qkk22pq6flcjzj51b86jxf"))))
|
2017-11-17 16:07:23 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-09-12 13:04:02 -04:00
|
|
|
|
(add-after 'build 'build-ext
|
|
|
|
|
(lambda _ (invoke "python" "setup.py" "build_ext" "--inplace") #t))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Restrict OpenBLAS threads to prevent segfaults while testing!
|
|
|
|
|
(setenv "OPENBLAS_NUM_THREADS" "1")
|
2018-11-21 19:47:36 -05:00
|
|
|
|
|
|
|
|
|
;; Some tests require write access to $HOME.
|
|
|
|
|
(setenv "HOME" "/tmp")
|
|
|
|
|
|
|
|
|
|
(invoke "pytest" "sklearn" "-m" "not network")))
|
2019-06-25 14:50:54 -04:00
|
|
|
|
(add-before 'reset-gzip-timestamps 'make-files-writable
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Make sure .gz files are writable so that the
|
|
|
|
|
;; 'reset-gzip-timestamps' phase can do its work.
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(for-each make-file-writable
|
|
|
|
|
(find-files out "\\.gz$"))
|
|
|
|
|
#t))))))
|
2017-11-17 16:07:23 -05:00
|
|
|
|
(inputs
|
|
|
|
|
`(("openblas" ,openblas)))
|
|
|
|
|
(native-inputs
|
2020-04-24 08:36:20 -04:00
|
|
|
|
`(("python-pytest" ,python-pytest)
|
2018-09-12 13:04:02 -04:00
|
|
|
|
("python-pandas" ,python-pandas) ;for tests
|
2017-11-17 16:07:23 -05:00
|
|
|
|
("python-cython" ,python-cython)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-numpy" ,python-numpy)
|
2020-04-24 08:36:20 -04:00
|
|
|
|
("python-scipy" ,python-scipy)
|
|
|
|
|
("python-joblib" ,python-joblib)))
|
2020-03-20 19:21:20 -04:00
|
|
|
|
(home-page "https://scikit-learn.org/")
|
2017-11-17 16:07:23 -05:00
|
|
|
|
(synopsis "Machine Learning in Python")
|
|
|
|
|
(description
|
2018-09-12 13:04:02 -04:00
|
|
|
|
"Scikit-learn provides simple and efficient tools for data mining and
|
|
|
|
|
data analysis.")
|
2020-03-15 08:29:17 -04:00
|
|
|
|
(properties `((python2-variant . ,(delay python2-scikit-learn))))
|
2017-11-17 16:07:23 -05:00
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2020-03-15 08:29:17 -04:00
|
|
|
|
;; scikit-learn 0.22 and later only supports Python 3, so we stick with
|
|
|
|
|
;; an older version here.
|
2017-11-17 16:07:23 -05:00
|
|
|
|
(define-public python2-scikit-learn
|
2020-03-15 08:29:17 -04:00
|
|
|
|
(let ((base (package-with-python2 (strip-python2-variant python-scikit-learn))))
|
|
|
|
|
(package
|
|
|
|
|
(inherit base)
|
|
|
|
|
(version "0.20.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/scikit-learn/scikit-learn")
|
2020-03-15 08:29:17 -04:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name "python-scikit-learn" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"08zbzi8yx5wdlxfx9jap61vg1malc9ajf576w7a0liv6jvvrxlpj")))))))
|
2018-04-27 23:47:03 -04:00
|
|
|
|
|
2021-01-31 07:45:45 -05:00
|
|
|
|
(define-public python-threadpoolctl
|
|
|
|
|
(package
|
|
|
|
|
(name "python-threadpoolctl")
|
|
|
|
|
(version "2.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "threadpoolctl" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0szsxcm2fbxrn83iynn42bnvrdh7mfsmkhfn8pdn7swblfb7rifx"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(add-installed-pythonpath inputs outputs)
|
|
|
|
|
(invoke "pytest"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-pytest" ,python-pytest)))
|
|
|
|
|
(home-page "https://github.com/joblib/threadpoolctl")
|
|
|
|
|
(synopsis "Python helpers for common threading libraries")
|
|
|
|
|
(description "Thread-pool Controls provides Python helpers to limit the
|
|
|
|
|
number of threads used in the threadpool-backed of common native libraries used
|
|
|
|
|
for scientific computing and data science (e.g. BLAS and OpenMP).")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2020-11-23 10:38:13 -05:00
|
|
|
|
(define-public python-pynndescent
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pynndescent")
|
|
|
|
|
(version "0.4.8")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pynndescent" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0li1fclif50v6xrq7wh3lif9vv5jpj7xhrb0z6g89wwjnp9b9833"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-nose" ,python-nose)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-joblib" ,python-joblib)
|
|
|
|
|
("python-llvmlite" ,python-llvmlite)
|
|
|
|
|
("python-numba" ,python-numba)
|
|
|
|
|
("python-scikit-learn" ,python-scikit-learn)
|
|
|
|
|
("python-scipy" ,python-scipy)))
|
|
|
|
|
(home-page "https://github.com/lmcinnes/pynndescent")
|
|
|
|
|
(synopsis "Nearest neighbor descent for approximate nearest neighbors")
|
|
|
|
|
(description
|
|
|
|
|
"PyNNDescent provides a Python implementation of Nearest Neighbor Descent
|
|
|
|
|
for k-neighbor-graph construction and approximate nearest neighbor search.")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2020-11-23 10:40:32 -05:00
|
|
|
|
(define-public python-opentsne
|
|
|
|
|
(package
|
|
|
|
|
(name "python-opentsne")
|
|
|
|
|
(version "0.4.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
;; No tests in the PyPI tarball.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/pavlin-policar/openTSNE")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "08wamsssmyf6511cbmglm67dp48i6xazs89m1cskdk219v90bc76"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; Benchmarks require the 'macosko2015' data files.
|
|
|
|
|
(add-after 'unpack 'delete-benchmark
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file-recursively "benchmarks")
|
|
|
|
|
#t))
|
|
|
|
|
;; Numba needs a writable dir to cache functions.
|
|
|
|
|
(add-before 'check 'set-numba-cache-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "NUMBA_CACHE_DIR" "/tmp")
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-cython" ,python-cython)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("fftw" ,fftw)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-numpy" ,python-numpy)
|
|
|
|
|
("python-pynndescent" ,python-pynndescent)
|
|
|
|
|
("python-scikit-learn" ,python-scikit-learn)
|
|
|
|
|
("python-scipy" ,python-scipy)))
|
|
|
|
|
(home-page "https://github.com/pavlin-policar/openTSNE")
|
|
|
|
|
(synopsis "Extensible, parallel implementations of t-SNE")
|
|
|
|
|
(description
|
|
|
|
|
"This is a modular Python implementation of t-Distributed Stochastic
|
|
|
|
|
Neighbor Embedding (t-SNE), a popular dimensionality-reduction algorithm for
|
|
|
|
|
visualizing high-dimensional data sets.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2020-04-27 07:54:43 -04:00
|
|
|
|
(define-public python-scikit-rebate
|
|
|
|
|
(package
|
|
|
|
|
(name "python-scikit-rebate")
|
|
|
|
|
(version "0.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "skrebate" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1h7qs9gjxpzqabzhb8rmpv3jpmi5iq41kqdibg48299h94iikiw7"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
;; Pandas is only needed to run the tests.
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-pandas" ,python-pandas)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-numpy" ,python-numpy)
|
|
|
|
|
("python-scipy" ,python-scipy)
|
|
|
|
|
("python-scikit-learn" ,python-scikit-learn)
|
|
|
|
|
("python-joblib" ,python-joblib)))
|
|
|
|
|
(home-page "https://epistasislab.github.io/scikit-rebate/")
|
|
|
|
|
(synopsis "Relief-based feature selection algorithms for Python")
|
|
|
|
|
(description "Scikit-rebate is a scikit-learn-compatible Python
|
|
|
|
|
implementation of ReBATE, a suite of Relief-based feature selection algorithms
|
|
|
|
|
for Machine Learning. These algorithms excel at identifying features that are
|
|
|
|
|
predictive of the outcome in supervised learning problems, and are especially
|
|
|
|
|
good at identifying feature interactions that are normally overlooked by
|
|
|
|
|
standard feature selection algorithms.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2018-04-27 23:47:03 -04:00
|
|
|
|
(define-public python-autograd
|
|
|
|
|
(let* ((commit "442205dfefe407beffb33550846434baa90c4de7")
|
|
|
|
|
(revision "0")
|
|
|
|
|
(version (git-version "0.0.0" revision commit)))
|
|
|
|
|
(package
|
|
|
|
|
(name "python-autograd")
|
|
|
|
|
(home-page "https://github.com/HIPS/autograd")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"189sv2xb0mwnjawa9z7mrgdglc1miaq93pnck26r28fi1jdwg0z4"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(version version)
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-nose" ,python-nose)
|
|
|
|
|
("python-pytest" ,python-pytest)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-future" ,python-future)
|
|
|
|
|
("python-numpy" ,python-numpy)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "py.test" "-v"))))))
|
|
|
|
|
(synopsis "Efficiently computes derivatives of NumPy code")
|
|
|
|
|
(description "Autograd can automatically differentiate native Python and
|
|
|
|
|
NumPy code. It can handle a large subset of Python's features, including loops,
|
|
|
|
|
ifs, recursion and closures, and it can even take derivatives of derivatives
|
|
|
|
|
of derivatives. It supports reverse-mode differentiation
|
|
|
|
|
(a.k.a. backpropagation), which means it can efficiently take gradients of
|
|
|
|
|
scalar-valued functions with respect to array-valued arguments, as well as
|
|
|
|
|
forward-mode differentiation, and the two can be composed arbitrarily. The
|
|
|
|
|
main intended application of Autograd is gradient-based optimization.")
|
|
|
|
|
(license license:expat))))
|
|
|
|
|
|
|
|
|
|
(define-public python2-autograd
|
|
|
|
|
(package-with-python2 python-autograd))
|
2018-06-12 06:01:16 -04:00
|
|
|
|
|
|
|
|
|
(define-public lightgbm
|
|
|
|
|
(package
|
|
|
|
|
(name "lightgbm")
|
|
|
|
|
(version "2.0.12")
|
|
|
|
|
(source (origin
|
2020-06-23 10:02:04 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Microsoft/LightGBM")
|
|
|
|
|
(commit (string-append "v" version))))
|
2018-06-12 06:01:16 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-23 10:02:04 -04:00
|
|
|
|
"0jlvyn7k81dzrh9ij3zw576wbgiwmmr26rzpdxjn1dbpc3njpvzi"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
2018-06-12 06:01:16 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-pytest" ,python-pytest)
|
|
|
|
|
("python-nose" ,python-nose)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("openmpi" ,openmpi)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-numpy" ,python-numpy)
|
|
|
|
|
("python-scipy" ,python-scipy)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
'("-DUSE_MPI=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
2020-06-23 10:02:04 -04:00
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "../source"
|
2018-06-12 06:01:16 -04:00
|
|
|
|
(invoke "pytest" "tests/c_api_test/test_.py")))))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(home-page "https://github.com/Microsoft/LightGBM")
|
|
|
|
|
(synopsis "Gradient boosting framework based on decision tree algorithms")
|
|
|
|
|
(description "LightGBM is a gradient boosting framework that uses tree
|
|
|
|
|
based learning algorithms. It is designed to be distributed and efficient with
|
|
|
|
|
the following advantages:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Faster training speed and higher efficiency
|
|
|
|
|
@item Lower memory usage
|
|
|
|
|
@item Better accuracy
|
|
|
|
|
@item Parallel and GPU learning supported (not enabled in this package)
|
|
|
|
|
@item Capable of handling large-scale data
|
|
|
|
|
@end itemize\n")
|
|
|
|
|
(license license:expat)))
|
2018-06-12 06:02:15 -04:00
|
|
|
|
|
|
|
|
|
(define-public vowpal-wabbit
|
|
|
|
|
;; Language bindings not included.
|
|
|
|
|
(package
|
|
|
|
|
(name "vowpal-wabbit")
|
|
|
|
|
(version "8.5.0")
|
|
|
|
|
(source (origin
|
2020-03-29 13:21:25 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/JohnLangford/vowpal_wabbit")
|
|
|
|
|
(commit version)))
|
2018-06-12 06:02:15 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-29 13:21:25 -04:00
|
|
|
|
"04bwzk6ifgnz3fmzid8b7avxf9n5pnx9xcjm61nkjng1vv0bpj8x"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
2018-06-12 06:02:15 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "--with-boost="
|
2020-03-29 13:21:25 -04:00
|
|
|
|
(assoc-ref %build-inputs "boost")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'make-files-writable
|
|
|
|
|
(lambda _
|
2020-08-30 07:13:32 -04:00
|
|
|
|
(for-each make-file-writable (find-files "." ".*")) #t))
|
|
|
|
|
(add-after 'install 'install-more-headers
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(install-file file (string-append
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/include/vowpalwabbit")))
|
|
|
|
|
(find-files "vowpalwabbit" "\\.h$"))
|
|
|
|
|
#t)))))
|
2018-06-12 06:02:15 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "https://github.com/JohnLangford/vowpal_wabbit")
|
|
|
|
|
(synopsis "Fast machine learning library for online learning")
|
|
|
|
|
(description "Vowpal Wabbit is a machine learning system with techniques
|
|
|
|
|
such as online, hashing, allreduce, reductions, learning2search, active, and
|
|
|
|
|
interactive learning.")
|
|
|
|
|
(license license:bsd-3)))
|
2019-01-07 08:14:50 -05:00
|
|
|
|
|
|
|
|
|
(define-public python2-fastlmm
|
|
|
|
|
(package
|
|
|
|
|
(name "python2-fastlmm")
|
|
|
|
|
(version "0.2.21")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "fastlmm" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1q8c34rpmwkfy3r4d5172pzdkpfryj561897z9r3x22gq7813x1m"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2019-03-07 07:21:02 -05:00
|
|
|
|
`(#:tests? #f ; some test files are missing
|
|
|
|
|
#:python ,python-2)) ; only Python 2.7 is supported
|
2019-01-07 08:14:50 -05:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python2-numpy" ,python2-numpy)
|
|
|
|
|
("python2-scipy" ,python2-scipy)
|
|
|
|
|
("python2-matplotlib" ,python2-matplotlib)
|
|
|
|
|
("python2-pandas" ,python2-pandas)
|
|
|
|
|
("python2-scikit-learn" ,python2-scikit-learn)
|
|
|
|
|
("python2-pysnptools" ,python2-pysnptools)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("unzip" ,unzip)
|
|
|
|
|
("python2-cython" ,python2-cython)
|
|
|
|
|
("python2-mock" ,python2-mock)
|
|
|
|
|
("python2-nose" ,python2-nose)))
|
|
|
|
|
(home-page "http://research.microsoft.com/en-us/um/redmond/projects/mscompbio/fastlmm/")
|
|
|
|
|
(synopsis "Perform genome-wide association studies on large data sets")
|
|
|
|
|
(description
|
|
|
|
|
"FaST-LMM, which stands for Factored Spectrally Transformed Linear Mixed
|
|
|
|
|
Models, is a program for performing both single-SNP and SNP-set genome-wide
|
|
|
|
|
association studies (GWAS) on extremely large data sets.")
|
|
|
|
|
(license license:asl2.0)))
|
2019-03-13 14:30:19 -04:00
|
|
|
|
|
|
|
|
|
;; There have been no proper releases yet.
|
|
|
|
|
(define-public kaldi
|
2020-04-27 18:24:38 -04:00
|
|
|
|
(let ((commit "d4791c0f3fc1a09c042dac365e120899ee2ad21e")
|
|
|
|
|
(revision "2"))
|
2019-03-13 14:30:19 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "kaldi")
|
|
|
|
|
(version (git-version "0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/kaldi-asr/kaldi")
|
2019-03-13 14:30:19 -04:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-04-27 18:24:38 -04:00
|
|
|
|
"07k80my6f19mhrkwbzhjsnpf9871wmrwkl0ym468i830w67qyjrz"))))
|
2019-03-13 14:30:19 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'chdir
|
|
|
|
|
(lambda _ (chdir "src") #t))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key build system inputs outputs #:allow-other-keys)
|
|
|
|
|
(when (not (or (string-prefix? "x86_64" system)
|
|
|
|
|
(string-prefix? "i686" system)))
|
|
|
|
|
(substitute* "makefiles/linux_openblas.mk"
|
|
|
|
|
(("-msse -msse2") "")))
|
|
|
|
|
(substitute* "makefiles/default_rules.mk"
|
|
|
|
|
(("/bin/bash") (which "bash")))
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("ext_depend: check_portaudio")
|
|
|
|
|
"ext_depend:"))
|
|
|
|
|
(substitute* '("online/Makefile"
|
|
|
|
|
"onlinebin/Makefile"
|
|
|
|
|
"gst-plugin/Makefile")
|
|
|
|
|
(("../../tools/portaudio/install")
|
|
|
|
|
(assoc-ref inputs "portaudio")))
|
|
|
|
|
|
|
|
|
|
;; This `configure' script doesn't support variables passed as
|
|
|
|
|
;; arguments, nor does it support "prefix".
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(openblas (assoc-ref inputs "openblas"))
|
|
|
|
|
(openfst (assoc-ref inputs "openfst")))
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("check_for_slow_expf;") "")
|
|
|
|
|
;; This affects the RPATH and also serves as the installation
|
|
|
|
|
;; directory.
|
|
|
|
|
(("KALDILIBDIR=`pwd`/lib")
|
|
|
|
|
(string-append "KALDILIBDIR=" out "/lib")))
|
|
|
|
|
(mkdir-p out) ; must exist
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "bash"))
|
|
|
|
|
(setenv "OPENFST_VER" ,(package-version openfst))
|
|
|
|
|
(invoke "./configure"
|
|
|
|
|
"--use-cuda=no"
|
|
|
|
|
"--shared"
|
|
|
|
|
(string-append "--openblas-root=" openblas)
|
|
|
|
|
(string-append "--fst-root=" openfst)))))
|
|
|
|
|
(add-after 'build 'build-ext-and-gstreamer-plugin
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "-C" "online" "depend")
|
|
|
|
|
(invoke "make" "-C" "online")
|
|
|
|
|
(invoke "make" "-C" "onlinebin" "depend")
|
|
|
|
|
(invoke "make" "-C" "onlinebin")
|
|
|
|
|
(invoke "make" "-C" "gst-plugin" "depend")
|
|
|
|
|
(invoke "make" "-C" "gst-plugin")
|
|
|
|
|
#t))
|
|
|
|
|
;; TODO: also install the executables.
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2019-03-14 18:28:51 -04:00
|
|
|
|
(inc (string-append out "/include"))
|
2019-03-13 14:30:19 -04:00
|
|
|
|
(lib (string-append out "/lib")))
|
|
|
|
|
(mkdir-p lib)
|
2019-03-14 18:28:51 -04:00
|
|
|
|
;; The build phase installed symlinks to the actual
|
|
|
|
|
;; libraries. Install the actual targets.
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(let ((target (readlink file)))
|
|
|
|
|
(delete-file file)
|
|
|
|
|
(install-file target lib)))
|
|
|
|
|
(find-files lib "\\.so"))
|
|
|
|
|
;; Install headers
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(let ((target-dir (string-append inc "/" (dirname file))))
|
|
|
|
|
(install-file file target-dir)))
|
|
|
|
|
(find-files "." "\\.h"))
|
|
|
|
|
(install-file "gst-plugin/libgstonlinegmmdecodefaster.so"
|
|
|
|
|
(string-append lib "/gstreamer-1.0"))
|
2019-03-13 14:30:19 -04:00
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("gfortran" ,gfortran "lib")
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gstreamer" ,gstreamer)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("openblas" ,openblas)
|
|
|
|
|
("openfst" ,openfst)
|
|
|
|
|
("portaudio" ,portaudio)
|
|
|
|
|
("python" ,python)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("glib" ,glib "bin") ; glib-genmarshal
|
|
|
|
|
("grep" ,grep)
|
|
|
|
|
("sed" ,sed)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(home-page "https://kaldi-asr.org/")
|
|
|
|
|
(synopsis "Speech recognition toolkit")
|
|
|
|
|
(description "Kaldi is an extensible toolkit for speech recognition
|
|
|
|
|
written in C++.")
|
|
|
|
|
(license license:asl2.0))))
|
2019-03-14 18:30:37 -04:00
|
|
|
|
|
|
|
|
|
(define-public gst-kaldi-nnet2-online
|
2020-04-28 02:42:39 -04:00
|
|
|
|
(let ((commit "cb227ef43b66a9835c14eb0ad39e08ee03c210ad")
|
|
|
|
|
(revision "2"))
|
2019-03-14 18:30:37 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "gst-kaldi-nnet2-online")
|
|
|
|
|
(version (git-version "0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/alumae/gst-kaldi-nnet2-online")
|
2019-03-14 18:30:37 -04:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-04-28 02:42:39 -04:00
|
|
|
|
"1i6ffwiavxx07ri0lxix6s8q0r31x7i4xxvhys5jxkixf5q34w8g"))))
|
2019-03-14 18:30:37 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; there are none
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "SHELL="
|
|
|
|
|
(assoc-ref %build-inputs "bash") "/bin/bash")
|
|
|
|
|
(string-append "KALDI_ROOT="
|
|
|
|
|
(assoc-ref %build-inputs "kaldi-src"))
|
|
|
|
|
(string-append "KALDILIBDIR="
|
|
|
|
|
(assoc-ref %build-inputs "kaldi") "/lib")
|
|
|
|
|
"KALDI_FLAVOR=dynamic")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'chdir
|
|
|
|
|
(lambda _ (chdir "src") #t))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((glib (assoc-ref inputs "glib")))
|
2019-07-14 11:30:42 -04:00
|
|
|
|
(setenv "CXXFLAGS" "-fPIC")
|
2019-03-14 18:30:37 -04:00
|
|
|
|
(setenv "CPLUS_INCLUDE_PATH"
|
|
|
|
|
(string-append glib "/include/glib-2.0:"
|
|
|
|
|
glib "/lib/glib-2.0/include:"
|
|
|
|
|
(assoc-ref inputs "gstreamer")
|
2019-07-14 11:30:42 -04:00
|
|
|
|
"/include/gstreamer-1.0")))
|
2019-03-14 18:30:37 -04:00
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("include \\$\\(KALDI_ROOT\\)/src/kaldi.mk") "")
|
2019-07-14 11:30:42 -04:00
|
|
|
|
(("\\$\\(error Cannot find") "#"))
|
|
|
|
|
#t))
|
2019-03-14 18:30:37 -04:00
|
|
|
|
(add-before 'build 'build-depend
|
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
|
|
|
|
(apply invoke "make" "depend" make-flags)))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib/gstreamer-1.0")))
|
|
|
|
|
(install-file "libgstkaldinnet2onlinedecoder.so" lib)
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glib" ,glib)
|
|
|
|
|
("gstreamer" ,gstreamer)
|
|
|
|
|
("jansson" ,jansson)
|
|
|
|
|
("openfst" ,openfst)
|
|
|
|
|
("kaldi" ,kaldi)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bash" ,bash)
|
|
|
|
|
("glib:bin" ,glib "bin") ; glib-genmarshal
|
|
|
|
|
("kaldi-src" ,(package-source kaldi))
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://kaldi-asr.org/")
|
|
|
|
|
(synopsis "Gstreamer plugin for decoding speech")
|
|
|
|
|
(description "This package provides a GStreamer plugin that wraps
|
|
|
|
|
Kaldi's @code{SingleUtteranceNnet2Decoder}. It requires iVector-adapted DNN
|
|
|
|
|
acoustic models. The iVectors are adapted to the current audio stream
|
|
|
|
|
automatically.")
|
|
|
|
|
(license license:asl2.0))))
|
2019-03-17 05:09:56 -04:00
|
|
|
|
|
|
|
|
|
(define-public kaldi-gstreamer-server
|
2020-04-28 07:34:22 -04:00
|
|
|
|
;; This is the tip of the py3 branch
|
|
|
|
|
(let ((commit "f68cab490be7eb0da2af1475fbc16655f50a60cb")
|
|
|
|
|
(revision "2"))
|
2019-03-17 05:09:56 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "kaldi-gstreamer-server")
|
|
|
|
|
(version (git-version "0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/alumae/kaldi-gstreamer-server")
|
2019-03-17 05:09:56 -04:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-04-28 07:34:22 -04:00
|
|
|
|
"17lh1368vkg8ngrcbn2phvigzlmalrqg6djx2gg61qq1a0nj87dm"))))
|
2019-03-17 05:09:56 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; there are no tests that can be run automatically
|
|
|
|
|
#:modules ((guix build utils)
|
|
|
|
|
(guix build gnu-build-system)
|
|
|
|
|
(srfi srfi-26))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Disable hash randomization to ensure the generated .pycs
|
|
|
|
|
;; are reproducible.
|
|
|
|
|
(setenv "PYTHONHASHSEED" "0")
|
|
|
|
|
(with-directory-excursion "kaldigstserver"
|
2020-04-30 07:04:55 -04:00
|
|
|
|
;; See https://github.com/alumae/kaldi-gstreamer-server/issues/232
|
|
|
|
|
(substitute* "master_server.py"
|
|
|
|
|
(("\\.replace\\('\\\\.*") ")"))
|
|
|
|
|
|
2020-04-28 07:34:22 -04:00
|
|
|
|
;; This is a Python 2 file
|
|
|
|
|
(delete-file "decoder_test.py")
|
|
|
|
|
(delete-file "test-buffer.py")
|
|
|
|
|
|
2019-03-17 05:09:56 -04:00
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(apply invoke
|
|
|
|
|
`("python"
|
|
|
|
|
"-m" "compileall"
|
|
|
|
|
"-f" ; force rebuild
|
|
|
|
|
,file)))
|
|
|
|
|
(find-files "." "\\.py$")))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(share (string-append out "/share/kaldi-gstreamer-server/")))
|
|
|
|
|
;; Install Python files
|
|
|
|
|
(with-directory-excursion "kaldigstserver"
|
|
|
|
|
(for-each (cut install-file <> share)
|
|
|
|
|
(find-files "." ".*")))
|
|
|
|
|
|
|
|
|
|
;; Install sample configuration files
|
|
|
|
|
(for-each (cut install-file <> share)
|
|
|
|
|
(find-files "." "\\.yaml"))
|
|
|
|
|
|
|
|
|
|
;; Install executables
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(let* ((server (string-append bin "/kaldi-gst-server"))
|
|
|
|
|
(client (string-append bin "/kaldi-gst-client"))
|
|
|
|
|
(worker (string-append bin "/kaldi-gst-worker"))
|
|
|
|
|
(PYTHONPATH (getenv "PYTHONPATH"))
|
|
|
|
|
(GST_PLUGIN_PATH (string-append
|
|
|
|
|
(assoc-ref inputs "gst-kaldi-nnet2-online")
|
|
|
|
|
"/lib/gstreamer-1.0:${GST_PLUGIN_PATH}"))
|
|
|
|
|
(wrap (lambda (wrapper what)
|
|
|
|
|
(with-output-to-file wrapper
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t
|
|
|
|
|
"#!~a
|
|
|
|
|
export PYTHONPATH=~a
|
|
|
|
|
export GST_PLUGIN_PATH=~a
|
|
|
|
|
exec ~a ~a/~a \"$@\"~%"
|
|
|
|
|
(which "bash") PYTHONPATH GST_PLUGIN_PATH
|
|
|
|
|
(which "python") share what)))
|
|
|
|
|
(chmod wrapper #o555))))
|
|
|
|
|
(for-each wrap
|
|
|
|
|
(list server client worker)
|
|
|
|
|
(list "master_server.py"
|
|
|
|
|
"client.py"
|
|
|
|
|
"worker.py")))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gst-kaldi-nnet2-online" ,gst-kaldi-nnet2-online)
|
2020-04-28 07:34:22 -04:00
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("python-pygobject" ,python-pygobject)
|
|
|
|
|
("python-pyyaml" ,python-pyyaml)
|
2020-04-30 07:03:59 -04:00
|
|
|
|
("python-tornado" ,python-tornado-6)))
|
2019-03-17 05:09:56 -04:00
|
|
|
|
(home-page "https://github.com/alumae/kaldi-gstreamer-server")
|
|
|
|
|
(synopsis "Real-time full-duplex speech recognition server")
|
|
|
|
|
(description "This is a real-time full-duplex speech recognition server,
|
|
|
|
|
based on the Kaldi toolkit and the GStreamer framework and implemented in
|
|
|
|
|
Python.")
|
|
|
|
|
(license license:bsd-2))))
|
2018-11-26 10:42:40 -05:00
|
|
|
|
|
2019-04-08 08:45:47 -04:00
|
|
|
|
;; Note that Tensorflow includes a "third_party" directory, which seems to not
|
|
|
|
|
;; only contain modified subsets of upstream library source code, but also
|
|
|
|
|
;; adapter headers provided by Google (such as the fft.h header, which is not
|
|
|
|
|
;; part of the upstream project code). The Tensorflow code includes headers
|
|
|
|
|
;; from the "third_party" directory. It does not look like we can replace
|
|
|
|
|
;; these headers with unmodified upstream files, so we keep them.
|
|
|
|
|
(define-public tensorflow
|
|
|
|
|
(package
|
|
|
|
|
(name "tensorflow")
|
|
|
|
|
(version "1.9.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/tensorflow/tensorflow")
|
2019-04-08 08:45:47 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (string-append "tensorflow-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0a9kwha395g3wgxfwln5j8vn9nkspmd75xldrlqdq540w996g8xa"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no "check" target
|
|
|
|
|
#:build-type "Release"
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(let ((protobuf (assoc-ref %build-inputs "protobuf"))
|
|
|
|
|
(protobuf:native (assoc-ref %build-inputs "protobuf:native"))
|
|
|
|
|
(jsoncpp (assoc-ref %build-inputs "jsoncpp"))
|
|
|
|
|
(snappy (assoc-ref %build-inputs "snappy"))
|
|
|
|
|
(sqlite (assoc-ref %build-inputs "sqlite")))
|
|
|
|
|
(list
|
|
|
|
|
;; Use protobuf from Guix
|
|
|
|
|
(string-append "-Dprotobuf_STATIC_LIBRARIES="
|
|
|
|
|
protobuf "/lib/libprotobuf.so")
|
|
|
|
|
(string-append "-DPROTOBUF_PROTOC_EXECUTABLE="
|
|
|
|
|
protobuf:native "/bin/protoc")
|
|
|
|
|
|
|
|
|
|
;; Use snappy from Guix
|
|
|
|
|
(string-append "-Dsnappy_STATIC_LIBRARIES="
|
|
|
|
|
snappy "/lib/libsnappy.so")
|
|
|
|
|
;; Yes, this is not actually the include directory but a prefix...
|
|
|
|
|
(string-append "-Dsnappy_INCLUDE_DIR=" snappy)
|
|
|
|
|
|
|
|
|
|
;; Use jsoncpp from Guix
|
|
|
|
|
(string-append "-Djsoncpp_STATIC_LIBRARIES="
|
|
|
|
|
jsoncpp "/lib/libjsoncpp.so")
|
|
|
|
|
;; Yes, this is not actually the include directory but a prefix...
|
|
|
|
|
(string-append "-Djsoncpp_INCLUDE_DIR=" jsoncpp)
|
|
|
|
|
|
|
|
|
|
;; Use sqlite from Guix
|
|
|
|
|
(string-append "-Dsqlite_STATIC_LIBRARIES="
|
|
|
|
|
sqlite "/lib/libsqlite.a")
|
|
|
|
|
|
|
|
|
|
;; Use system libraries wherever possible. Currently, this
|
|
|
|
|
;; only affects zlib.
|
|
|
|
|
"-Dsystemlib_ALL=ON"
|
|
|
|
|
"-Dtensorflow_ENABLE_POSITION_INDEPENDENT_CODE=ON"
|
|
|
|
|
"-Dtensorflow_BUILD_SHARED_LIB=ON"
|
|
|
|
|
"-Dtensorflow_OPTIMIZE_FOR_NATIVE_ARCH=OFF"
|
|
|
|
|
"-Dtensorflow_ENABLE_SSL_SUPPORT=OFF"
|
|
|
|
|
"-Dtensorflow_BUILD_CONTRIB_KERNELS=OFF"))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list "CC=gcc")
|
|
|
|
|
#:modules ((ice-9 ftw)
|
|
|
|
|
(guix build utils)
|
2020-05-25 07:20:53 -04:00
|
|
|
|
(guix build cmake-build-system)
|
|
|
|
|
((guix build python-build-system)
|
|
|
|
|
#:select (python-version)))
|
|
|
|
|
#:imported-modules (,@%cmake-build-system-modules
|
|
|
|
|
(guix build python-build-system))
|
2019-04-08 08:45:47 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'set-source-file-times-to-1980
|
|
|
|
|
;; At the end of the tf_python_build_pip_package target, a ZIP
|
|
|
|
|
;; archive should be generated via bdist_wheel, but it fails with
|
|
|
|
|
;; "ZIP does not support timestamps before 1980". Luckily,
|
|
|
|
|
;; SOURCE_DATE_EPOCH is respected, which we set to some time in
|
|
|
|
|
;; 1980.
|
|
|
|
|
(lambda _ (setenv "SOURCE_DATE_EPOCH" "315532800") #t))
|
|
|
|
|
;; See https://github.com/tensorflow/tensorflow/issues/20517#issuecomment-406373913
|
|
|
|
|
(add-after 'unpack 'python3.7-compatibility
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("tensorflow/python/eager/pywrap_tfe_src.cc"
|
|
|
|
|
"tensorflow/python/lib/core/ndarray_tensor.cc"
|
|
|
|
|
"tensorflow/python/lib/core/py_func.cc")
|
|
|
|
|
(("PyUnicode_AsUTF8") "(char *)PyUnicode_AsUTF8"))
|
|
|
|
|
(substitute* "tensorflow/c/eager/c_api.h"
|
|
|
|
|
(("unsigned char async")
|
|
|
|
|
"unsigned char is_async"))
|
|
|
|
|
|
|
|
|
|
;; Remove dependency on tensorboard, a complicated but probably
|
|
|
|
|
;; optional package.
|
|
|
|
|
(substitute* "tensorflow/tools/pip_package/setup.py"
|
|
|
|
|
((".*'tensorboard >.*") ""))
|
2020-05-25 07:20:53 -04:00
|
|
|
|
|
|
|
|
|
;; Fix the build with python-3.8, taken from rejected upstream patch:
|
|
|
|
|
;; https://github.com/tensorflow/tensorflow/issues/34197
|
|
|
|
|
(substitute* (find-files "tensorflow/python" ".*\\.cc$")
|
|
|
|
|
(("(nullptr,)(\\ +/. tp_print)" _ _ tp_print)
|
|
|
|
|
(string-append "NULL, " tp_print)))
|
2019-04-08 08:45:47 -04:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'python3.7-compatibility 'chdir
|
|
|
|
|
(lambda _ (chdir "tensorflow/contrib/cmake") #t))
|
|
|
|
|
(add-after 'chdir 'disable-downloads
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* (find-files "external" "\\.cmake$")
|
|
|
|
|
(("GIT_REPOSITORY.*") "")
|
|
|
|
|
(("GIT_TAG.*") "")
|
|
|
|
|
(("PREFIX ")
|
|
|
|
|
"DOWNLOAD_COMMAND \"\"\nPREFIX "))
|
|
|
|
|
|
|
|
|
|
;; Use packages from Guix
|
|
|
|
|
(let ((grpc (assoc-ref inputs "grpc")))
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
;; Sqlite
|
|
|
|
|
(("include\\(sqlite\\)") "")
|
|
|
|
|
(("\\$\\{sqlite_STATIC_LIBRARIES\\}")
|
|
|
|
|
(string-append (assoc-ref inputs "sqlite")
|
|
|
|
|
"/lib/libsqlite3.so"))
|
|
|
|
|
(("sqlite_copy_headers_to_destination") "")
|
|
|
|
|
|
|
|
|
|
;; PNG
|
|
|
|
|
(("include\\(png\\)") "")
|
|
|
|
|
(("\\$\\{png_STATIC_LIBRARIES\\}")
|
|
|
|
|
(string-append (assoc-ref inputs "libpng")
|
|
|
|
|
"/lib/libpng16.so"))
|
|
|
|
|
(("png_copy_headers_to_destination") "")
|
|
|
|
|
|
|
|
|
|
;; JPEG
|
|
|
|
|
(("include\\(jpeg\\)") "")
|
|
|
|
|
(("\\$\\{jpeg_STATIC_LIBRARIES\\}")
|
|
|
|
|
(string-append (assoc-ref inputs "libjpeg")
|
|
|
|
|
"/lib/libjpeg.so"))
|
|
|
|
|
(("jpeg_copy_headers_to_destination") "")
|
|
|
|
|
|
|
|
|
|
;; GIF
|
|
|
|
|
(("include\\(gif\\)") "")
|
|
|
|
|
(("\\$\\{gif_STATIC_LIBRARIES\\}")
|
|
|
|
|
(string-append (assoc-ref inputs "giflib")
|
|
|
|
|
"/lib/libgif.so"))
|
|
|
|
|
(("gif_copy_headers_to_destination") "")
|
|
|
|
|
|
|
|
|
|
;; lmdb
|
|
|
|
|
(("include\\(lmdb\\)") "")
|
|
|
|
|
(("\\$\\{lmdb_STATIC_LIBRARIES\\}")
|
|
|
|
|
(string-append (assoc-ref inputs "lmdb")
|
|
|
|
|
"/lib/liblmdb.so"))
|
|
|
|
|
(("lmdb_copy_headers_to_destination") "")
|
|
|
|
|
|
|
|
|
|
;; Protobuf
|
|
|
|
|
(("include\\(protobuf\\)") "")
|
|
|
|
|
(("protobuf_copy_headers_to_destination") "")
|
|
|
|
|
(("^ +protobuf") "")
|
|
|
|
|
|
|
|
|
|
;; gRPC
|
|
|
|
|
(("include\\(grpc\\)")
|
|
|
|
|
"find_package(grpc REQUIRED NAMES gRPC)")
|
|
|
|
|
(("list\\(APPEND tensorflow_EXTERNAL_DEPENDENCIES grpc\\)") "")
|
|
|
|
|
|
|
|
|
|
;; Eigen
|
|
|
|
|
(("include\\(eigen\\)")
|
|
|
|
|
(string-append "find_package(eigen REQUIRED NAMES Eigen3)
|
|
|
|
|
set(eigen_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR}/external/eigen_archive "
|
|
|
|
|
(assoc-ref inputs "eigen") "/include/eigen3)"))
|
|
|
|
|
(("^ +eigen") "")
|
|
|
|
|
|
|
|
|
|
;; snappy
|
|
|
|
|
(("include\\(snappy\\)")
|
|
|
|
|
"add_definitions(-DTF_USE_SNAPPY)")
|
|
|
|
|
(("list\\(APPEND tensorflow_EXTERNAL_DEPENDENCIES snappy\\)") "")
|
|
|
|
|
|
|
|
|
|
;; jsoncpp
|
|
|
|
|
(("include\\(jsoncpp\\)") "")
|
|
|
|
|
(("^ +jsoncpp") ""))
|
|
|
|
|
|
|
|
|
|
(substitute* "tf_core_framework.cmake"
|
|
|
|
|
((" grpc") "")
|
|
|
|
|
(("\\$\\{GRPC_BUILD\\}/grpc_cpp_plugin")
|
|
|
|
|
(which "grpc_cpp_plugin"))
|
|
|
|
|
;; Link with gRPC libraries
|
|
|
|
|
(("add_library\\(tf_protos_cc.*" m)
|
|
|
|
|
(string-append m
|
|
|
|
|
(format #f "\ntarget_link_libraries(tf_protos_cc PRIVATE \
|
|
|
|
|
~a/lib/libgrpc++_unsecure.a \
|
|
|
|
|
~a/lib/libgrpc_unsecure.a \
|
|
|
|
|
~a/lib/libaddress_sorting.a \
|
|
|
|
|
~a/lib/libgpr.a \
|
|
|
|
|
~a//lib/libcares.so
|
|
|
|
|
)\n"
|
|
|
|
|
grpc grpc grpc grpc
|
|
|
|
|
(assoc-ref inputs "c-ares"))))))
|
|
|
|
|
(substitute* "tf_tools.cmake"
|
|
|
|
|
(("add_dependencies\\(\\$\\{proto_text.*") ""))
|
|
|
|
|
;; Remove dependency on bundled grpc
|
|
|
|
|
(substitute* "tf_core_distributed_runtime.cmake"
|
|
|
|
|
(("tf_core_cpu grpc") "tf_core_cpu"))
|
|
|
|
|
|
|
|
|
|
;; This directory is a dependency of many targets.
|
|
|
|
|
(mkdir-p "protobuf")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'configure 'unpack-third-party-sources
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; This is needed to configure bundled packages properly.
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "bash"))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (name)
|
|
|
|
|
(let* ((what (assoc-ref inputs (string-append name "-src")))
|
|
|
|
|
(name* (string-map (lambda (c)
|
|
|
|
|
(if (char=? c #\-)
|
|
|
|
|
#\_ c)) name))
|
|
|
|
|
(where (string-append "../build/" name* "/src/" name*)))
|
|
|
|
|
(cond
|
|
|
|
|
((string-suffix? ".zip" what)
|
|
|
|
|
(mkdir-p where)
|
|
|
|
|
(with-directory-excursion where
|
|
|
|
|
(invoke "unzip" what)))
|
|
|
|
|
((string-suffix? ".tar.gz" what)
|
|
|
|
|
(mkdir-p where)
|
|
|
|
|
(invoke "tar" "xf" what
|
|
|
|
|
"-C" where "--strip-components=1"))
|
|
|
|
|
(else
|
|
|
|
|
(let ((parent (dirname where)))
|
|
|
|
|
(mkdir-p parent)
|
|
|
|
|
(with-directory-excursion parent
|
|
|
|
|
(when (file-exists? name*)
|
|
|
|
|
(delete-file-recursively name*))
|
|
|
|
|
(copy-recursively what name*)
|
|
|
|
|
(map make-file-writable
|
|
|
|
|
(find-files name* ".*"))))))))
|
|
|
|
|
(list "boringssl"
|
|
|
|
|
"cub"
|
|
|
|
|
"double-conversion"
|
|
|
|
|
"farmhash"
|
|
|
|
|
"fft2d"
|
|
|
|
|
"highwayhash"
|
|
|
|
|
"nsync"
|
|
|
|
|
"re2"))
|
|
|
|
|
|
|
|
|
|
(rename-file "../build/cub/src/cub/cub-1.8.0/"
|
|
|
|
|
"../build/cub/src/cub/cub/")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'fix-python-build
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(mkdir-p "protobuf-src")
|
|
|
|
|
(invoke "tar" "xf" (assoc-ref inputs "protobuf:src")
|
|
|
|
|
"-C" "protobuf-src" "--strip-components=1")
|
|
|
|
|
(mkdir-p "eigen-src")
|
|
|
|
|
(invoke "tar" "xf" (assoc-ref inputs "eigen:src")
|
|
|
|
|
"-C" "eigen-src" "--strip-components=1")
|
|
|
|
|
|
|
|
|
|
(substitute* "tensorflow/contrib/cmake/tf_python.cmake"
|
|
|
|
|
;; Ensure that all Python dependencies can be found at build time.
|
|
|
|
|
(("PYTHONPATH=\\$\\{CMAKE_CURRENT_BINARY_DIR\\}/tf_python" m)
|
|
|
|
|
(string-append m ":" (getenv "PYTHONPATH")))
|
|
|
|
|
;; Take protobuf source files from our source package.
|
|
|
|
|
(("\\$\\{CMAKE_CURRENT_BINARY_DIR\\}/protobuf/src/protobuf/src/google")
|
|
|
|
|
(string-append (getcwd) "/protobuf-src/src/google")))
|
|
|
|
|
|
|
|
|
|
(substitute* '("tensorflow/contrib/cmake/tf_shared_lib.cmake"
|
|
|
|
|
"tensorflow/contrib/cmake/tf_python.cmake")
|
|
|
|
|
;; Take Eigen source files from our source package.
|
|
|
|
|
(("\\$\\{CMAKE_CURRENT_BINARY_DIR\\}/eigen/src/eigen/")
|
|
|
|
|
(string-append (getcwd) "/eigen-src/"))
|
|
|
|
|
;; Take Eigen headers from our own package.
|
|
|
|
|
(("\\$\\{CMAKE_CURRENT_BINARY_DIR\\}/external/eigen_archive")
|
|
|
|
|
(string-append (assoc-ref inputs "eigen") "/include/eigen3")))
|
|
|
|
|
|
|
|
|
|
;; Correct the RUNPATH of ops libraries generated for Python.
|
|
|
|
|
;; TODO: this doesn't work :(
|
|
|
|
|
;; /gnu/store/...-tensorflow-1.9.0/lib/python3.7/site-packages/tensorflow/contrib/seq2seq/python/ops/lib_beam_search_ops.so:
|
|
|
|
|
;; warning: RUNPATH contains bogus entries: ("/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build")
|
|
|
|
|
;; /gnu/store/...-tensorflow-1.9.0/lib/python3.7/site-packages/tensorflow/contrib/seq2seq/python/ops/lib_beam_search_ops.so:
|
|
|
|
|
;; error: depends on 'libpywrap_tensorflow_internal.so', which
|
|
|
|
|
;; cannot be found in RUNPATH ...
|
|
|
|
|
(substitute* "tensorflow/contrib/cmake/tf_cc_ops.cmake"
|
|
|
|
|
(("set_target_properties.*")
|
|
|
|
|
(string-append "set_target_properties(${_AT_TARGET} PROPERTIES \
|
|
|
|
|
COMPILE_FLAGS ${target_compile_flags} \
|
|
|
|
|
INSTALL_RPATH_USE_LINK_PATH TRUE \
|
|
|
|
|
INSTALL_RPATH " (assoc-ref outputs "out") "/lib)\n")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'build 'build-pip-package
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(setenv "LDFLAGS"
|
|
|
|
|
(string-append "-Wl,-rpath="
|
|
|
|
|
(assoc-ref outputs "out") "/lib"))
|
|
|
|
|
(invoke "make" "tf_python_build_pip_package")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'build-pip-package 'install-python
|
2020-05-25 07:20:53 -04:00
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2019-04-08 08:45:47 -04:00
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
2020-05-25 07:20:53 -04:00
|
|
|
|
(wheel (car (find-files "../build/tf_python/dist/" "\\.whl$")))
|
|
|
|
|
(python-version (python-version
|
|
|
|
|
(assoc-ref inputs "python"))))
|
2019-04-08 08:45:47 -04:00
|
|
|
|
(invoke "python" "-m" "pip" "install" wheel
|
|
|
|
|
(string-append "--prefix=" out))
|
|
|
|
|
|
|
|
|
|
;; XXX: broken RUNPATH, see fix-python-build phase.
|
|
|
|
|
(delete-file
|
|
|
|
|
(string-append
|
2020-05-25 07:20:53 -04:00
|
|
|
|
out "/lib/python" python-version
|
|
|
|
|
"/site-packages/tensorflow/contrib/"
|
2019-04-08 08:45:47 -04:00
|
|
|
|
"seq2seq/python/ops/lib_beam_search_ops.so"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
2019-10-20 15:53:50 -04:00
|
|
|
|
("protobuf:native" ,protobuf-3.6) ; protoc
|
|
|
|
|
("protobuf:src" ,(package-source protobuf-3.6))
|
2019-04-08 08:45:47 -04:00
|
|
|
|
("eigen:src" ,(package-source eigen-for-tensorflow))
|
2019-07-19 08:57:06 -04:00
|
|
|
|
;; install_pip_packages.sh wants setuptools 39.1.0 specifically.
|
|
|
|
|
("python-setuptools" ,python-setuptools-for-tensorflow)
|
|
|
|
|
|
2019-04-08 08:45:47 -04:00
|
|
|
|
;; The commit hashes and URLs for third-party source code are taken
|
|
|
|
|
;; from "tensorflow/workspace.bzl".
|
|
|
|
|
("boringssl-src"
|
|
|
|
|
,(let ((commit "ee7aa02")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://boringssl.googlesource.com/boringssl")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (string-append "boringssl-0-" revision
|
|
|
|
|
(string-take commit 7)
|
|
|
|
|
"-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1jf693q0nw0adsic6cgmbdx6g7wr4rj4vxa8j1hpn792fqhd8wgw")))))
|
|
|
|
|
("cub-src"
|
|
|
|
|
,(let ((version "1.8.0"))
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://mirror.bazel.build/github.com/NVlabs/"
|
|
|
|
|
"cub/archive/" version ".zip"))
|
|
|
|
|
(file-name (string-append "cub-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1hsqikqridb90dkxkjr2918dcry6pfh46ccnwrzawl56aamhdykb")))))
|
|
|
|
|
("double-conversion-src"
|
|
|
|
|
,(let ((commit "5664746")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/google/double-conversion")
|
2019-04-08 08:45:47 -04:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name
|
|
|
|
|
(git-file-name "double-conversion"
|
|
|
|
|
(string-append "0-" revision "."
|
|
|
|
|
(string-take commit 7))))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1h5lppqqxcvdg5jq42i5msgwx20ryij3apvmndflngrgdpc04gn1")))))
|
|
|
|
|
("farmhash-src"
|
|
|
|
|
,(let ((commit "816a4ae622e964763ca0862d9dbd19324a1eaf45"))
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://mirror.bazel.build/github.com/google/farmhash/archive/"
|
|
|
|
|
commit ".tar.gz"))
|
|
|
|
|
(file-name (string-append "farmhash-0-" (string-take commit 7)
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"185b2xdxl4d4cnsnv6abg8s22gxvx8673jq2yaq85bz4cdy58q35")))))
|
|
|
|
|
;; The license notice on the home page at
|
|
|
|
|
;; http://www.kurims.kyoto-u.ac.jp/~ooura/fft.html says:
|
|
|
|
|
;; Copyright Takuya OOURA, 1996-2001
|
|
|
|
|
;;
|
|
|
|
|
;; You may use, copy, modify and distribute this code for any purpose
|
|
|
|
|
;; (include commercial use) and without fee. Please refer to this
|
|
|
|
|
;; package when you modify this code.
|
|
|
|
|
;;
|
|
|
|
|
;; We take the identical tarball from the Bazel mirror, because the URL
|
|
|
|
|
;; at the home page is not versioned and might change.
|
|
|
|
|
("fft2d-src"
|
|
|
|
|
,(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri "https://mirror.bazel.build/www.kurims.kyoto-u.ac.jp/~ooura/fft.tgz")
|
|
|
|
|
(file-name "fft2d.tar.gz")
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"15jjkfvhqvl2c0753d2di8hz0pyzn598g74wqy79awdrf1y67fsj"))))
|
|
|
|
|
("highwayhash-src"
|
|
|
|
|
,(let ((commit "be5edafc2e1a455768e260ccd68ae7317b6690ee")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/google/highwayhash")
|
2019-04-08 08:45:47 -04:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (string-append "highwayhash-0-" revision
|
|
|
|
|
(string-take commit 7)
|
|
|
|
|
"-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"154jwf98cyy54hldr94pgjn85zynly3abpnc1avmb8a18lzwjyb6")))))
|
|
|
|
|
("nsync-src"
|
|
|
|
|
,(let ((version "0559ce013feac8db639ee1bf776aca0325d28777")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://mirror.bazel.build/"
|
|
|
|
|
"github.com/google/nsync/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append "nsync-0." revision
|
|
|
|
|
"-" (string-take version 7)
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0qdkyqym34x739mmzv97ah5r7ph462v5xkxqxvidmcfqbi64b132")))))
|
|
|
|
|
("re2-src"
|
|
|
|
|
,(let ((commit "e7efc48")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/google/re2")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (string-append "re2-0-" revision
|
|
|
|
|
(string-take commit 7)
|
|
|
|
|
"-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"161g9841rjfsy5pn52fcis0s9hdr7rxvb06pad38j5rppfihvign")))))
|
|
|
|
|
("googletest" ,googletest)
|
|
|
|
|
("swig" ,swig)
|
|
|
|
|
("unzip" ,unzip)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-absl-py" ,python-absl-py)
|
|
|
|
|
("python-astor" ,python-astor)
|
|
|
|
|
("python-gast" ,python-gast)
|
|
|
|
|
("python-grpcio" ,python-grpcio)
|
|
|
|
|
("python-numpy" ,python-numpy)
|
2019-10-20 15:53:50 -04:00
|
|
|
|
("python-protobuf" ,python-protobuf-3.6)
|
2019-04-08 08:45:47 -04:00
|
|
|
|
("python-six" ,python-six)
|
|
|
|
|
("python-termcolo" ,python-termcolor)
|
|
|
|
|
("python-wheel" ,python-wheel)))
|
|
|
|
|
(inputs
|
2019-05-01 17:11:41 -04:00
|
|
|
|
`(("c-ares" ,c-ares)
|
2019-04-08 08:45:47 -04:00
|
|
|
|
("eigen" ,eigen-for-tensorflow)
|
|
|
|
|
("gemmlowp" ,gemmlowp-for-tensorflow)
|
|
|
|
|
("lmdb" ,lmdb)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 13:27:01 -05:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2019-04-08 08:45:47 -04:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("giflib" ,giflib)
|
2020-03-21 10:19:03 -04:00
|
|
|
|
("grpc" ,grpc-1.16.1 "static")
|
2020-03-21 07:33:15 -04:00
|
|
|
|
("grpc:bin" ,grpc-1.16.1)
|
2019-04-08 08:45:47 -04:00
|
|
|
|
("jsoncpp" ,jsoncpp-for-tensorflow)
|
|
|
|
|
("snappy" ,snappy)
|
|
|
|
|
("sqlite" ,sqlite)
|
2019-10-20 15:53:50 -04:00
|
|
|
|
("protobuf" ,protobuf-3.6)
|
2019-04-08 08:45:47 -04:00
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://tensorflow.org")
|
|
|
|
|
(synopsis "Machine learning framework")
|
|
|
|
|
(description
|
|
|
|
|
"TensorFlow is a flexible platform for building and training machine
|
|
|
|
|
learning models. It provides a library for high performance numerical
|
|
|
|
|
computation and includes high level Python APIs, including both a sequential
|
|
|
|
|
API for beginners that allows users to build models quickly by plugging
|
|
|
|
|
together building blocks and a subclassing API with an imperative style for
|
|
|
|
|
advanced research.")
|
|
|
|
|
(license license:asl2.0)))
|
2019-06-18 11:58:31 -04:00
|
|
|
|
|
|
|
|
|
(define-public python-iml
|
|
|
|
|
(package
|
|
|
|
|
(name "python-iml")
|
|
|
|
|
(version "0.6.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "iml" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1k8szlpm19rcwcxdny9qdm3gmaqq8akb4xlvrzyz8c2d679aak6l"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2020-06-16 12:15:38 -04:00
|
|
|
|
`(("ipython" ,python-ipython)
|
2019-06-18 11:58:31 -04:00
|
|
|
|
("numpy" ,python-numpy)
|
|
|
|
|
("pandas" ,python-pandas)
|
|
|
|
|
("scipy" ,python-scipy)))
|
2020-05-26 07:21:19 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("nose" ,python-nose)))
|
2020-05-25 07:24:10 -04:00
|
|
|
|
(home-page "https://github.com/interpretable-ml/iml")
|
2019-06-18 11:58:31 -04:00
|
|
|
|
(synopsis "Interpretable Machine Learning (iML) package")
|
|
|
|
|
(description "Interpretable ML (iML) is a set of data type objects,
|
|
|
|
|
visualizations, and interfaces that can be used by any method designed to
|
|
|
|
|
explain the predictions of machine learning models (or really the output of
|
|
|
|
|
any function). It currently contains the interface and IO code from the Shap
|
|
|
|
|
project, and it will potentially also do the same for the Lime project.")
|
|
|
|
|
(license license:expat)))
|
2019-06-19 08:25:17 -04:00
|
|
|
|
|
|
|
|
|
(define-public python-keras-applications
|
|
|
|
|
(package
|
|
|
|
|
(name "python-keras-applications")
|
|
|
|
|
(version "1.0.8")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "Keras_Applications" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1rcz31ca4axa6kzhjx4lwqxbg4wvlljkj8qj9a7p9sfd5fhzjyam"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
;; The tests require Keras, but this package is needed to build Keras.
|
|
|
|
|
(arguments '(#:tests? #f))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-h5py" ,python-h5py)
|
|
|
|
|
("python-numpy" ,python-numpy)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-pytest" ,python-pytest)
|
|
|
|
|
("python-pytest-cov" ,python-pytest-cov)
|
|
|
|
|
("python-pytest-pep8" ,python-pytest-pep8)
|
|
|
|
|
("python-pytest-xdist" ,python-pytest-xdist)))
|
|
|
|
|
(home-page "https://github.com/keras-team/keras-applications")
|
|
|
|
|
(synopsis "Reference implementations of popular deep learning models")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides reference implementations of popular deep learning
|
|
|
|
|
models for use with the Keras deep learning framework.")
|
|
|
|
|
(license license:expat)))
|
2019-06-19 08:25:26 -04:00
|
|
|
|
|
|
|
|
|
(define-public python-keras-preprocessing
|
|
|
|
|
(package
|
|
|
|
|
(name "python-keras-preprocessing")
|
|
|
|
|
(version "1.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "Keras_Preprocessing" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1r98nm4k1svsqjyaqkfk23i31bl1kcfcyp7094yyj3c43phfp3as"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-numpy" ,python-numpy)
|
|
|
|
|
("python-six" ,python-six)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-pandas" ,python-pandas)
|
|
|
|
|
("python-pillow" ,python-pillow)
|
|
|
|
|
("python-pytest" ,python-pytest)
|
|
|
|
|
("python-pytest-cov" ,python-pytest-cov)
|
|
|
|
|
("python-pytest-xdist" ,python-pytest-xdist)
|
|
|
|
|
("tensorflow" ,tensorflow)))
|
|
|
|
|
(home-page "https://github.com/keras-team/keras-preprocessing/")
|
|
|
|
|
(synopsis "Data preprocessing and augmentation for deep learning models")
|
|
|
|
|
(description
|
|
|
|
|
"Keras Preprocessing is the data preprocessing and data augmentation
|
|
|
|
|
module of the Keras deep learning library. It provides utilities for working
|
|
|
|
|
with image data, text data, and sequence data.")
|
|
|
|
|
(license license:expat)))
|
2019-06-19 08:26:45 -04:00
|
|
|
|
|
|
|
|
|
(define-public python-keras
|
|
|
|
|
(package
|
|
|
|
|
(name "python-keras")
|
|
|
|
|
(version "2.2.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "Keras" version))
|
2019-07-19 09:44:26 -04:00
|
|
|
|
(patches (search-patches "python-keras-integration-test.patch"))
|
2019-06-19 08:26:45 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1j8bsqzh49vjdxy6l1k4iwax5vpjzniynyd041xjavdzvfii1dlh"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'remove-tests-for-unavailable-features
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file "keras/backend/theano_backend.py")
|
|
|
|
|
(delete-file "keras/backend/cntk_backend.py")
|
|
|
|
|
(delete-file "tests/keras/backend/backend_test.py")
|
|
|
|
|
|
|
|
|
|
;; FIXME: This doesn't work because Tensorflow is missing the
|
|
|
|
|
;; coder ops library.
|
|
|
|
|
(delete-file "tests/keras/test_callbacks.py")
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; These tests attempt to download data files from the internet.
|
|
|
|
|
(delete-file "tests/integration_tests/test_datasets.py")
|
|
|
|
|
(delete-file "tests/integration_tests/imagenet_utils_test.py")
|
2020-10-05 01:31:07 -04:00
|
|
|
|
;; Backport https://github.com/keras-team/keras/pull/12479.
|
|
|
|
|
(substitute* "tests/keras/engine/test_topology.py"
|
|
|
|
|
(("np.ones\\(\\(3, 2\\)\\)")
|
|
|
|
|
"1."))
|
|
|
|
|
(invoke "python" "-m" "pytest"
|
|
|
|
|
;; The following test fail only in the build container;
|
|
|
|
|
;; skip it.
|
|
|
|
|
"-k" "not test_selu"))))))
|
2019-06-19 08:26:45 -04:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-h5py" ,python-h5py)
|
|
|
|
|
("python-keras-applications" ,python-keras-applications)
|
|
|
|
|
("python-keras-preprocessing" ,python-keras-preprocessing)
|
|
|
|
|
("python-numpy" ,python-numpy)
|
|
|
|
|
("python-pydot" ,python-pydot)
|
|
|
|
|
("python-pyyaml" ,python-pyyaml)
|
|
|
|
|
("python-scipy" ,python-scipy)
|
|
|
|
|
("python-six" ,python-six)
|
|
|
|
|
("tensorflow" ,tensorflow)
|
|
|
|
|
("graphviz" ,graphviz)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-pandas" ,python-pandas)
|
|
|
|
|
("python-pytest" ,python-pytest)
|
|
|
|
|
("python-pytest-cov" ,python-pytest-cov)
|
|
|
|
|
("python-pytest-pep8" ,python-pytest-pep8)
|
|
|
|
|
("python-pytest-timeout" ,python-pytest-timeout)
|
|
|
|
|
("python-pytest-xdist" ,python-pytest-xdist)
|
|
|
|
|
("python-sphinx" ,python-sphinx)
|
|
|
|
|
("python-requests" ,python-requests)))
|
|
|
|
|
(home-page "https://github.com/keras-team/keras")
|
|
|
|
|
(synopsis "High-level deep learning framework")
|
|
|
|
|
(description "Keras is a high-level neural networks API, written in Python
|
|
|
|
|
and capable of running on top of TensorFlow. It was developed with a focus on
|
|
|
|
|
enabling fast experimentation. Use Keras if you need a deep learning library
|
|
|
|
|
that:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Allows for easy and fast prototyping (through user friendliness,
|
|
|
|
|
modularity, and extensibility).
|
|
|
|
|
@item Supports both convolutional networks and recurrent networks, as well as
|
|
|
|
|
combinations of the two.
|
|
|
|
|
@item Runs seamlessly on CPU and GPU.
|
|
|
|
|
@end itemize\n")
|
|
|
|
|
(license license:expat)))
|
2019-10-03 08:11:29 -04:00
|
|
|
|
|
2019-10-16 15:31:42 -04:00
|
|
|
|
(define-public gloo
|
|
|
|
|
(let ((version "0.0.0") ; no proper version tag
|
|
|
|
|
(commit "ca528e32fea9ca8f2b16053cff17160290fc84ce")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "gloo")
|
|
|
|
|
(version (git-version version revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/facebookincubator/gloo")
|
2019-10-16 15:31:42 -04:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1q9f80zy75f6njrzrqkmhc0g3qxs4gskr7ns2jdqanxa2ww7a99w"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("googletest" ,googletest)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-DBUILD_TEST=1")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "gloo_test")
|
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Collective communications library")
|
|
|
|
|
(description
|
|
|
|
|
"Gloo is a collective communications library. It comes with a
|
|
|
|
|
number of collective algorithms useful for machine learning applications.
|
|
|
|
|
These include a barrier, broadcast, and allreduce.")
|
|
|
|
|
(home-page "https://github.com/facebookincubator/gloo")
|
|
|
|
|
(license license:bsd-3))))
|
2019-12-23 18:28:46 -05:00
|
|
|
|
|
|
|
|
|
(define-public python-umap-learn
|
|
|
|
|
(package
|
|
|
|
|
(name "python-umap-learn")
|
|
|
|
|
(version "0.3.10")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "umap-learn" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"02ada2yy6km6zgk2836kg1c97yrcpalvan34p8c57446finnpki1"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
2020-03-08 05:18:39 -04:00
|
|
|
|
`(("python-joblib" ,python-joblib)
|
|
|
|
|
("python-nose" ,python-nose)))
|
2019-12-23 18:28:46 -05:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-numba" ,python-numba)
|
|
|
|
|
("python-numpy" ,python-numpy)
|
|
|
|
|
("python-scikit-learn" ,python-scikit-learn)
|
|
|
|
|
("python-scipy" ,python-scipy)))
|
|
|
|
|
(home-page "https://github.com/lmcinnes/umap")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Uniform Manifold Approximation and Projection")
|
|
|
|
|
(description
|
|
|
|
|
"Uniform Manifold Approximation and Projection is a dimension reduction
|
|
|
|
|
technique that can be used for visualisation similarly to t-SNE, but also for
|
|
|
|
|
general non-linear dimension reduction.")
|
|
|
|
|
(license license:bsd-3)))
|