aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/task-runners.scm
blob: 60a393267bf5ca59b85fefab7524f0888cc0cc29 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
;;;
;;; 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 task-runners)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module (guix utils)
  #:use-module (gnu packages bash)
  #:use-module (gnu packages compression)
  #:use-module (gnu packages golang)
  #:use-module (gnu packages mail)
  #:use-module (guix build-system gnu)
  #:use-module (guix build-system go))

(define-public run
  (package
    (name "run")
    (version "0.7.2")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/TekWizely/run")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "17n11lqhywq4z62w2rakdq80v7mxf83rgln19vj4v4nxpwd2hjjw"))))
    (build-system go-build-system)
    (propagated-inputs
     (list go-github-com-tekwizely-go-parsing))
    (arguments
     `(#:import-path "github.com/tekwizely/run"))
    (synopsis "Easily manage and invoke small scripts and wrappers")
    (description
     "Run is a tool to easily manage and invoke small scripts and wrappers by
using a Runfile.")
    (home-page "https://github.com/TekWizely/run")
    (license license:expat)))

(define-public task-spooler
  (package
    (name "task-spooler")
    (version "1.0.1")
    (source
      (origin
        (method url-fetch)
        (uri (string-append
               "https://vicerveza.homeunix.net/~viric/soft/ts/ts-" version ".tar.gz"))
        (sha256 (base32 "0y32sm2i2jxs88c307h76449fynk75p9qfw1k11l5ixrn03z67pl"))))
    (build-system gnu-build-system)
    (arguments
      `(#:make-flags
        (let ((c-flags "-g -O2"))
          (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
                ,(string-append "CC=" (cc-for-target))
                (string-append "CFLAGS=" c-flags)))
        #:phases
        (modify-phases %standard-phases
          (delete 'configure) ;; no configuration script
          (add-after 'unpack 'rename-and-patch-paths
            (lambda _
              ;; Rename "ts" to "tsp" to not interfere with "ts" command
              ;; from moreutils package.
              (rename-file "ts.1" "tsp.1");
              (substitute* '("Makefile" "testbench.sh")
                (("\\bts\\b") "tsp"))
              ;; Patch gzip/sendmail/shell paths.
              (substitute* "execute.c"
                (("execlp\\(\"gzip\"")
                 (format #f "execlp(\"~a/bin/gzip\""
                         (assoc-ref %build-inputs "gzip"))))
              (substitute* "list.c"
                (("/bin/sh\\b") (which "sh")))
              (substitute* "env.c"
                (("execlp\\(\"/bin/sh\"")
                 (format #f "execlp(\"~a/bin/sh\""
                         (assoc-ref %build-inputs "bash"))))
              (substitute* "mail.c"
                (("execl\\(\"/usr/sbin/sendmail\"")
                 (format #f "execl(\"~a/sbin/sendmail\""
                         (assoc-ref %build-inputs "sendmail"))))))
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
                (setenv "PATH" (string-join (list (getenv "PATH") (getcwd)) ":"))
                (invoke "./testbench.sh")))))))
    (inputs
      `(("bash" ,bash-minimal)
        ("gzip" ,gzip)
        ("sendmail" ,sendmail)))
    (synopsis "UNIX task queue system")
    (description "Task spooler lets users run shell commands asynchronously
one after the other in a separate process.")
    (home-page "https://vicerveza.homeunix.net/~viric/soft/ts/")
    (license license:gpl2+)))
g, cl-online-learning, ecl-cl-online-learning, sbcl-cl-random-forest, cl-random-forest, ecl-cl-random-forest): Move to ... * gnu/packages/lisp-xyz.scm (sbcl-cl-libsvm-format, cl-libsvm-format, ecl-cl-libsvm-format, sbcl-cl-online-learning, cl-online-learning, ecl-cl-online-learning, sbcl-cl-random-forest, cl-random-forest, ecl-cl-random-forest): ... here. Guillaume Le Vaillant 2020-06-23gnu: lightgbm: Don't use unstable tarball....* gnu/packages/machine-learning.scm (lightgbm)[source]: Download using git-fetch. [arguments]: Adjust custom 'check phase accordingly. Efraim Flashner 2020-06-16gnu: python-ipython: Use python-prompt-toolkit-2....This prevents conflicting variants of python-prompt-toolkit from being installed, which prevented jupyter from being installed. * gnu/packages/python-xyz.scm (python-ipython)[propagated-inputs]: Replace python-prompt-toolkit with python-prompt-toolkit-2. (python-widgetsnbextension)[propagated-inputs]: Do not use prompt-toolkit-2-instead-of-prompt-toolkit on python-ipykernel. (python-ipywidgets)[propagated-inputs]: Do not use prompt-toolkit-2-instead-of-prompt-toolkit on python-ipython. (python-jupyter-console)[propagated-inputs]: Do not use prompt-toolkit-2-instead-of-prompt-toolkit on python-ipykernel. (prompt-toolkit-2-instead-of-prompt-toolkit): Remove variable. * gnu/packages/machine-learning.scm (python-iml)[propagated-inputs]: Do not use prompt-toolkit-2-instead-of-prompt-toolkit on python-ipython. Ricardo Wurmus 2020-06-10gnu: dlib: Update to 19.20....* gnu/packages/machine-learning.scm (dlib): Update to 19.20. Tobias Geerinckx-Rice 2020-06-07gnu: sbcl-cl-random-forest: Remove obsolete fix....* gnu/packages/machine-learning.scm (sbcl-cl-random-forest)[arguments]: Remove 'add-sb-cltl2-dependency' phase. Guillaume Le Vaillant 2020-05-30gnu: python-prompt-toolkit: Update to 3.0.5....* gnu/packages/machine-learning.scm (python-iml)[propagated-inputs]: Pin implicit python-prompt-toolkit dependency to version 2. * gnu/packages/python-xyz.scm (python-widgetsnbextension)[propagated-inputs]: Pin implicit python-prompt-toolkit dependency to version 2. (python-ipywidgets)[propagated-inputs]: Pin implicit python-prompt-toolkit dependency to version 2. (python-jupyter-console)[propagated-inputs]: Pin explicit python-prompt-toolkit dependency to version 2. (python-prompt-toolkit): Update to version 3.0.5. [propagated-inputs]: Remove PYTHON-SIX and PYTHON-PYGMENTS. [home-page]: Adjust to current. (python-prompt-toolkit-2): New variable. (prompt-toolkit-2-instead-of-prompt-toolkit): New variable. (python2-prompt-toolkit): Keep at version 2. (python-prompt-toolkit-1): Inherit from version 2. Signed-off-by: Marius Bakke <marius@gnu.org> Edouard Klein 2020-05-30gnu: python-iml: Move nose from propagated to native input....* gnu/packages/machine-learning.scm (python-iml)[propagated-inputs]: Move PYTHON-NOSE ... [native-inputs]: ... here. Signed-off-by: Marius Bakke <marius@gnu.org> Edouard Klein 2020-05-26gnu: python-iml: Use HTTPS home page....* gnu/packages/machine-learning.scm (python-iml)[home-page]: s/http/https/ Signed-off-by: Marius Bakke <marius@gnu.org> Edouard Klein 2020-05-25gnu: tensorflow: Fix build with python-3.8....* gnu/packages/machine-learning.scm (tensorflow)[arguments]: Also import python-version from python-build-system. Adjust 'python3.7-compatibility to also add python-3.8 compatibility. Adjust 'install-python to not hardcode the python version. Efraim Flashner 2020-04-30Merge branch 'master' into core-updates... Conflicts: gnu/local.mk gnu/packages/backup.scm gnu/packages/emacs-xyz.scm gnu/packages/guile.scm gnu/packages/lisp.scm gnu/packages/openldap.scm gnu/packages/package-management.scm gnu/packages/web.scm gnu/packages/xorg.scm Marius Bakke 2020-04-30gnu: kaldi-gstreamer-server: Fix bug....* gnu/packages/machine-learning.scm (kaldi-gstreamer-server)[arguments]: Patch master_server.py before build. Ricardo Wurmus 2020-04-30gnu: kaldi-gstreamer-server: Use Tornado 6....* gnu/packages/machine-learning.scm (kaldi-gstreamer-server)[inputs]: Replace python-tornado with python-tornado-6. Ricardo Wurmus 2020-04-29gnu: kaldi-gstreamer-server: Update to 0-2.f68cab4....* gnu/packages/machine-learning.scm (kaldi-gstreamer-server): Update to 0-2.f68cab4. [inputs]: Replace python-2 with python-wrapper, python2-pygobject with python-pygobject, python2-pyyaml with python-pyyaml, and python2-tornado with python-tornado; remove python2-ws4py-for-kaldi-gstreamer-server and python2-futures. Ricardo Wurmus 2020-04-28gnu: python-scikit-learn: Make python-joblib a propagated input....* gnu/packages/machine-learning.scm (python-scikit-learn) [native-inputs]: Move 'python-joblib' to ... [propagated-inputs]: ... here. Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com> Konrad Hinsen 2020-04-28gnu: gst-kaldi-nnet2-online: Update to 0-2.cb227ef....* gnu/packages/machine-learning.scm (gst-kaldi-nnet2-online): Update to 0-2.cb227ef. Ricardo Wurmus 2020-04-28gnu: kaldi: Update to 0-2.d4791c0....* gnu/packages/machine-learning.scm (kaldi): Update to 0-2.d4791c0. Ricardo Wurmus 2020-04-27gnu: Add python-scikit-rebate....* gnu/packages/machine-learning.scm (python-scikit-rebate): New variable. Roel Janssen 2020-04-13Merge branch 'master' into core-updatesMarius Bakke 2020-04-12gnu: shogun: Fix grammar of "allows to combine" to "combines"....* gnu/packages/machine-learning (shogun): Fix grammar. Vagrant Cascadian 2020-03-30Merge branch 'master' into core-updates... Conflicts: gnu/packages/admin.scm gnu/packages/commencement.scm gnu/packages/guile.scm gnu/packages/linux.scm gnu/packages/package-management.scm gnu/packages/pulseaudio.scm gnu/packages/web.scm Marius Bakke 2020-03-29gnu: vowpal-wabbit: Don't use unstable tarball....* gnu/packages/machine-learning.scm (vowpal-wabbit)[source]: Download using git-fetch. [arguments]: Add custom 'make-files-writable phase. Efraim Flashner 2020-03-21Merge branch 'master' into core-updatesMarius Bakke 2020-03-21gnu: python-scikit-learn: Use HTTPS home page....* gnu/packages/machine-learning.scm (python-scikit-learn)[home-page]: Use HTTPS. Tobias Geerinckx-Rice 2020-03-21gnu: TensorFlow: Correct gRPC input....* gnu/packages/machine-learning.scm (tensorflow)[native-inputs]: Move GRPC:STATIC ... [inputs]: ... here. Marius Bakke 2020-03-21gnu: gRPC: Update to 1.27.3....* gnu/packages/rpc.scm (grpc): Update to 1.27.3. [arguments]: Add "-DgRPC_ABSL_PROVIDER=package" in #:configure-flags. [inputs]: Add ABSEIL-CPP. (grpc-1.16.1): New public variable. * gnu/packages/hyperledger.scm (hyperledger-iroha)[inputs]: Change from GRPC to GRPC-1.16. * gnu/packages/machine-learning.scm (tensorflow)[native-inputs, inputs]: Likewise. Marius Bakke 2020-03-21gnu: gRPC: Move to (gnu packages rpc)....* gnu/packages/machine-learning.scm (grpc): Move to ... * gnu/packages/rpc.scm: ... here. New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly. * gnu/packages/hyperledger.scm: Adjust module imports. Marius Bakke 2020-03-18Merge branch 'master' into core-updatesMarius Bakke 2020-03-14Merge branch 'master' into core-updatesMarius Bakke 2020-03-17gnu: shogun: Use HTTPS home page....* gnu/packages/machine-learning.scm (shogun)[home-page]: Use HTTPS. Tobias Geerinckx-Rice 2020-03-15gnu: python2-scikit-learn: Downgrade to 0.20.4....This is a follow-up to commit 546893c2965c8114e4d7cfe1de46c46664ec4b9e. * gnu/packages/machine-learning.scm (python-scikit-learn)[properties]: New field. (python2-scikit-learn)[version, source]: New fields. Marius Bakke 2020-03-12gnu: grpc: Build shared libraries....* gnu/packages/machine-learning.scm (grpc)[outputs]: Add static. [arguments]: Copy configure-flags from cmake-build-system. Add custom phases 'configure-shared, 'install-shared-libraries and 'move-static-libs to build shared libs and move static libs to their own output. (tensorflow)[native-inputs]: Add grpc:static. Efraim Flashner 2020-03-10Merge branch 'master' into core-updatesMarius Bakke 2020-03-08gnu: python-umap-learn: Fix build....* gnu/packages/machine-learning.scm (python-umap-learn): Add python-joblib to run the test suite. Roel Janssen 2020-03-06gnu: Update python-scikit-learn to 0.22.1....* gnu/packages/machine-learning.scm (python-scikit-learn): Update to 0.22.1; Add python-joblib to native-inputs to run the test suite. Roel Janssen 2020-03-04Merge branch 'master' into core-updatesMarius Bakke 2020-02-23gnu: libsvm: Use HTTPS home page....* gnu/packages/machine-learning.scm (libsvm)[home-page]: Use HTTPS. Tobias Geerinckx-Rice 2020-02-03Merge branch 'staging' into core-updatesMarius Bakke 2020-01-26gnu: ghmm: Fix missing module import....This is a follow-up to commit 9c2563a80b6f1d8fb8677f5314e6180ea9916aa5. * gnu/packages/machine-learning.scm (ghmm)[arguments]: Add #:modules. Marius Bakke 2020-01-22gnu: 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. Marius Bakke 2019-12-23gnu: Add python-umap-learn....* gnu/packages/machine-learning.scm (python-umap-learn): New variable. Brett Gilio