2015-03-11 07:27:14 +01:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2015-12-28 22:14:03 +01:00
|
|
|
|
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
|
2017-01-17 04:29:11 +01:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
|
2015-10-19 13:18:09 +02:00
|
|
|
|
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
2015-12-12 06:22:33 +01:00
|
|
|
|
;;; Copyright © 2016 Al McElrath <hello@yrns.org>
|
2017-03-26 11:12:35 +02:00
|
|
|
|
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
2016-03-04 01:55:03 +01:00
|
|
|
|
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
2017-03-29 16:45:43 +02:00
|
|
|
|
;;; Copyright © 2016, 2017 Kei Kebreau <kei@openmailbox.org>
|
2016-07-02 03:26:55 +02:00
|
|
|
|
;;; Copyright © 2016 John J. Foerch <jjfoerch@earthlink.net>
|
2016-07-29 17:39:47 +02:00
|
|
|
|
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
|
2017-02-09 14:37:02 +01:00
|
|
|
|
;;; Copyright © 2017 ng0 <contact.ng0@cryptolab.net>
|
2017-03-21 20:23:49 +01:00
|
|
|
|
;;; Copyright © 2017 Rodger Fox <thylakoid@openmailbox.org>
|
2015-03-11 07:27:14 +01: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 music)
|
|
|
|
|
#:use-module (guix utils)
|
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2015-07-17 08:47:54 +02:00
|
|
|
|
#:use-module (guix git-download)
|
2015-03-11 07:27:14 +01:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
|
#:use-module (guix build-system gnu)
|
2016-05-16 10:16:28 +02:00
|
|
|
|
#:use-module (guix build-system ant)
|
2015-06-04 10:01:11 +02:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2015-08-26 23:25:31 +02:00
|
|
|
|
#:use-module (guix build-system python)
|
2015-07-17 08:47:54 +02:00
|
|
|
|
#:use-module (guix build-system waf)
|
2015-03-11 07:27:14 +01:00
|
|
|
|
#:use-module (gnu packages)
|
2015-08-31 17:34:28 +02:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2016-09-14 11:27:40 +02:00
|
|
|
|
#:use-module (gnu packages apr)
|
2015-03-11 09:02:34 +01:00
|
|
|
|
#:use-module (gnu packages audio)
|
2015-08-06 19:18:54 +02:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2016-02-16 13:16:16 +01:00
|
|
|
|
#:use-module (gnu packages backup)
|
2015-06-04 10:01:11 +02:00
|
|
|
|
#:use-module (gnu packages base) ;libbdf
|
2015-03-11 07:27:14 +01:00
|
|
|
|
#:use-module (gnu packages bison)
|
2016-02-16 13:16:16 +01:00
|
|
|
|
#:use-module (gnu packages boost)
|
2015-10-19 13:18:09 +02:00
|
|
|
|
#:use-module (gnu packages cdrom)
|
2015-06-04 10:01:11 +02:00
|
|
|
|
#:use-module (gnu packages code)
|
|
|
|
|
#:use-module (gnu packages check)
|
|
|
|
|
#:use-module (gnu packages compression)
|
2015-12-12 06:22:33 +01:00
|
|
|
|
#:use-module (gnu packages curl)
|
2016-05-07 00:57:42 +02:00
|
|
|
|
#:use-module (gnu packages cyrus-sasl)
|
2015-03-11 07:27:14 +01:00
|
|
|
|
#:use-module (gnu packages docbook)
|
gnu: Update module imports for asciidoc and doxygen.
This is a followup to commit 0573a923def01e54bf104e0015ade44ab42f694f.
* gnu/packages/algebra.scm, gnu/packages/bioinformatics.scm,
gnu/packages/fcitx.scm, gnu/packages/fish.scm,
gnu/packages/freedesktop.scm, gnu/packages/game-development.scm,
gnu/packages/gcc.scm, gnu/packages/graphics.scm, gnu/packages/image.scm,
gnu/packages/kodi.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/messaging.scm,
gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/rdf.scm,
gnu/packages/serialization.scm, gnu/packages/version-control.scm,
gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm,
gnu/packages/xiph.scm: Change imports of (gnu packages asciidoc) or
(gnu packages doxygen) to (gnu packages documentation).
2016-05-13 02:18:15 +02:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2016-09-14 11:27:40 +02:00
|
|
|
|
#:use-module (gnu packages emacs)
|
2016-05-07 00:57:42 +02:00
|
|
|
|
#:use-module (gnu packages file)
|
2015-03-11 07:27:14 +01:00
|
|
|
|
#:use-module (gnu packages flex)
|
2015-07-17 08:47:54 +02:00
|
|
|
|
#:use-module (gnu packages fltk)
|
2015-03-11 07:27:14 +01:00
|
|
|
|
#:use-module (gnu packages fonts)
|
|
|
|
|
#:use-module (gnu packages fontutils)
|
2016-02-14 09:19:59 +01:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2015-04-19 18:39:25 +02:00
|
|
|
|
#:use-module (gnu packages gcc)
|
2015-12-12 06:22:33 +01:00
|
|
|
|
#:use-module (gnu packages gnupg)
|
2015-03-11 07:27:14 +01:00
|
|
|
|
#:use-module (gnu packages gettext)
|
|
|
|
|
#:use-module (gnu packages ghostscript)
|
2015-06-18 17:37:47 +02:00
|
|
|
|
#:use-module (gnu packages gl)
|
2015-07-17 08:47:54 +02:00
|
|
|
|
#:use-module (gnu packages glib)
|
2015-03-11 09:02:34 +01:00
|
|
|
|
#:use-module (gnu packages gnome)
|
2016-04-14 20:26:23 +02:00
|
|
|
|
#:use-module (gnu packages graphics)
|
2015-03-11 07:27:14 +01:00
|
|
|
|
#:use-module (gnu packages gtk)
|
|
|
|
|
#:use-module (gnu packages guile)
|
2015-03-11 09:02:34 +01:00
|
|
|
|
#:use-module (gnu packages image)
|
2015-03-11 07:27:14 +01:00
|
|
|
|
#:use-module (gnu packages imagemagick)
|
2015-04-19 18:39:25 +02:00
|
|
|
|
#:use-module (gnu packages java)
|
2015-03-11 09:02:34 +01:00
|
|
|
|
#:use-module (gnu packages linux) ; for alsa-utils
|
2016-09-14 11:27:40 +02:00
|
|
|
|
#:use-module (gnu packages libffi)
|
|
|
|
|
#:use-module (gnu packages llvm)
|
2015-03-11 09:02:34 +01:00
|
|
|
|
#:use-module (gnu packages man)
|
|
|
|
|
#:use-module (gnu packages mp3)
|
2016-02-14 09:19:59 +01:00
|
|
|
|
#:use-module (gnu packages mpd)
|
2015-10-19 13:18:09 +02:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2015-03-11 07:27:14 +01:00
|
|
|
|
#:use-module (gnu packages netpbm)
|
2016-09-14 11:27:40 +02:00
|
|
|
|
#:use-module (gnu packages pcre)
|
2015-08-26 23:25:31 +02:00
|
|
|
|
#:use-module (gnu packages pdf)
|
2015-03-11 07:27:14 +01:00
|
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2015-06-29 18:26:43 +02:00
|
|
|
|
#:use-module (gnu packages pulseaudio) ;libsndfile
|
2015-03-11 07:27:14 +01:00
|
|
|
|
#:use-module (gnu packages python)
|
2015-06-04 10:01:11 +02:00
|
|
|
|
#:use-module (gnu packages qt)
|
2015-06-29 18:26:43 +02:00
|
|
|
|
#:use-module (gnu packages rdf)
|
2015-12-23 08:45:56 +01:00
|
|
|
|
#:use-module (gnu packages readline)
|
2015-03-11 07:27:14 +01:00
|
|
|
|
#:use-module (gnu packages rsync)
|
2016-03-30 04:17:21 +02:00
|
|
|
|
#:use-module (gnu packages sdl)
|
2015-08-06 19:18:54 +02:00
|
|
|
|
#:use-module (gnu packages tcl)
|
2015-03-11 07:27:14 +01:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2016-05-24 21:18:53 +02:00
|
|
|
|
#:use-module (gnu packages tex)
|
2016-05-07 00:57:42 +02:00
|
|
|
|
#:use-module (gnu packages tls)
|
2015-10-19 13:18:09 +02:00
|
|
|
|
#:use-module (gnu packages video)
|
2015-06-04 10:01:11 +02:00
|
|
|
|
#:use-module (gnu packages web)
|
2016-03-28 16:52:50 +02:00
|
|
|
|
#:use-module (gnu packages wxwidgets)
|
2015-03-11 09:02:34 +01:00
|
|
|
|
#:use-module (gnu packages xml)
|
2015-08-31 17:34:28 +02:00
|
|
|
|
#:use-module (gnu packages xorg)
|
2015-03-11 09:02:34 +01:00
|
|
|
|
#:use-module (gnu packages xiph)
|
2015-08-06 19:18:54 +02:00
|
|
|
|
#:use-module (gnu packages zip)
|
|
|
|
|
#:use-module ((srfi srfi-1) #:select (last)))
|
2015-03-11 07:27:14 +01:00
|
|
|
|
|
2016-03-28 16:52:50 +02:00
|
|
|
|
(define-public aria-maestosa
|
|
|
|
|
(package
|
|
|
|
|
(name "aria-maestosa")
|
2017-04-02 12:00:05 +02:00
|
|
|
|
(version "1.4.13")
|
2016-03-28 16:52:50 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/ariamaestosa/ariamaestosa/"
|
|
|
|
|
version "/AriaSrc-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-02 12:00:05 +02:00
|
|
|
|
"1cs3z6frx2ch7rm5ammx9p0rxcjrbj1vq14hvcbimpaw39rdsn3d"))))
|
2016-03-28 16:52:50 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no tests
|
|
|
|
|
#:phases
|
|
|
|
|
;; TODO: Add scons-build-system and use it here.
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'scons-propagate-environment
|
|
|
|
|
(lambda _
|
|
|
|
|
;; By design, SCons does not, by default, propagate
|
|
|
|
|
;; environment variables to subprocesses. See:
|
|
|
|
|
;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
|
|
|
|
|
;; Here, we modify the SConstruct file to arrange for
|
|
|
|
|
;; environment variables to be propagated.
|
|
|
|
|
(substitute* "SConstruct"
|
|
|
|
|
(("env = Environment\\(\\)")
|
|
|
|
|
"env = Environment(ENV=os.environ)")
|
|
|
|
|
;; Scons errors out when copying subdirectories from Resources,
|
|
|
|
|
;; so we move them instead.
|
|
|
|
|
(("Copy") "Move")
|
|
|
|
|
;; We move the "score" and "Documentation" directories at once,
|
|
|
|
|
;; so we have to ignore files contained therein.
|
|
|
|
|
(("if \".svn\" in file" line)
|
|
|
|
|
(string-append line
|
|
|
|
|
" or \"score/\" in file"
|
|
|
|
|
" or \"Documentation/\" in file")))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'build (lambda _ (zero? (system* "scons"))))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(and
|
|
|
|
|
(zero? (system* "scons"
|
|
|
|
|
(string-append "prefix=" out)
|
|
|
|
|
"install"))
|
|
|
|
|
;; Fix directory permissions
|
|
|
|
|
(begin
|
|
|
|
|
(chmod (string-append out "/share/Aria/Documentation") #o555)
|
|
|
|
|
(chmod (string-append out "/share/Aria/score") #o555)
|
|
|
|
|
#t))))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("wxwidgets" ,wxwidgets)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("alsa-lib" ,alsa-lib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("scons" ,scons)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://ariamaestosa.sourceforge.net/")
|
|
|
|
|
(synopsis "MIDI sequencer and editor")
|
|
|
|
|
(description
|
|
|
|
|
"Aria Maestosa is a MIDI sequencer and editor. It lets you compose, edit
|
|
|
|
|
and play MIDI files with a few clicks in a user-friendly interface offering
|
|
|
|
|
score, keyboard, guitar, drum and controller views.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2015-10-19 13:18:09 +02:00
|
|
|
|
(define-public cmus
|
|
|
|
|
(package
|
|
|
|
|
(name "cmus")
|
|
|
|
|
(version "2.7.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/" name "/" name "/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
2015-10-22 11:21:51 +02:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2015-10-19 13:18:09 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0raixgjavkm7hxppzsc5zqbfbh2bhjcmbiplhnsxsmyj8flafyc1"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; cmus does not include tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace
|
|
|
|
|
'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
|
|
|
|
|
;; It's an idiosyncratic configure script that doesn't
|
|
|
|
|
;; understand --prefix=..; it wants prefix=.. instead.
|
|
|
|
|
(zero?
|
|
|
|
|
(system* "./configure"
|
|
|
|
|
(string-append "prefix=" out)))))))))
|
|
|
|
|
;; TODO: cmus optionally supports the following formats, which haven't yet
|
|
|
|
|
;; been added to Guix:
|
|
|
|
|
;;
|
|
|
|
|
;; - Roar, libroar
|
|
|
|
|
;;
|
|
|
|
|
;; - DISCID_LIBS, apparently different from cd-discid which is included in
|
|
|
|
|
;; Guix. See <http://sourceforge.net/projects/discid/>
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("ao" ,ao)
|
|
|
|
|
("ffmpeg" ,ffmpeg)
|
|
|
|
|
("flac" ,flac)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("libcddb" ,libcddb)
|
|
|
|
|
("libcdio-paranoia" ,libcdio-paranoia)
|
|
|
|
|
("libcue" ,libcue)
|
|
|
|
|
("libmad" ,libmad)
|
|
|
|
|
("libmodplug" ,libmodplug)
|
|
|
|
|
("libmpcdec" ,libmpcdec)
|
|
|
|
|
("libsamplerate" ,libsamplerate)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("opusfile" ,opusfile)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("wavpack" ,wavpack)))
|
|
|
|
|
(home-page "https://cmus.github.io/")
|
|
|
|
|
(synopsis "Small console music player")
|
|
|
|
|
(description "Cmus is a small and fast console music player. It supports
|
|
|
|
|
many input formats and provides a customisable Vi-style user interface.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2016-12-10 03:58:08 +01:00
|
|
|
|
(define-public denemo
|
|
|
|
|
(package
|
|
|
|
|
(name "denemo")
|
2017-03-26 11:12:35 +02:00
|
|
|
|
(version "2.1")
|
2016-12-10 03:58:08 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/denemo/denemo-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-26 11:12:35 +02:00
|
|
|
|
"0hggf8c4xcrjcxd5m00r788r7jg7g8ff54w2idfaqpj5j2ix3299"))))
|
2016-12-10 03:58:08 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
;; Denemo's documentation says to use this command to run its
|
|
|
|
|
;; testsuite.
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "make" "-C" "tests" "check"))))
|
2016-12-11 23:23:32 +01:00
|
|
|
|
(add-before 'build 'set-lilypond
|
|
|
|
|
;; This phase sets the default path for lilypond to its current
|
|
|
|
|
;; location in the store.
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let* ((lilypond (string-append (assoc-ref inputs "lilypond")
|
|
|
|
|
"/bin/lilypond")))
|
|
|
|
|
(substitute* "src/core/prefops.c"
|
|
|
|
|
(("g_string_new \\(\"lilypond\"\\);")
|
|
|
|
|
(string-append "g_string_new (\""
|
|
|
|
|
lilypond
|
|
|
|
|
"\");"))))
|
|
|
|
|
#t))
|
2016-12-10 03:58:08 +01:00
|
|
|
|
(add-after 'install 'correct-filename
|
|
|
|
|
;; "graft-derivation/shallow" from the (guix grafts) module runs in
|
|
|
|
|
;; the C locale, expecting file names to be ASCII encoded. This
|
|
|
|
|
;; phase renames a filename with a Unicode character in it to meet
|
|
|
|
|
;; the aforementioned condition.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
|
(chdir (string-append
|
|
|
|
|
out
|
|
|
|
|
"/share/denemo/templates/instruments/woodwind"))
|
|
|
|
|
(rename-file "Clarinet in B♭.denemo"
|
|
|
|
|
"Clarinet in Bb.denemo"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("glib:bin", glib "bin") ; for gtester
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("aubio" ,aubio)
|
|
|
|
|
("evince" ,evince)
|
|
|
|
|
("fftw" ,fftw)
|
|
|
|
|
("fluidsynth" ,fluidsynth)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("gtk-doc" ,gtk-doc)
|
|
|
|
|
("gtksourceview" ,gtksourceview)
|
|
|
|
|
("guile" ,guile-2.0)
|
|
|
|
|
("intltool" ,intltool)
|
|
|
|
|
("librsvg" ,librsvg)
|
|
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("libxml2" ,libxml2)
|
2016-12-11 23:23:32 +01:00
|
|
|
|
("lilypond", lilypond)
|
2016-12-10 03:58:08 +01:00
|
|
|
|
("portaudio" ,portaudio)
|
|
|
|
|
("portmidi" ,portmidi)
|
|
|
|
|
("rubberband" ,rubberband)))
|
|
|
|
|
(synopsis "Graphical music notation, front-end to GNU Lilypond")
|
|
|
|
|
(description
|
|
|
|
|
"GNU Denemo is a music notation editor that provides a convenient
|
|
|
|
|
interface to the powerful music engraving program Lilypond. Music can be
|
|
|
|
|
typed in using the computer keyboard, played in using a MIDI keyboard, or
|
|
|
|
|
even input via a microphone connected to the sound card. The final product
|
|
|
|
|
is publication-quality music notation that is continuously generated in the
|
|
|
|
|
background while you work.")
|
|
|
|
|
(home-page "http://www.denemo.org")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2015-06-29 18:26:43 +02:00
|
|
|
|
(define-public hydrogen
|
|
|
|
|
(package
|
|
|
|
|
(name "hydrogen")
|
2016-11-25 21:43:17 +01:00
|
|
|
|
(version "0.9.7")
|
2015-06-29 18:26:43 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-02-16 13:16:16 +01:00
|
|
|
|
"https://github.com/hydrogen-music/hydrogen/archive/"
|
|
|
|
|
version ".tar.gz"))
|
2015-06-29 18:26:43 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-25 21:43:17 +01:00
|
|
|
|
"1dy2jfkdw0nchars4xi4isrz66fqn53a9qk13bqza7lhmsg3s3qy"))))
|
2016-02-16 13:16:16 +01:00
|
|
|
|
(build-system cmake-build-system)
|
2015-06-29 18:26:43 +02:00
|
|
|
|
(arguments
|
2016-02-16 13:16:16 +01:00
|
|
|
|
`(#:test-target "tests"))
|
2015-06-29 18:26:43 +02:00
|
|
|
|
(native-inputs
|
2016-02-16 13:16:16 +01:00
|
|
|
|
`(("cppunit" ,cppunit)
|
2015-06-29 18:26:43 +02:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2016-02-16 13:16:16 +01:00
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
2015-06-29 18:26:43 +02:00
|
|
|
|
("jack" ,jack-1)
|
2016-02-16 13:16:16 +01:00
|
|
|
|
;; ("ladspa" ,ladspa) ; cannot find during configure
|
2015-06-29 18:26:43 +02:00
|
|
|
|
("lash" ,lash)
|
2016-02-16 13:16:16 +01:00
|
|
|
|
("libarchive" ,libarchive)
|
|
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
|
("libtar" ,libtar)
|
|
|
|
|
("lrdf" ,lrdf)
|
2015-06-29 18:26:43 +02:00
|
|
|
|
("qt" ,qt-4)
|
2016-02-16 13:16:16 +01:00
|
|
|
|
("zlib" ,zlib)))
|
2015-06-29 18:26:43 +02:00
|
|
|
|
(home-page "http://www.hydrogen-music.org")
|
|
|
|
|
(synopsis "Drum machine")
|
|
|
|
|
(description
|
|
|
|
|
"Hydrogen is an advanced drum machine for GNU/Linux. Its main goal is to
|
|
|
|
|
enable professional yet simple and intuitive pattern-based drum programming.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2016-09-14 11:27:40 +02:00
|
|
|
|
(define-public extempore
|
|
|
|
|
(package
|
|
|
|
|
(name "extempore")
|
|
|
|
|
(version "0.7.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/digego/extempore/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1wap1mvsicrhlazikf7l8zxg37fir8bmnh9rin28m1rix730vcch"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(;; The default target also includes ahead-of-time compilation of the
|
|
|
|
|
;; standard libraries. However, during the "install" phase this would
|
|
|
|
|
;; happen *again* for unknown reasons. Hence we only build the
|
|
|
|
|
;; extempore executable during the build phase.
|
|
|
|
|
#:make-flags '("extempore")
|
|
|
|
|
#:configure-flags '("-DJACK=ON"
|
|
|
|
|
;; We want to distribute.
|
|
|
|
|
"-DIN_TREE=OFF"
|
|
|
|
|
;; Don't download any dependencies.
|
|
|
|
|
"-DBUILD_DEPS=OFF")
|
|
|
|
|
#:modules ((ice-9 match)
|
|
|
|
|
(guix build cmake-build-system)
|
|
|
|
|
(guix build utils))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-directories
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Rewrite default path to runtime directory
|
|
|
|
|
(substitute* "src/Extempore.cpp"
|
|
|
|
|
(("runtimedir \\+= \"runtime\"")
|
|
|
|
|
(string-append "runtimedir = \""
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/lib/extempore/runtime\"")))
|
|
|
|
|
(substitute* "extras/extempore.el"
|
|
|
|
|
(("\\(runtime-directory \\(concat default-directory \"runtime\"\\)\\)")
|
|
|
|
|
(string-append "(runtime-directory \""
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/lib/extempore/runtime"
|
|
|
|
|
"\")")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'link-with-additional-libs
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The executable must be linked with libffi and zlib.
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("add_dependencies\\(aot_extended extended_deps\\)") "")
|
|
|
|
|
(("target_link_libraries\\(extempore PRIVATE dl" line)
|
|
|
|
|
(string-append line " ffi z")))
|
|
|
|
|
#t))
|
|
|
|
|
;; FIXME: AOT compilation of the nanovg bindings fail with the error:
|
|
|
|
|
;; "Compiler Error could not bind _nvgLinearGradient"
|
|
|
|
|
(add-after 'unpack 'disable-nanovg
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("aotcompile_lib\\(libs/external/nanovg.xtm.*") ""))
|
|
|
|
|
#t))
|
|
|
|
|
;; FIXME: All examples that are used as tests segfault for some
|
|
|
|
|
;; unknown reason.
|
|
|
|
|
(add-after 'unpack 'disable-broken-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("extempore_add_example_as_test\\(.*") ""))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'hardcode-external-lib-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(use-modules (ice-9 match))
|
|
|
|
|
(for-each
|
|
|
|
|
(match-lambda
|
|
|
|
|
((file-name lib pkg-name)
|
|
|
|
|
(substitute* (string-append "libs/external/" file-name ".xtm")
|
|
|
|
|
((lib) (string-append (assoc-ref inputs pkg-name)
|
|
|
|
|
"/lib/" lib)))))
|
|
|
|
|
'(("assimp" "libassimp.so" "assimp")
|
|
|
|
|
("portmidi" "libportmidi.so" "portmidi")
|
|
|
|
|
("sndfile" "libsndfile.so" "libsndfile")
|
|
|
|
|
("fft" "libkiss_fft.so" "kiss-fft")
|
|
|
|
|
("stb_image" "libstb_image.so" "stb-image")
|
|
|
|
|
("nanovg" "libnanovg.so" "nanovg")
|
|
|
|
|
("glext" "libGL.so" "mesa")
|
|
|
|
|
("glfw3" "libglfw.so" "glfw")
|
|
|
|
|
("gl/glcore-directbind" "libGL.so" "mesa")
|
|
|
|
|
("gl/glcompat-directbind" "libGL.so" "mesa")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'use-own-llvm
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "EXT_LLVM_DIR" (assoc-ref inputs "llvm"))
|
|
|
|
|
;; Our LLVM builds shared libraries, so Extempore should use
|
|
|
|
|
;; those.
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("CMAKE_STATIC_LIBRARY") "CMAKE_SHARED_LIBRARY"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'fix-aot-compilation
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
;; EXT_SHARE_DIR does not exist before installation, so the
|
|
|
|
|
;; working directory should be the source directory instead.
|
|
|
|
|
(("WORKING_DIRECTORY \\$\\{EXT_SHARE_DIR\\}")
|
|
|
|
|
"WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}")
|
|
|
|
|
;; Extempore needs to be told where the runtime is to be found.
|
|
|
|
|
;; While we're at it we disable automatic tuning for a specific
|
|
|
|
|
;; CPU to make binary substitution possible.
|
|
|
|
|
(("COMMAND extempore" prefix)
|
|
|
|
|
(string-append prefix " --sharedir " (getcwd)
|
|
|
|
|
" --mcpu=generic --attr=none")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("llvm" ,llvm-for-extempore)
|
|
|
|
|
("libffi" ,libffi)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
|
("glfw" ,glfw)
|
|
|
|
|
("apr" ,apr)
|
|
|
|
|
("stb-image" ,stb-image-for-extempore)
|
|
|
|
|
("kiss-fft" ,kiss-fft-for-extempore)
|
|
|
|
|
("nanovg" ,nanovg-for-extempore)
|
|
|
|
|
("portmidi" ,portmidi-for-extempore)
|
|
|
|
|
("assimp" ,assimp)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("portaudio" ,portaudio)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("pcre" ,pcre)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("emacs" ,emacs-no-x)))
|
2016-09-21 21:47:56 +02:00
|
|
|
|
;; Extempore refuses to build on architectures other than x86_64
|
|
|
|
|
(supported-systems '("x86_64-linux"))
|
2017-04-02 12:00:28 +02:00
|
|
|
|
(home-page "http://digego.github.io/extempore/")
|
2016-09-14 11:27:40 +02:00
|
|
|
|
(synopsis "Programming environment for live coding of multimedia")
|
|
|
|
|
(description
|
|
|
|
|
"Extempore is a programming language and runtime environment designed
|
|
|
|
|
with live programming in mind. It supports interactive programming in a REPL
|
|
|
|
|
style, compiling and binding code just-in-time. Although Extempore has its
|
|
|
|
|
roots in 'live coding' of audiovisual media art, it is suitable for any task
|
|
|
|
|
domain where dynamic run-time modifiability and good numerical performance are
|
|
|
|
|
required. Extempore also has strong timing and concurrency semantics, which
|
|
|
|
|
are helpful when working in problem spaces where timing is important (such as
|
|
|
|
|
audio and video).")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2015-07-19 18:37:15 +02:00
|
|
|
|
(define-public klick
|
|
|
|
|
(package
|
|
|
|
|
(name "klick")
|
|
|
|
|
(version "0.12.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://das.nasophon.de/download/klick-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0hmcaywnwzjci3pp4xpvbijnnwvibz7gf9xzcdjbdca910y5728j"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no "check" target
|
|
|
|
|
#:phases
|
|
|
|
|
;; TODO: Add scons-build-system and use it here.
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(mkdir-p out)
|
|
|
|
|
(zero? (system* "scons" (string-append "PREFIX=" out))))))
|
|
|
|
|
(replace 'install (lambda _ (zero? (system* "scons" "install")))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
|
("libsamplerate" ,libsamplerate)
|
|
|
|
|
("liblo" ,liblo)
|
|
|
|
|
("rubberband" ,rubberband)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("scons" ,scons)
|
|
|
|
|
("python" ,python-2)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://das.nasophon.de/klick/")
|
|
|
|
|
(synopsis "Metronome for JACK")
|
|
|
|
|
(description
|
|
|
|
|
"klick is an advanced command-line based metronome for JACK. It allows
|
|
|
|
|
you to define complex tempo maps for entire songs or performances.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2016-02-25 09:46:01 +01:00
|
|
|
|
(define-public gtklick
|
|
|
|
|
(package
|
|
|
|
|
(name "gtklick")
|
|
|
|
|
(version "0.6.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://das.nasophon.de/download/gtklick-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0dq1km6njnzsqdqyf6wzir9g733z0mc9vmxfg2383k3c2a2di6bp"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:python ,python-2
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'add-sitedirs
|
|
|
|
|
;; .pth files are not automatically interpreted unless the
|
|
|
|
|
;; directories containing them are added as "sites". The directories
|
|
|
|
|
;; are then added to those in the PYTHONPATH. This is required for
|
|
|
|
|
;; the operation of pygtk.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "gtklick/gtklick.py"
|
|
|
|
|
(("import pygtk")
|
|
|
|
|
"import pygtk, site, sys
|
|
|
|
|
for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))))
|
|
|
|
|
(add-after 'unpack 'inject-store-path-to-klick
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "gtklick/klick_backend.py"
|
|
|
|
|
(("KLICK_PATH = 'klick'")
|
|
|
|
|
(string-append "KLICK_PATH = '"
|
|
|
|
|
(assoc-ref inputs "klick")
|
|
|
|
|
"/bin/klick'")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("klick" ,klick)
|
|
|
|
|
("python2-pyliblo" ,python2-pyliblo)
|
|
|
|
|
("python2-pygtk" ,python2-pygtk)))
|
|
|
|
|
(native-inputs
|
2016-09-25 09:33:02 +02:00
|
|
|
|
`(("gettext" ,gettext-minimal)))
|
2016-02-25 09:46:01 +01:00
|
|
|
|
(home-page "http://das.nasophon.de/gtklick/")
|
|
|
|
|
(synopsis "Simple metronome with an easy-to-use graphical interface")
|
|
|
|
|
(description
|
|
|
|
|
"Gtklick is a simple metronome with an easy-to-use graphical user
|
|
|
|
|
interface. It is implemented as a frontend to @code{klick}.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-03-11 07:27:14 +01:00
|
|
|
|
(define-public lilypond
|
|
|
|
|
(package
|
|
|
|
|
(name "lilypond")
|
2017-04-02 12:00:50 +02:00
|
|
|
|
(version "2.19.58")
|
2015-03-11 07:27:14 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://download.linuxaudio.org/lilypond/sources/v"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-02 12:00:50 +02:00
|
|
|
|
"0wjapb3if6qqdmr57z20hidx7czhl023cjimr01i8yf7k41fakh7"))))
|
2015-03-11 07:27:14 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2015-08-31 10:08:20 +02:00
|
|
|
|
`(#:tests? #f ; out-test/collated-files.html fails
|
2015-03-11 07:27:14 +01:00
|
|
|
|
#:out-of-source? #t
|
2015-12-24 09:53:07 +01:00
|
|
|
|
#:make-flags '("conf=www") ;to generate images for info manuals
|
2015-08-31 10:08:20 +02:00
|
|
|
|
#:configure-flags
|
2015-12-24 09:53:07 +01:00
|
|
|
|
(list "CONFIGURATION=www"
|
|
|
|
|
(string-append "--with-texgyre-dir="
|
2015-08-31 10:08:20 +02:00
|
|
|
|
(assoc-ref %build-inputs "font-tex-gyre")
|
|
|
|
|
"/share/fonts/opentype/"))
|
2015-03-11 07:27:14 +01:00
|
|
|
|
#:phases
|
2015-10-11 11:24:20 +02:00
|
|
|
|
(modify-phases %standard-phases
|
2015-12-24 09:53:07 +01:00
|
|
|
|
(add-after 'unpack 'fix-path-references
|
|
|
|
|
(lambda _
|
2015-10-11 11:24:20 +02:00
|
|
|
|
(substitute* "scm/backend-library.scm"
|
|
|
|
|
(("\\(search-executable '\\(\"gs\"\\)\\)")
|
2015-12-24 09:53:07 +01:00
|
|
|
|
(string-append "\"" (which "gs") "\""))
|
|
|
|
|
(("\"/bin/sh\"")
|
|
|
|
|
(string-append "\"" (which "sh") "\"")))
|
2015-10-11 11:24:20 +02:00
|
|
|
|
#t))
|
|
|
|
|
(add-before 'configure 'prepare-configuration
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "configure"
|
2016-03-25 09:58:57 +01:00
|
|
|
|
(("SHELL=/bin/sh") "SHELL=sh")
|
|
|
|
|
;; When checking the fontforge version do not consider the
|
|
|
|
|
;; version string that's part of the directory.
|
|
|
|
|
(("head -n") "tail -n"))
|
2015-12-24 09:53:07 +01:00
|
|
|
|
(setenv "out" "www")
|
|
|
|
|
(setenv "conf" "www")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-info
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "make"
|
|
|
|
|
"-j" (number->string (parallel-job-count))
|
|
|
|
|
"conf=www" "install-info")))))))
|
2015-03-11 07:27:14 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-1.8)
|
|
|
|
|
("font-dejavu" ,font-dejavu)
|
2015-08-31 10:08:20 +02:00
|
|
|
|
("font-tex-gyre" ,font-tex-gyre)
|
2015-03-11 07:27:14 +01:00
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
2016-09-02 12:12:07 +02:00
|
|
|
|
("ghostscript" ,ghostscript)
|
2015-03-11 07:27:14 +01:00
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("python" ,python-2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("fontforge" ,fontforge)
|
|
|
|
|
("dblatex" ,dblatex)
|
2016-09-25 09:33:02 +02:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2015-03-11 07:27:14 +01:00
|
|
|
|
("imagemagick" ,imagemagick)
|
|
|
|
|
("netpbm" ,netpbm) ;for pngtopnm
|
|
|
|
|
("texlive" ,texlive) ;metafont and metapost
|
|
|
|
|
("texinfo" ,texinfo)
|
|
|
|
|
("texi2html" ,texi2html)
|
|
|
|
|
("rsync" ,rsync)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("zip" ,zip)))
|
|
|
|
|
(home-page "http://www.lilypond.org/")
|
|
|
|
|
(synopsis "Music typesetting")
|
|
|
|
|
(description
|
|
|
|
|
"GNU LilyPond is a music typesetter, which produces high-quality sheet
|
|
|
|
|
music. Music is input in a text file containing control sequences which are
|
|
|
|
|
interpreted by LilyPond to produce the final document. It is extendable with
|
|
|
|
|
Guile.")
|
2016-01-19 22:14:15 +01:00
|
|
|
|
(license license:gpl3+)
|
|
|
|
|
|
|
|
|
|
;; On armhf and mips64el, building the documentation sometimes leads to
|
|
|
|
|
;; more than an hour of silence, so double the max silent time.
|
|
|
|
|
(properties `((max-silent-time . 7200)))))
|
2015-03-11 09:02:34 +01:00
|
|
|
|
|
2015-07-17 08:47:54 +02:00
|
|
|
|
(define-public non-sequencer
|
|
|
|
|
;; The latest tagged release is three years old and uses a custom build
|
2016-11-28 22:00:41 +01:00
|
|
|
|
;; system, so we take the last commit.
|
2017-04-02 12:08:11 +02:00
|
|
|
|
(let ((commit "10c31e57291b6e42be53371567a722b62b32d220")
|
|
|
|
|
(revision "3"))
|
2015-07-17 08:47:54 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "non-sequencer")
|
2016-11-28 22:00:41 +01:00
|
|
|
|
(version (string-append "1.9.5-" revision "." (string-take commit 7)))
|
2015-07-17 08:47:54 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "git://git.tuxfamily.org/gitroot/non/non.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-02 12:08:11 +02:00
|
|
|
|
"080rha4ffp7qycyg1mqcf4vj0s7z8qfvz6bxm0w29xgg2kkmb3fx"))
|
2015-07-17 08:47:54 +02:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(build-system waf-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no "check" target
|
2015-10-17 10:10:07 +02:00
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "--project=sequencer"
|
|
|
|
|
;; Disable the use of SSE unless on x86_64.
|
|
|
|
|
,@(if (not (string-prefix? "x86_64" (or (%current-target-system)
|
|
|
|
|
(%current-system))))
|
|
|
|
|
'("--disable-sse")
|
|
|
|
|
'()))
|
2015-10-27 13:01:35 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before
|
|
|
|
|
'configure 'set-flags
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Compile with C++11, required by libsigc++.
|
|
|
|
|
(setenv "CXXFLAGS" "-std=c++11")
|
|
|
|
|
#t)))
|
2015-07-17 08:47:54 +02:00
|
|
|
|
#:python ,python-2))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("jack" ,jack-1)
|
|
|
|
|
("libsigc++" ,libsigc++)
|
|
|
|
|
("liblo" ,liblo)
|
|
|
|
|
("ntk" ,ntk)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://non.tuxfamily.org/wiki/Non%20Sequencer")
|
|
|
|
|
(synopsis "Pattern-based MIDI sequencer")
|
|
|
|
|
(description
|
|
|
|
|
"The Non Sequencer is a powerful, lightweight, real-time,
|
|
|
|
|
pattern-based MIDI sequencer. It utilizes the JACK Audio Connection Kit for
|
|
|
|
|
MIDI I/O and the NTK GUI toolkit for its user interface. Everything in Non
|
|
|
|
|
Sequencer happens on-line, in real-time. Music can be composed live, while the
|
|
|
|
|
transport is rolling.")
|
|
|
|
|
(license license:gpl2+))))
|
|
|
|
|
|
2016-11-28 22:02:09 +01:00
|
|
|
|
(define-public non-session-manager
|
|
|
|
|
(package (inherit non-sequencer)
|
|
|
|
|
(name "non-session-manager")
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments non-sequencer)
|
|
|
|
|
((#:configure-flags flags)
|
|
|
|
|
`(cons "--project=session-manager"
|
|
|
|
|
(delete "--project=sequencer" ,flags)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("jack" ,jack-1)
|
|
|
|
|
("liblo" ,liblo)
|
|
|
|
|
("ntk" ,ntk)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://non.tuxfamily.org/nsm/")
|
|
|
|
|
(synopsis "Audio session management")
|
|
|
|
|
(description
|
|
|
|
|
"The Non Session Manager is an API and an implementation for audio
|
|
|
|
|
session management. NSM clients use a well-specified OSC protocol to
|
|
|
|
|
communicate with the session management daemon.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-03-11 09:02:34 +01:00
|
|
|
|
(define-public solfege
|
|
|
|
|
(package
|
|
|
|
|
(name "solfege")
|
|
|
|
|
(version "3.22.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://gnu/solfege/solfege-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1w25rxdbj907nsx285k9nm480pvy12w3yknfh4n1dfv17cwy072i"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; xmllint attempts to download DTD
|
|
|
|
|
#:test-target "test"
|
|
|
|
|
#:phases
|
|
|
|
|
(alist-cons-after
|
|
|
|
|
'unpack 'fix-configuration
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "default.config"
|
|
|
|
|
(("csound=csound")
|
|
|
|
|
(string-append "csound="
|
|
|
|
|
(assoc-ref inputs "csound")
|
|
|
|
|
"/bin/csound"))
|
|
|
|
|
(("/usr/bin/aplay")
|
|
|
|
|
(string-append (assoc-ref inputs "aplay")
|
|
|
|
|
"/bin/aplay"))
|
|
|
|
|
(("/usr/bin/timidity")
|
|
|
|
|
(string-append (assoc-ref inputs "timidity")
|
|
|
|
|
"/bin/timidity"))
|
|
|
|
|
(("/usr/bin/mpg123")
|
|
|
|
|
(string-append (assoc-ref inputs "mpg123")
|
|
|
|
|
"/bin/mpg123"))
|
|
|
|
|
(("/usr/bin/ogg123")
|
|
|
|
|
(string-append (assoc-ref inputs "ogg123")
|
|
|
|
|
"/bin/ogg123"))))
|
|
|
|
|
(alist-cons-before
|
|
|
|
|
'build 'patch-python-shebangs
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Two python scripts begin with a Unicode BOM, so patch-shebang
|
|
|
|
|
;; has no effect.
|
|
|
|
|
(substitute* '("solfege/parsetree.py"
|
|
|
|
|
"solfege/presetup.py")
|
|
|
|
|
(("#!/usr/bin/python") (string-append "#!" (which "python")))))
|
|
|
|
|
(alist-cons-before
|
|
|
|
|
'build 'add-sitedirs
|
|
|
|
|
;; .pth files are not automatically interpreted unless the
|
|
|
|
|
;; directories containing them are added as "sites". The directories
|
|
|
|
|
;; are then added to those in the PYTHONPATH. This is required for
|
|
|
|
|
;; the operation of pygtk and pygobject.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "run-solfege.py"
|
|
|
|
|
(("import os")
|
|
|
|
|
"import os, site
|
|
|
|
|
for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)")))
|
|
|
|
|
(alist-cons-before
|
|
|
|
|
'build 'adjust-config-file-prefix
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "run-solfege.py"
|
|
|
|
|
(("prefix = os.path.*$")
|
|
|
|
|
(string-append "prefix = " (assoc-ref outputs "out")))))
|
|
|
|
|
(alist-cons-after
|
|
|
|
|
'install 'wrap-program
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2016-04-28 06:13:26 +02:00
|
|
|
|
;; Make sure 'solfege' runs with the correct PYTHONPATH.
|
2015-03-11 09:02:34 +01:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2016-04-28 06:13:26 +02:00
|
|
|
|
(path (getenv "PYTHONPATH")))
|
2015-03-11 09:02:34 +01:00
|
|
|
|
(wrap-program (string-append out "/bin/solfege")
|
2016-04-28 06:13:26 +02:00
|
|
|
|
`("PYTHONPATH" ":" prefix (,path)))))
|
2015-03-11 09:02:34 +01:00
|
|
|
|
%standard-phases)))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python-2)
|
|
|
|
|
("pygtk" ,python2-pygtk)
|
2016-09-25 09:33:02 +02:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2015-03-11 09:02:34 +01:00
|
|
|
|
("gtk" ,gtk+)
|
2016-01-17 22:56:48 +01:00
|
|
|
|
("lilypond" ,lilypond)
|
2015-03-11 09:02:34 +01:00
|
|
|
|
;; players needed at runtime
|
|
|
|
|
("aplay" ,alsa-utils)
|
|
|
|
|
("csound" ,csound) ; optional, needed for some exercises
|
|
|
|
|
("mpg123" ,mpg123)
|
|
|
|
|
("ogg123" ,vorbis-tools)
|
|
|
|
|
("timidity" ,timidity++)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("txt2man" ,txt2man)
|
|
|
|
|
("libxml2" ,libxml2) ; for tests
|
|
|
|
|
("ghostscript" ,ghostscript)
|
|
|
|
|
("texinfo" ,texinfo)))
|
|
|
|
|
(home-page "https://www.gnu.org/software/solfege/")
|
|
|
|
|
(synopsis "Ear training")
|
|
|
|
|
(description
|
|
|
|
|
"GNU Solfege is a program for practicing musical ear-training. With it,
|
|
|
|
|
you can practice your recognition of various musical intervals and chords. It
|
|
|
|
|
features a statistics overview so you can monitor your progress across several
|
|
|
|
|
sessions. Solfege is also designed to be extensible so you can easily write
|
|
|
|
|
your own lessons.")
|
|
|
|
|
(license license:gpl3+)))
|
2015-04-19 18:39:25 +02:00
|
|
|
|
|
2015-06-04 10:01:11 +02:00
|
|
|
|
(define-public powertabeditor
|
|
|
|
|
(package
|
|
|
|
|
(name "powertabeditor")
|
2017-01-17 04:29:11 +01:00
|
|
|
|
(version "2.0.0-alpha9")
|
2015-06-04 10:01:11 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/powertab/powertabeditor/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-01-17 04:29:11 +01:00
|
|
|
|
"1zjdz1qpkl83xr6dkap8airqcyjs3mxc5dzfyhrrvkyr7dics7ii"))
|
2015-06-04 10:01:11 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove bundled sources for external libraries
|
|
|
|
|
(delete-file-recursively "external")
|
2017-01-17 04:29:11 +01:00
|
|
|
|
;; Use only system libraries
|
2015-06-04 10:01:11 +02:00
|
|
|
|
(substitute* "CMakeLists.txt"
|
2017-01-17 04:29:11 +01:00
|
|
|
|
(("include\\( PTE_ThirdParty \\)")
|
|
|
|
|
"\
|
|
|
|
|
include(third_party/Qt)
|
|
|
|
|
include(third_party/boost)
|
|
|
|
|
add_library( Catch INTERFACE IMPORTED )
|
|
|
|
|
add_library( rapidjson INTERFACE IMPORTED )"))
|
2015-06-04 10:01:11 +02:00
|
|
|
|
#t))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2015-07-04 11:11:19 +02:00
|
|
|
|
`(#:modules ((guix build cmake-build-system)
|
2015-06-04 10:01:11 +02:00
|
|
|
|
(guix build utils)
|
|
|
|
|
(ice-9 match))
|
|
|
|
|
#:configure-flags
|
|
|
|
|
;; CMake appears to lose the RUNPATH for some reason, so it has to be
|
|
|
|
|
;; explicitly set with CMAKE_INSTALL_RPATH.
|
2015-07-04 11:11:19 +02:00
|
|
|
|
(list "-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE"
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_RPATH="
|
2015-06-04 10:01:11 +02:00
|
|
|
|
(string-join (map (match-lambda
|
|
|
|
|
((name . directory)
|
|
|
|
|
(string-append directory "/lib")))
|
2017-01-17 04:29:11 +01:00
|
|
|
|
%build-inputs) ";"))
|
|
|
|
|
"-DPTE_DATA_DIR=share/powertabeditor")
|
2015-06-04 10:01:11 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-01-17 04:29:11 +01:00
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "bin/pte_tests"
|
|
|
|
|
;; FIXME: one test fails.
|
|
|
|
|
"exclude:Formats/PowerTabOldImport/Directions"))))
|
|
|
|
|
(add-after 'unpack 'set-target-directories
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "cmake/PTE_Executable.cmake"
|
|
|
|
|
(("set\\( install_dir.*")
|
|
|
|
|
"set( install_dir bin )\n"))
|
|
|
|
|
(substitute* "cmake/PTE_Paths.cmake"
|
|
|
|
|
(("set\\( PTE_DATA_DIR .*")
|
|
|
|
|
"set( PTE_DATA_DIR share/powertabeditor )\n"))
|
|
|
|
|
;; Tests hardcode the data directory as "data"
|
|
|
|
|
(substitute* "test/CMakeLists.txt"
|
|
|
|
|
(("\\$\\{PTE_DATA_DIR\\}") "data"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'configure 'remove-third-party-libs
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; Link with required static libraries, because we're not
|
|
|
|
|
;; using the bundled version of withershins.
|
2017-03-30 10:11:56 +02:00
|
|
|
|
;; Also add pthread for fixing a linker error.
|
2017-01-17 04:29:11 +01:00
|
|
|
|
(substitute* "source/build/CMakeLists.txt"
|
|
|
|
|
(("withershins" line)
|
|
|
|
|
(string-append line "\n"
|
|
|
|
|
(assoc-ref inputs "binutils")
|
|
|
|
|
"/lib/libbfd.a\n"
|
|
|
|
|
(assoc-ref inputs "libiberty")
|
|
|
|
|
"/lib/libiberty.a\n"
|
|
|
|
|
"dl\n"
|
2017-03-30 10:11:56 +02:00
|
|
|
|
"pthread\n"
|
2017-01-17 04:29:11 +01:00
|
|
|
|
"z\n")))
|
|
|
|
|
#t)))))
|
2015-06-04 10:01:11 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
2016-06-16 10:20:23 +02:00
|
|
|
|
("qtbase" ,qtbase)
|
2015-06-04 10:01:11 +02:00
|
|
|
|
("withershins" ,withershins)
|
2015-07-01 21:50:08 +02:00
|
|
|
|
("libiberty" ,libiberty) ;for withershins
|
2015-06-04 10:01:11 +02:00
|
|
|
|
("binutils" ,binutils) ;for -lbfd and -liberty (for withershins)
|
|
|
|
|
("timidity" ,timidity++)
|
|
|
|
|
("pugixml" ,pugixml)
|
|
|
|
|
("rtmidi" ,rtmidi)
|
|
|
|
|
("rapidjson" ,rapidjson)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("catch" ,catch-framework)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://powertabs.net")
|
|
|
|
|
(synopsis "Guitar tablature editor")
|
|
|
|
|
(description
|
|
|
|
|
"Power Tab Editor 2.0 is the successor to the famous original Power Tab
|
|
|
|
|
Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2016-04-06 07:25:08 +02:00
|
|
|
|
(define-public jalv-select
|
|
|
|
|
(package
|
|
|
|
|
(name "jalv-select")
|
|
|
|
|
(version "0.7")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/brummer10/jalv_select/"
|
|
|
|
|
"archive/V" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"01y93l5c1f8za04a0y4b3v0nhsm1lhj6rny9xpdgd7jz6sl6w581"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'ignore-PATH
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "jalv.select.cpp"
|
|
|
|
|
(("echo \\$PATH | tr ':' '\\\n' | xargs ls")
|
|
|
|
|
(string-append "ls -1 " (assoc-ref inputs "jalv") "/bin")))
|
|
|
|
|
(substitute* "jalv.select.h"
|
|
|
|
|
(("gtkmm.h") "gtkmm-2.4/gtkmm.h"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lilv" ,lilv)
|
|
|
|
|
("lv2" ,lv2)
|
|
|
|
|
("jalv" ,jalv)
|
|
|
|
|
("gtkmm" ,gtkmm-2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://github.com/brummer10/jalv_select")
|
|
|
|
|
(synopsis "GUI to select LV2 plugins and run them with jalv")
|
|
|
|
|
(description
|
|
|
|
|
"The jalv.select package provides a graphical user interface allowing
|
|
|
|
|
users to select LV2 plugins and run them with jalv.")
|
|
|
|
|
(license license:public-domain)))
|
|
|
|
|
|
2016-04-27 22:49:22 +02:00
|
|
|
|
(define-public synthv1
|
|
|
|
|
(package
|
|
|
|
|
(name "synthv1")
|
2017-04-02 12:09:03 +02:00
|
|
|
|
(version "0.8.1")
|
2016-04-27 22:49:22 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
2016-07-21 08:35:30 +02:00
|
|
|
|
(string-append "mirror://sourceforge/synthv1/synthv1/" version
|
|
|
|
|
"/synthv1-" version ".tar.gz"))
|
2016-04-27 22:49:22 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-02 12:09:03 +02:00
|
|
|
|
"0rzkr8mgy28j5kg56qqrdm05ml2wlm651yk27c2mn5ql7v92gdx3"))))
|
2016-04-27 22:49:22 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2016-08-20 21:36:10 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; There are no tests.
|
|
|
|
|
#:configure-flags
|
|
|
|
|
'("CXXFLAGS=-std=gnu++11")))
|
2016-04-27 22:49:22 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("jack" ,jack-1)
|
|
|
|
|
("lv2" ,lv2)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("liblo" ,liblo)
|
2016-06-16 10:31:54 +02:00
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qttools" ,qttools)))
|
2016-04-27 22:49:22 +02:00
|
|
|
|
(home-page "http://synthv1.sourceforge.net")
|
|
|
|
|
(synopsis "Polyphonic subtractive synthesizer")
|
|
|
|
|
(description
|
|
|
|
|
"Synthv1 is an old-school subtractive polyphonic synthesizer with four
|
|
|
|
|
oscillators and stereo effects.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-06-18 22:12:34 +02:00
|
|
|
|
|
2016-11-19 00:02:47 +01:00
|
|
|
|
(define-public drumkv1
|
|
|
|
|
(package
|
|
|
|
|
(name "drumkv1")
|
2017-04-02 12:14:52 +02:00
|
|
|
|
(version "0.8.1")
|
2016-11-19 00:02:47 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://sourceforge/drumkv1/drumkv1/" version
|
|
|
|
|
"/drumkv1-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-02 12:14:52 +02:00
|
|
|
|
"0l6kjb1q9vslwy56836a0c65mf8z8ycam5vzz3k4qvd8g74bs1zq"))))
|
2016-11-19 00:02:47 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; There are no tests.
|
|
|
|
|
#:configure-flags
|
|
|
|
|
'("CXXFLAGS=-std=gnu++11")))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("jack" ,jack-1)
|
|
|
|
|
("lv2" ,lv2)
|
|
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("liblo" ,liblo)
|
|
|
|
|
("qtbase" ,qtbase)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("qttools" ,qttools)))
|
|
|
|
|
(home-page "http://drumkv1.sourceforge.net")
|
|
|
|
|
(synopsis "Drum-kit sampler synthesizer with stereo effects")
|
|
|
|
|
(description
|
|
|
|
|
"Drumkv1 is an old-school drum-kit sampler synthesizer with stereo
|
|
|
|
|
effects.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2016-11-19 00:16:53 +01:00
|
|
|
|
(define-public samplv1
|
|
|
|
|
(package
|
|
|
|
|
(name "samplv1")
|
2017-04-02 12:15:17 +02:00
|
|
|
|
(version "0.8.1")
|
2016-11-19 00:16:53 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://sourceforge/samplv1/samplv1/" version
|
|
|
|
|
"/samplv1-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-02 12:15:17 +02:00
|
|
|
|
"15rp9d1jbb56idyrnn9cqi1i7a70z1a1qdyz7ryn0bla0ghjnich"))))
|
2016-11-19 00:16:53 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; There are no tests.
|
|
|
|
|
#:configure-flags
|
|
|
|
|
'("CXXFLAGS=-std=gnu++11")))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("jack" ,jack-1)
|
|
|
|
|
("lv2" ,lv2)
|
|
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("liblo" ,liblo)
|
|
|
|
|
("qtbase" ,qtbase)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("qttools" ,qttools)))
|
|
|
|
|
(home-page "http://samplv1.sourceforge.net")
|
|
|
|
|
(synopsis "Polyphonic sampler synthesizer with stereo effects")
|
|
|
|
|
(description
|
|
|
|
|
"Samplv1 is an old-school polyphonic sampler synthesizer with stereo
|
|
|
|
|
effects.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2016-06-18 22:12:34 +02:00
|
|
|
|
(define-public amsynth
|
|
|
|
|
(package
|
|
|
|
|
(name "amsynth")
|
2017-04-02 12:25:07 +02:00
|
|
|
|
(version "1.7.1")
|
2016-06-18 22:12:34 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/amsynth/amsynth/releases/"
|
|
|
|
|
"download/release-" version
|
|
|
|
|
"/amsynth-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-02 12:25:07 +02:00
|
|
|
|
"1882pfcmf3rqg3vd4qflzkppcv158d748i603spqjbxqi8z7x7w0"))))
|
2016-06-18 22:12:34 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'set-flags
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Compile with C++11, required by gtkmm.
|
|
|
|
|
(setenv "CXXFLAGS" "-std=c++11")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("lv2" ,lv2)
|
2017-04-02 12:25:37 +02:00
|
|
|
|
("lash" ,lash)
|
2016-06-18 22:12:34 +02:00
|
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
|
("gtk+" ,gtk+-2)
|
|
|
|
|
("gtkmm" ,gtkmm-2)))
|
|
|
|
|
(native-inputs
|
2017-04-02 12:25:07 +02:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("intltool" ,intltool)))
|
2016-06-18 22:12:34 +02:00
|
|
|
|
(home-page "http://amsynth.github.io")
|
|
|
|
|
(synopsis "Analog modeling synthesizer")
|
|
|
|
|
(description
|
|
|
|
|
"amsynth is an easy-to-use software synthesizer with a classic
|
|
|
|
|
subtractive synthesizer topology. Its features include: dual
|
|
|
|
|
oscillators (sine, saw, square, noise) with hard sync; 12 and 24 dB/oct
|
|
|
|
|
resonant filters (low-pass, high-pass, band-pass, notch); mono, poly, legato
|
|
|
|
|
keyboard modes; dual ADSR envelope generators for filter and amplitude; LFO
|
|
|
|
|
which can modulate the oscillators, filter, and amplitude; distortion and
|
|
|
|
|
reverb effects.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-04-27 22:49:22 +02:00
|
|
|
|
|
2015-06-18 17:37:47 +02:00
|
|
|
|
(define-public setbfree
|
|
|
|
|
(package
|
|
|
|
|
(name "setbfree")
|
2017-04-02 12:32:59 +02:00
|
|
|
|
(version "0.8.4")
|
2015-06-18 17:37:47 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
2016-04-27 22:11:54 +02:00
|
|
|
|
(string-append "https://github.com/pantherb/setBfree/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2015-06-18 17:37:47 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-02 12:32:59 +02:00
|
|
|
|
"1g4s1920kb2q5gpp82l2vxia29qa8g8zvdjgrca8ypynvxpzn65f"))))
|
2015-06-18 17:37:47 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no "check" target
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "FONTFILE="
|
|
|
|
|
(assoc-ref %build-inputs "font-bitstream-vera")
|
2015-07-05 20:40:56 +02:00
|
|
|
|
"/share/fonts/truetype/VeraBd.ttf")
|
|
|
|
|
;; Disable unsupported optimization flags on non-x86
|
|
|
|
|
,@(let ((system (or (%current-target-system)
|
|
|
|
|
(%current-system))))
|
|
|
|
|
(if (or (string-prefix? "x86_64" system)
|
|
|
|
|
(string-prefix? "i686" system))
|
|
|
|
|
'()
|
|
|
|
|
'("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3"))))
|
2015-06-18 17:37:47 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'set-CC-variable
|
|
|
|
|
(lambda _ (setenv "CC" "gcc") #t))
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("jack" ,jack-1)
|
|
|
|
|
("lv2" ,lv2)
|
|
|
|
|
("zita-convolver" ,zita-convolver)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("ftgl" ,ftgl)
|
|
|
|
|
("font-bitstream-vera" ,font-bitstream-vera)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("help2man" ,help2man)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://setbfree.org")
|
|
|
|
|
(synopsis "Tonewheel organ")
|
|
|
|
|
(description
|
|
|
|
|
"setBfree is a MIDI-controlled, software synthesizer designed to imitate
|
|
|
|
|
the sound and properties of the electromechanical organs and sound
|
|
|
|
|
modification devices that brought world-wide fame to the names and products of
|
|
|
|
|
Laurens Hammond and Don Leslie.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2016-04-14 20:26:23 +02:00
|
|
|
|
(define-public beast
|
|
|
|
|
(package
|
|
|
|
|
(name "beast")
|
|
|
|
|
(version "0.10.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://testbit.eu/pub/dists/beast/beast-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1jzzmfwssklzw8fvvil04n8csc0zm99fnd9p2xa7c0xchg37lvhn"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2016-10-22 22:06:53 +02:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:parallel-build? #f)) ; Race conditions cause build failures
|
2016-04-14 20:26:23 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("rapicorn" ,rapicorn)
|
|
|
|
|
("guile" ,guile-1.8)
|
|
|
|
|
("python" ,python-2)
|
|
|
|
|
("libgnomecanvas" ,libgnomecanvas)
|
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libmad" ,libmad)
|
|
|
|
|
("flac" ,flac)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
2016-09-25 09:33:02 +02:00
|
|
|
|
("gettext" ,gettext-minimal)))
|
2016-04-14 20:26:23 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("glib:bin" ,glib "bin")
|
2016-10-13 14:33:55 +02:00
|
|
|
|
("cython" ,python2-cython)
|
2016-04-14 20:26:23 +02:00
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("perl-xml-parser" ,perl-xml-parser)))
|
|
|
|
|
(home-page "https://testbit.eu/wiki/Beast_Home")
|
|
|
|
|
(synopsis "Music composition and modular synthesis environment")
|
|
|
|
|
(description
|
|
|
|
|
"Beast is a music composition and modular synthesis application. It
|
|
|
|
|
supports a wide range of standards in the field, such as MIDI, various audio
|
|
|
|
|
file formats and LADSPA modules. It allows for multitrack editing, real-time
|
|
|
|
|
synthesis, 32bit audio rendering, precise timing down to sample granularity,
|
|
|
|
|
on-demand and partial loading of wave files, on the fly decoding, stereo
|
|
|
|
|
mixing, FFT scopes, MIDI automation and full scriptability in Scheme.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2015-12-24 13:43:32 +01:00
|
|
|
|
(define-public bristol
|
|
|
|
|
(package
|
|
|
|
|
(name "bristol")
|
|
|
|
|
(version "0.60.11")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/bristol/bristol/"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/bristol-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2016-01-11 19:38:11 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'remove-sse-flags
|
|
|
|
|
(lambda* (#:key system #:allow-other-keys)
|
|
|
|
|
(when (not (or (string-prefix? "x86_64" system)
|
|
|
|
|
(string-prefix? "i686" system)))
|
|
|
|
|
(substitute* "bristol/Makefile.in"
|
|
|
|
|
(("-msse -mfpmath=sse") "")))
|
2016-05-02 19:41:55 +02:00
|
|
|
|
#t))
|
2017-03-20 22:44:26 +01:00
|
|
|
|
;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because
|
|
|
|
|
;; bristol actually doesn't use it.
|
|
|
|
|
(add-after 'unpack 'do-not-use-alsa-iatomic
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "libbristolaudio/audioEngineJack.c"
|
|
|
|
|
(("#include <alsa/iatomic.h>") ""))
|
|
|
|
|
#t))
|
2016-05-02 19:41:55 +02:00
|
|
|
|
;; We know that Bristol has been linked with JACK and we don't have
|
|
|
|
|
;; ldd, so we can just skip this check.
|
|
|
|
|
(add-after 'unpack 'do-not-grep-for-jack
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "bin/startBristol.in"
|
|
|
|
|
(("ldd `which bristol` | grep jack") "echo guix"))
|
2016-01-11 19:38:11 +01:00
|
|
|
|
#t)))))
|
2015-12-24 13:43:32 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("liblo" ,liblo)
|
|
|
|
|
("libx11" ,libx11)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://bristol.sourceforge.net/")
|
|
|
|
|
(synopsis "Synthesizer emulator")
|
|
|
|
|
(description
|
|
|
|
|
"Bristol is an emulation package for a number of different 'classic'
|
|
|
|
|
synthesizers including additive and subtractive and a few organs. The
|
|
|
|
|
application consists of the engine, which is called bristol, and its own GUI
|
|
|
|
|
library called brighton that represents all the emulations. There are
|
|
|
|
|
currently more than twenty different emulations; each does sound different
|
|
|
|
|
although the author maintains that the quality and accuracy of each emulation
|
|
|
|
|
is subjective.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2015-04-19 18:39:25 +02:00
|
|
|
|
(define-public tuxguitar
|
|
|
|
|
(package
|
|
|
|
|
(name "tuxguitar")
|
2017-04-02 17:23:16 +02:00
|
|
|
|
(version "1.4")
|
2015-04-19 18:39:25 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/tuxguitar/TuxGuitar/TuxGuitar-"
|
2016-05-16 10:16:28 +02:00
|
|
|
|
version "/tuxguitar-" version "-src.tar.gz"))
|
2015-04-19 18:39:25 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-02 17:23:16 +02:00
|
|
|
|
"041275vwfr82kass7wiq9g2y82w9qrbzfinzcvfij2f2q45njwmc"))
|
2016-05-16 10:16:28 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
2017-04-02 17:23:16 +02:00
|
|
|
|
'(begin
|
|
|
|
|
;; Delete pre-built classes
|
|
|
|
|
(delete-file-recursively "TuxGuitar-android-gdrive/bin")
|
|
|
|
|
(delete-file-recursively "TuxGuitar-android-gdrive-gdaa/bin")
|
|
|
|
|
#t))))
|
2016-05-16 10:16:28 +02:00
|
|
|
|
(build-system ant-build-system)
|
2015-04-19 18:39:25 +02:00
|
|
|
|
(arguments
|
2016-05-16 10:16:28 +02:00
|
|
|
|
`(#:build-target "build"
|
|
|
|
|
#:tests? #f ; no tests
|
2015-04-19 18:39:25 +02:00
|
|
|
|
#:phases
|
2015-12-29 07:48:10 +01:00
|
|
|
|
(modify-phases %standard-phases
|
2016-05-16 10:16:28 +02:00
|
|
|
|
(add-after 'unpack 'enter-dir
|
|
|
|
|
(lambda _ (chdir "TuxGuitar-lib") #t))
|
2017-04-02 17:23:16 +02:00
|
|
|
|
(add-after 'build 'build-libraries
|
2016-05-16 10:16:28 +02:00
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2017-04-02 17:23:16 +02:00
|
|
|
|
(let* ((initial-classpath (getenv "CLASSPATH"))
|
|
|
|
|
(build-dir (lambda (dir)
|
|
|
|
|
(chdir "..")
|
|
|
|
|
(setenv "CLASSPATH"
|
|
|
|
|
(string-join (cons initial-classpath
|
|
|
|
|
(find-files (getcwd) "\\.jar$"))
|
|
|
|
|
":"))
|
|
|
|
|
(chdir dir)
|
|
|
|
|
(if (file-exists? "build.xml")
|
|
|
|
|
((assoc-ref %standard-phases 'build)
|
|
|
|
|
#:build-target "build")
|
|
|
|
|
(begin
|
|
|
|
|
;; Generate default build.xml
|
|
|
|
|
((@@ (guix build ant-build-system) default-build.xml)
|
|
|
|
|
(string-append (string-downcase dir) ".jar")
|
|
|
|
|
(string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/java"))
|
|
|
|
|
((assoc-ref %standard-phases 'build)))))))
|
|
|
|
|
(map build-dir '("TuxGuitar-editor-utils"
|
|
|
|
|
"TuxGuitar-ui-toolkit"
|
|
|
|
|
"TuxGuitar-ui-toolkit-swt"
|
|
|
|
|
"TuxGuitar-awt-graphics")))))
|
|
|
|
|
(add-after 'build-libraries 'build-application
|
2016-05-16 10:16:28 +02:00
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "../TuxGuitar")
|
|
|
|
|
((assoc-ref %standard-phases 'build)
|
|
|
|
|
#:build-target "build")))
|
|
|
|
|
(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"))
|
|
|
|
|
(lib (string-append share "/java"))
|
|
|
|
|
(swt (assoc-ref inputs "java-swt")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
;; install all jars
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file lib))
|
|
|
|
|
(find-files ".." "\\.jar$"))
|
2017-04-02 17:23:16 +02:00
|
|
|
|
|
2016-05-16 10:16:28 +02:00
|
|
|
|
;; install all resources
|
2017-04-02 17:23:16 +02:00
|
|
|
|
(copy-recursively "share" share)
|
|
|
|
|
|
2016-05-16 10:16:28 +02:00
|
|
|
|
;; create wrapper
|
|
|
|
|
(call-with-output-file (string-append bin "/tuxguitar")
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(let ((classpath (string-join (append (find-files lib "\\.jar$")
|
|
|
|
|
(find-files swt "\\.jar$"))
|
|
|
|
|
":")))
|
|
|
|
|
(format
|
|
|
|
|
port
|
|
|
|
|
(string-append "#!/bin/sh\n"
|
|
|
|
|
(which "java")
|
|
|
|
|
" -cp " classpath
|
|
|
|
|
" -Dtuxguitar.home.path=" out
|
|
|
|
|
" -Dtuxguitar.share.path=" out "/share"
|
|
|
|
|
" -Dswt.library.path=" swt "/lib"
|
|
|
|
|
" org.herac.tuxguitar.app.TGMainSingleton"
|
|
|
|
|
" \"$1\" \"$2\"")))))
|
|
|
|
|
(chmod (string-append bin "/tuxguitar") #o555)
|
|
|
|
|
#t))))))
|
2015-04-19 18:39:25 +02:00
|
|
|
|
(inputs
|
2016-04-16 10:51:23 +02:00
|
|
|
|
`(("java-swt" ,java-swt)))
|
2017-04-02 12:33:33 +02:00
|
|
|
|
(home-page "http://tuxguitar.pw")
|
2015-04-19 18:39:25 +02:00
|
|
|
|
(synopsis "Multitrack tablature editor and player")
|
|
|
|
|
(description
|
|
|
|
|
"TuxGuitar is a guitar tablature editor with player support through midi.
|
|
|
|
|
It can display scores and multitrack tabs. TuxGuitar provides various
|
|
|
|
|
additional features, including autoscrolling while playing, note duration
|
|
|
|
|
management, bend/slide/vibrato/hammer-on/pull-off effects, support for
|
|
|
|
|
tuplets, time signature management, tempo management, gp3/gp4/gp5 import and
|
|
|
|
|
export.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2015-08-06 19:18:54 +02:00
|
|
|
|
|
|
|
|
|
(define-public pd
|
|
|
|
|
(package
|
|
|
|
|
(name "pd")
|
2017-04-02 12:41:14 +02:00
|
|
|
|
(version "0.47-1")
|
2015-08-06 19:18:54 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
2017-04-02 12:41:14 +02:00
|
|
|
|
(string-append "http://msp.ucsd.edu/Software/pd-"
|
|
|
|
|
version ".src.tar.gz"))
|
2015-08-06 19:18:54 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-02 12:41:14 +02:00
|
|
|
|
"0k5s949kqd7yw97h3m8z81bjz32bis9m4ih8df1z0ymipnafca67"))))
|
2015-08-06 19:18:54 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no "check" target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-04-02 12:47:11 +02:00
|
|
|
|
(add-before 'configure 'fix-wish-path
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/s_inter.c"
|
|
|
|
|
((" wish ") (string-append " " (which "wish8.6") " ")))
|
|
|
|
|
(substitute* "tcl/pd-gui.tcl"
|
|
|
|
|
(("exec wish ") (string-append "exec " (which "wish8.6") " ")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'autoconf
|
2017-04-02 12:49:21 +02:00
|
|
|
|
(lambda _ (zero? (system* "bash" "./autogen.sh")))))))
|
2015-08-06 19:18:54 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
2016-09-25 09:33:02 +02:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2015-08-06 19:18:54 +02:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("tk" ,tk)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("jack" ,jack-1)))
|
|
|
|
|
(home-page "http://puredata.info")
|
|
|
|
|
(synopsis "Visual programming language for artistic performances")
|
|
|
|
|
(description
|
|
|
|
|
"Pure Data (aka Pd) is a visual programming language. Pd enables
|
|
|
|
|
musicians, visual artists, performers, researchers, and developers to create
|
|
|
|
|
software graphically, without writing lines of code. Pd is used to process
|
|
|
|
|
and generate sound, video, 2D/3D graphics, and interface sensors, input
|
|
|
|
|
devices, and MIDI. Pd can easily work over local and remote networks to
|
|
|
|
|
integrate wearable technology, motor systems, lighting rigs, and other
|
|
|
|
|
equipment. Pd is suitable for learning basic multimedia processing and visual
|
|
|
|
|
programming methods as well as for realizing complex systems for large-scale
|
|
|
|
|
projects.")
|
|
|
|
|
(license license:bsd-3)))
|
2015-08-26 23:25:31 +02:00
|
|
|
|
|
2016-04-27 21:20:07 +02:00
|
|
|
|
(define-public portmidi
|
|
|
|
|
(package
|
|
|
|
|
(name "portmidi")
|
|
|
|
|
(version "217")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/portmedia/portmidi/"
|
|
|
|
|
version "/portmidi-src-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"03rfsk7z6rdahq2ihy5k13qjzgx757f75yqka88v3gc0pn9ais88"))
|
|
|
|
|
(patches (list (search-patch "portmidi-modular-build.patch")))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; tests cannot be linked
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "-DPORTMIDI_ENABLE_JAVA=Off"
|
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release" ; needed to have PMALSA set
|
|
|
|
|
"-DPORTMIDI_ENABLE_TEST=Off"))) ; tests fail linking
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("unzip" ,unzip)))
|
|
|
|
|
(home-page "http://portmedia.sourceforge.net/portmidi/")
|
|
|
|
|
(synopsis "Library for MIDI I/O")
|
|
|
|
|
(description
|
|
|
|
|
"PortMidi is a library supporting real-time input and output of MIDI data
|
|
|
|
|
using a system-independent interface.")
|
|
|
|
|
(license license:expat)))
|
2016-04-27 21:25:14 +02:00
|
|
|
|
|
2016-09-14 11:26:54 +02:00
|
|
|
|
(define-public portmidi-for-extempore
|
|
|
|
|
(package (inherit portmidi)
|
|
|
|
|
(name "portmidi-for-extempore")
|
|
|
|
|
(version "217")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/extemporelang/portmidi/"
|
|
|
|
|
"archive/" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0gjikwciyr8kk4y3qiv1pcq58xpgw38ql1m2gs6g0qc1s8sx4235"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments `(#:tests? #f)) ; no tests
|
|
|
|
|
(native-inputs '())
|
2016-09-21 21:47:56 +02:00
|
|
|
|
;; Extempore refuses to build on architectures other than x86_64
|
|
|
|
|
(supported-systems '("x86_64-linux"))
|
2016-09-14 11:26:54 +02:00
|
|
|
|
(home-page "https://github.com/extemporelang/portmidi/")))
|
|
|
|
|
|
2016-04-27 21:25:14 +02:00
|
|
|
|
(define-public python-pyportmidi
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyportmidi")
|
|
|
|
|
(version (package-version portmidi))
|
|
|
|
|
(source (package-source portmidi))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests included
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-dir
|
|
|
|
|
(lambda _ (chdir "pm_python") #t))
|
|
|
|
|
(add-after 'enter-dir 'fix-setup.py
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
;; Use Python 3 syntax
|
|
|
|
|
(("print (\".*\")" _ text)
|
|
|
|
|
(string-append "print(" text ")\n"))
|
|
|
|
|
;; TODO.txt and CHANGES.txt don't exist
|
|
|
|
|
(("CHANGES =.*") "CHANGES = \"\"\n")
|
|
|
|
|
(("TODO =.*") "TODO = \"\"\n"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("portmidi" ,portmidi)
|
2016-10-13 14:33:55 +02:00
|
|
|
|
("alsa-lib" ,alsa-lib)))
|
2016-04-27 21:25:14 +02:00
|
|
|
|
(native-inputs
|
2016-10-13 14:33:55 +02:00
|
|
|
|
`(("python-cython" ,python-cython)
|
|
|
|
|
("unzip" ,unzip)))
|
2016-04-27 21:25:14 +02:00
|
|
|
|
(home-page "http://portmedia.sourceforge.net/portmidi/")
|
|
|
|
|
(synopsis "Python bindings to PortMidi")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides Python bindings to the PortMidi library.")
|
|
|
|
|
(license license:expat)))
|
2016-04-27 21:20:07 +02:00
|
|
|
|
|
2015-08-26 23:25:31 +02:00
|
|
|
|
(define-public frescobaldi
|
|
|
|
|
(package
|
|
|
|
|
(name "frescobaldi")
|
2017-04-09 22:15:55 +02:00
|
|
|
|
(version "3.0.0")
|
2015-08-26 23:25:31 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/wbsoft/frescobaldi/releases/download/v"
|
|
|
|
|
version "/frescobaldi-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-09 22:15:55 +02:00
|
|
|
|
"15cqhbjbjikr7ljgiq56bz2gxrr38j8p0f78p2vhyzydaviy9a2z"))))
|
2015-08-26 23:25:31 +02:00
|
|
|
|
(build-system python-build-system)
|
2016-11-29 19:43:37 +01:00
|
|
|
|
(arguments `(#:tests? #f)) ; no tests included
|
2015-08-26 23:25:31 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("lilypond" ,lilypond)
|
2016-04-27 21:25:42 +02:00
|
|
|
|
("portmidi" ,portmidi)
|
2017-04-09 22:15:55 +02:00
|
|
|
|
("python-pyqt" ,python-pyqt)
|
2015-08-26 23:25:31 +02:00
|
|
|
|
("python-ly" ,python-ly)
|
2016-04-27 21:25:42 +02:00
|
|
|
|
("python-pyportmidi" ,python-pyportmidi)
|
2015-08-26 23:25:31 +02:00
|
|
|
|
("poppler" ,poppler)
|
2017-04-09 22:15:55 +02:00
|
|
|
|
("python-poppler-qt5" ,python-poppler-qt5)
|
2015-08-26 23:25:31 +02:00
|
|
|
|
("python-sip" ,python-sip)))
|
|
|
|
|
(home-page "http://www.frescobaldi.org/")
|
|
|
|
|
(synopsis "LilyPond sheet music text editor")
|
|
|
|
|
(description
|
|
|
|
|
"Frescobaldi is a LilyPond sheet music text editor with syntax
|
|
|
|
|
highlighting and automatic completion. Among other things, it can render
|
|
|
|
|
scores next to the source, can capture input from MIDI or read MusicXML and
|
|
|
|
|
ABC files, has a MIDI player for proof-listening, and includes a documentation
|
|
|
|
|
browser.")
|
|
|
|
|
(license license:gpl2+)))
|
2015-08-31 17:34:28 +02:00
|
|
|
|
|
2015-12-20 21:54:56 +01:00
|
|
|
|
(define-public drumstick
|
|
|
|
|
(package
|
|
|
|
|
(name "drumstick")
|
2016-10-08 00:15:53 +02:00
|
|
|
|
(version "1.1.0")
|
2015-12-20 21:54:56 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/drumstick/"
|
|
|
|
|
version "/drumstick-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-10-08 00:15:53 +02:00
|
|
|
|
"13pkfqrav30bbcddgf1imd7jk6lpqbxkz1qv31718pdl446jq7df"))))
|
2015-12-20 21:54:56 +01:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no test target
|
|
|
|
|
#:configure-flags '("-DLIB_SUFFIX=")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-docbook
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "cmake_admin/CreateManpages.cmake"
|
|
|
|
|
(("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
|
|
|
|
|
(string-append (assoc-ref inputs "docbook-xsl")
|
|
|
|
|
"/xml/xsl/docbook-xsl-"
|
|
|
|
|
,(package-version docbook-xsl)
|
|
|
|
|
"/manpages/docbook.xsl")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
2016-06-16 10:56:00 +02:00
|
|
|
|
`(("qtbase" ,qtbase)
|
|
|
|
|
("qtsvg" ,qtsvg)
|
2015-12-20 21:54:56 +01:00
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("fluidsynth" ,fluidsynth)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("libxslt" ,libxslt) ;for xsltproc
|
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
|
|
|
|
("doxygen" ,doxygen)))
|
|
|
|
|
(home-page "http://drumstick.sourceforge.net/")
|
|
|
|
|
(synopsis "C++ MIDI library")
|
|
|
|
|
(description
|
|
|
|
|
"Drumstick is a set of MIDI libraries using C++/Qt5 idioms and style. It
|
|
|
|
|
includes a C++ wrapper around the ALSA library sequencer interface. A
|
|
|
|
|
complementary library provides classes for processing SMF (Standard MIDI
|
|
|
|
|
files: .MID/.KAR), Cakewalk (.WRK), and Overture (.OVE) file formats. A
|
|
|
|
|
multiplatform realtime MIDI I/O library is also provided with various output
|
|
|
|
|
backends, including ALSA, OSS, Network and FluidSynth.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-08-31 17:34:28 +02:00
|
|
|
|
(define-public zynaddsubfx
|
|
|
|
|
(package
|
|
|
|
|
(name "zynaddsubfx")
|
2016-12-07 10:07:31 +01:00
|
|
|
|
(version "3.0.1")
|
2015-08-31 17:34:28 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/zynaddsubfx/zynaddsubfx/"
|
2016-02-11 08:23:57 +01:00
|
|
|
|
version "/zynaddsubfx-" version ".tar.bz2"))
|
2015-08-31 17:34:28 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-12-07 10:07:31 +01:00
|
|
|
|
"1qijvlbv41lnqaqbp6gh1i42xzf1syviyxz8wr39xbz55cw7y0d8"))))
|
2015-08-31 17:34:28 +02:00
|
|
|
|
(build-system cmake-build-system)
|
2015-11-02 22:03:25 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; Move SSE compiler optimization flags from generic target to
|
|
|
|
|
;; athlon64 and core2 targets, because otherwise the build would fail
|
|
|
|
|
;; on non-Intel machines.
|
|
|
|
|
(add-after 'unpack 'remove-sse-flags-from-generic-target
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/CMakeLists.txt"
|
|
|
|
|
(("-msse -msse2 -mfpmath=sse") "")
|
|
|
|
|
(("-march=(athlon64|core2)" flag)
|
|
|
|
|
(string-append flag " -msse -msse2 -mfpmath=sse")))
|
|
|
|
|
#t)))))
|
2015-08-31 17:34:28 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("liblo" ,liblo)
|
|
|
|
|
("ntk" ,ntk)
|
2016-11-22 09:44:54 +01:00
|
|
|
|
("mesa" ,mesa)
|
2015-08-31 17:34:28 +02:00
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("fftw" ,fftw)
|
|
|
|
|
("minixml" ,minixml)
|
|
|
|
|
("libxpm" ,libxpm)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://zynaddsubfx.sf.net/")
|
|
|
|
|
(synopsis "Software synthesizer")
|
|
|
|
|
(description
|
|
|
|
|
"ZynAddSubFX is a feature heavy realtime software synthesizer. It offers
|
|
|
|
|
three synthesizer engines, multitimbral and polyphonic synths, microtonal
|
|
|
|
|
capabilities, custom envelopes, effects, etc.")
|
|
|
|
|
(license license:gpl2)))
|
2015-12-23 08:45:56 +01:00
|
|
|
|
|
|
|
|
|
(define-public yoshimi
|
|
|
|
|
(package
|
|
|
|
|
(name "yoshimi")
|
2017-04-10 16:52:40 +02:00
|
|
|
|
(version "1.5.1.1")
|
2015-12-23 08:45:56 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/yoshimi/"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/yoshimi-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-10 16:52:40 +02:00
|
|
|
|
"1gjanmbn08x11iz4bjlkx3m66x0yk401ddkz8fqkj7y3p5ih1kna"))))
|
2015-12-23 08:45:56 +01:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; there are no tests
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list (string-append "-DCMAKE_INSTALL_DATAROOTDIR="
|
|
|
|
|
(assoc-ref %outputs "out") "/share"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'enter-dir
|
|
|
|
|
(lambda _ (chdir "src") #t))
|
|
|
|
|
;; Move SSE compiler optimization flags from generic target to
|
|
|
|
|
;; athlon64 and core2 targets, because otherwise the build would fail
|
|
|
|
|
;; on non-Intel machines.
|
|
|
|
|
(add-after 'unpack 'remove-sse-flags-from-generic-target
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/CMakeLists.txt"
|
|
|
|
|
(("-msse -msse2 -mfpmath=sse") "")
|
|
|
|
|
(("-march=(athlon64|core2)" flag)
|
|
|
|
|
(string-append flag " -msse -msse2 -mfpmath=sse")))
|
2016-10-08 11:24:20 +02:00
|
|
|
|
#t))
|
|
|
|
|
;; Yoshimi tries to find ncurses with pkg-config, but our ncurses
|
|
|
|
|
;; package does not install .pc files.
|
|
|
|
|
(add-after 'unpack 'find-ncurses
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/CMakeLists.txt"
|
|
|
|
|
(("LIBNCURSES REQUIRED") "LIBNCURSES")
|
|
|
|
|
(("NCURSES REQUIRED") "NCURSES")
|
|
|
|
|
(("FATAL_ERROR \"libncurses") "STATUS \"libncurses")
|
|
|
|
|
(("\\$\\{NCURSES_LIBRARIES\\}") "ncurses"))
|
|
|
|
|
#t)))))
|
2015-12-23 08:45:56 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("fftwf" ,fftwf)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("minixml" ,minixml)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("fltk" ,fltk)
|
|
|
|
|
("lv2" ,lv2)
|
|
|
|
|
("readline" ,readline)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("cairo" ,cairo)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://yoshimi.sourceforge.net/")
|
|
|
|
|
(synopsis "Multi-paradigm software synthesizer")
|
|
|
|
|
(description
|
|
|
|
|
"Yoshimi is a fork of ZynAddSubFX, a feature heavy realtime software
|
|
|
|
|
synthesizer. It offers three synthesizer engines, multitimbral and polyphonic
|
|
|
|
|
synths, microtonal capabilities, custom envelopes, effects, etc. Yoshimi
|
|
|
|
|
improves on support for JACK features, such as JACK MIDI.")
|
|
|
|
|
(license license:gpl2)))
|
2015-12-28 22:14:03 +01:00
|
|
|
|
|
2017-01-16 19:52:17 +01:00
|
|
|
|
(define-public libgig
|
|
|
|
|
(package
|
|
|
|
|
(name "libgig")
|
|
|
|
|
(version "4.0.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.linuxsampler.org/packages/"
|
|
|
|
|
"libgig-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1wr8mwjmqpnyz6bx9757lspiii1zzn8zfbqsvn2ipzpgqkxv6kaz"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libuuid" ,util-linux)
|
|
|
|
|
("libsndfile" ,libsndfile)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://linuxsampler.org/libgig/")
|
|
|
|
|
(synopsis "C++ library for working with Gigasampler (.gig) files")
|
|
|
|
|
(description
|
|
|
|
|
"Libgig is a C++ library for loading, modifying existing and creating new
|
|
|
|
|
Gigasampler (.gig) files and DLS (Downloadable Sounds) Level 1/2 files, KORG
|
|
|
|
|
sample based instruments (.KSF and .KMP files), SoundFont v2 (.sf2) files and
|
|
|
|
|
AKAI sampler data. The package includes a couple of command line tools based
|
|
|
|
|
on the library.")
|
|
|
|
|
;; The library and tools are released under the GPL, except the AKAI
|
|
|
|
|
;; classes which are released under the LGPL.
|
|
|
|
|
(license (list license:gpl2+ license:lgpl2.1+))))
|
|
|
|
|
|
2016-10-13 07:58:07 +02:00
|
|
|
|
(define-public jack-keyboard
|
|
|
|
|
(package
|
|
|
|
|
(name "jack-keyboard")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/jack-keyboard/jack-keyboard/"
|
|
|
|
|
version "/jack-keyboard-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0mzmg8aavybcfdlq2yd9d0vscqd6is5p6jzrgfpfm5j3xdcvh2s3"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("jack" ,jack-1)
|
|
|
|
|
("lash" ,lash)
|
|
|
|
|
("gtk+" ,gtk+-2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://jack-keyboard.sourceforge.net/")
|
|
|
|
|
(synopsis "Virtual MIDI keyboard")
|
|
|
|
|
(description "Jack-keyboard is a virtual MIDI keyboard, a program that
|
|
|
|
|
allows you to send JACK MIDI events (i.e. play) using your PC keyboard.")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2015-12-28 22:14:03 +01:00
|
|
|
|
(define-public cursynth
|
|
|
|
|
(package
|
|
|
|
|
(name "cursynth")
|
|
|
|
|
(version "1.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/cursynth/cursynth-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1dhphsya41rv8z6yqcv9l6fwbslsds4zh1y56zizi39nd996d40v"))
|
2016-04-08 14:18:13 +02:00
|
|
|
|
(patches (search-patches "cursynth-wave-rand.patch"))))
|
2015-12-28 22:14:03 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
;; TODO: See https://github.com/iyoko/cursynth/issues/4 which currently
|
|
|
|
|
;; prevents us from using pulseaudio
|
|
|
|
|
(inputs `(("ncurses" ,ncurses)
|
|
|
|
|
("alsa" ,alsa-lib)))
|
2017-03-30 00:48:16 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/cursynth/")
|
2015-12-28 22:14:03 +01:00
|
|
|
|
(synopsis "Polyphonic and MIDI subtractive music synthesizer using curses")
|
|
|
|
|
(description "GNU cursynth is a polyphonic synthesizer that runs
|
|
|
|
|
graphically in the terminal. It is built on a full-featured subtractive
|
|
|
|
|
synthesis engine. Notes and parameter changes may be entered via MIDI or the
|
|
|
|
|
computer's keyboard.")
|
|
|
|
|
(license license:gpl3+)))
|
2016-01-17 17:10:31 +01:00
|
|
|
|
|
|
|
|
|
(define-public qtractor
|
|
|
|
|
(package
|
|
|
|
|
(name "qtractor")
|
2017-02-19 13:03:21 +01:00
|
|
|
|
(version "0.8.1")
|
2016-01-17 17:10:31 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://downloads.sourceforge.net/qtractor/"
|
|
|
|
|
"qtractor-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-02-19 13:03:21 +01:00
|
|
|
|
"1pvs9r5ykfaci900p0kz2xc5xsrswnwwbcl2chsvd98f1ns4vwds"))))
|
2016-01-17 17:10:31 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments `(#:tests? #f)) ; no "check" target
|
|
|
|
|
(inputs
|
|
|
|
|
`(("qt" ,qt)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
|
("ladspa" ,ladspa)
|
|
|
|
|
("lv2" ,lv2)
|
|
|
|
|
("lilv" ,lilv)
|
|
|
|
|
("suil" ,suil)
|
|
|
|
|
("libsamplerate" ,libsamplerate)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libmad" ,libmad)
|
|
|
|
|
("rubberband" ,rubberband)
|
|
|
|
|
("liblo" ,liblo)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2017-02-19 13:03:30 +01:00
|
|
|
|
(home-page "http://qtractor.org/")
|
2016-01-17 17:10:31 +01:00
|
|
|
|
(synopsis "Audio/MIDI multi-track sequencer")
|
|
|
|
|
(description
|
|
|
|
|
"Qtractor is an Audio/MIDI multi-track sequencer application. It uses
|
|
|
|
|
JACK for audio and ALSA sequencer for MIDI as multimedia infrastructures and
|
|
|
|
|
follows a traditional multi-track tape recorder control paradigm.")
|
|
|
|
|
(license license:gpl2+)))
|
2015-12-12 06:22:33 +01:00
|
|
|
|
|
2016-12-03 16:43:27 +01:00
|
|
|
|
(define-public ams-lv2
|
|
|
|
|
(package
|
|
|
|
|
(name "ams-lv2")
|
2017-04-10 17:06:45 +02:00
|
|
|
|
(version "1.2.1")
|
2016-12-03 16:43:27 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/blablack/ams-lv2/"
|
|
|
|
|
"archive/" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-10 17:06:45 +02:00
|
|
|
|
"1xacxyzqcj83g9c1gwfn36gg1c6yi15v7km4vidfidrjzb4x27fq"))))
|
2016-12-03 16:43:27 +01:00
|
|
|
|
(build-system waf-build-system)
|
2016-12-07 20:20:09 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'remove-sse-flags
|
|
|
|
|
(lambda* (#:key system #:allow-other-keys)
|
|
|
|
|
(when (not (or (string-prefix? "x86_64" system)
|
|
|
|
|
(string-prefix? "i686" system)))
|
|
|
|
|
(substitute* "wscript"
|
|
|
|
|
(("'-msse', '-mfpmath=sse', ") ""))
|
|
|
|
|
#t))))
|
|
|
|
|
#:tests? #f)) ; no tests
|
2016-12-03 16:43:27 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("lv2" ,lv2)
|
|
|
|
|
("lvtk" ,lvtk)
|
|
|
|
|
("gtkmm" ,gtkmm-2)
|
|
|
|
|
("gtk" ,gtk+-2)
|
|
|
|
|
("cairo" ,cairo)
|
|
|
|
|
("fftw" ,fftw)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://objectivewave.wordpress.com/ams-lv2/")
|
|
|
|
|
(synopsis "Port of Alsa Modular Synth internal modules into LV2")
|
|
|
|
|
(description "This set of LV2 plugins is a port of the internal modules
|
|
|
|
|
found in Alsa Modular Synth. These plugins are used to create modular
|
|
|
|
|
synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample
|
|
|
|
|
and hold, etc.")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2016-10-09 20:09:37 +02:00
|
|
|
|
(define-public gxtuner
|
|
|
|
|
(package
|
|
|
|
|
(name "gxtuner")
|
|
|
|
|
(version "2.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/brummer10/gxtuner/"
|
|
|
|
|
"archive/v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1abpxiydn4c9wssz6895hnad9ipkcy3rkgzbnanvwb46nm44x6if"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "INCLUDE_L_DIR="
|
|
|
|
|
(assoc-ref %build-inputs "zita-resampler")
|
|
|
|
|
"/include/"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gtk+" ,gtk+-2)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("fftwf" ,fftwf)
|
|
|
|
|
("cairo" ,cairo)
|
|
|
|
|
("zita-resampler" ,zita-resampler)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://github.com/brummer10/gxtuner")
|
|
|
|
|
(synopsis "Guitar tuner")
|
|
|
|
|
(description "GXtuner is a simple guitar tuner for JACK with an
|
|
|
|
|
analogue-like user interface.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2016-10-13 10:56:28 +02:00
|
|
|
|
(define-public mod-host
|
|
|
|
|
;; The last release was in 2014 but since then more than 140 commits have
|
|
|
|
|
;; been made.
|
2017-04-10 17:18:22 +02:00
|
|
|
|
(let ((commit "299a3977476e8eb0285837fbd7522cec506a11de")
|
|
|
|
|
(revision "2"))
|
2016-10-13 10:56:28 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "mod-host")
|
|
|
|
|
(version (string-append "0.10.6-" revision "." (string-take commit 9)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/moddevices/mod-host")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-10 17:18:22 +02:00
|
|
|
|
"128q7p5mph086v954rqnafalfbkyvhgwclaq6ks6swrhj45wnag6"))
|
2016-10-13 10:56:28 +02:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests included
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
"CC=gcc")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'fix-jack-installation-directory
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Do not attempt to install files to output of "jack" package.
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("\\$\\(shell pkg-config --variable=libdir jack\\)")
|
|
|
|
|
"lib"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lilv" ,lilv)
|
2017-01-07 18:56:10 +01:00
|
|
|
|
("fftw" ,fftw)
|
|
|
|
|
("fftwf" ,fftwf)
|
2016-10-13 10:56:28 +02:00
|
|
|
|
("lv2" ,lv2)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("readline" ,readline)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-2)))
|
|
|
|
|
(home-page "https://github.com/moddevices/mod-host")
|
|
|
|
|
(synopsis "LV2 host for Jack controllable via socket or command line")
|
|
|
|
|
(description "mod-host is an LV2 plugin host for JACK, controllable via
|
|
|
|
|
socket or command line.")
|
|
|
|
|
(license license:gpl3+))))
|
|
|
|
|
|
2015-12-12 06:22:33 +01:00
|
|
|
|
(define-public pianobar
|
|
|
|
|
(package
|
|
|
|
|
(name "pianobar")
|
2017-04-10 17:07:22 +02:00
|
|
|
|
(version "2016.06.02")
|
2015-12-12 06:22:33 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/PromyLOPh/"
|
|
|
|
|
name "/archive/" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-10 17:07:22 +02:00
|
|
|
|
"1hi5rr6jcr0kwf4xfz007ndwkjkp287lhwlsgfz6iryqa5n6jzcp"))))
|
2015-12-12 06:22:33 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:make-flags (list "CC=gcc" "CFLAGS=-std=c99"
|
|
|
|
|
(string-append "PREFIX=" %output))
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("ao" ,ao)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("libgcrypt" ,libgcrypt)
|
|
|
|
|
("json-c" ,json-c)
|
|
|
|
|
("ffmpeg" ,ffmpeg)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://6xq.net/projects/pianobar/")
|
|
|
|
|
(synopsis "Console-based pandora.com player")
|
|
|
|
|
(description "pianobar is a console-based music player for the
|
|
|
|
|
personalized online radio pandora.com. It has configurable keys for playing
|
|
|
|
|
and managing stations, can be controlled remotely via fifo, and can run
|
|
|
|
|
event-based scripts for scrobbling, notifications, etc.")
|
|
|
|
|
(license license:expat)))
|
2016-03-04 01:55:03 +01:00
|
|
|
|
|
|
|
|
|
(define-public python-mutagen
|
|
|
|
|
(package
|
|
|
|
|
(name "python-mutagen")
|
2017-01-11 05:03:03 +01:00
|
|
|
|
(version "1.36")
|
2016-03-04 01:55:03 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "mutagen" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-01-11 05:03:03 +01:00
|
|
|
|
"1kabb9b81hgvpd3wcznww549vss12b1xlvpnxg1r6n4c7gikgvnp"))))
|
2016-03-04 01:55:03 +01:00
|
|
|
|
(build-system python-build-system)
|
2016-11-27 06:14:11 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-pytest" ,python-pytest)))
|
2016-03-04 01:55:03 +01:00
|
|
|
|
(home-page "https://bitbucket.org/lazka/mutagen")
|
|
|
|
|
(synopsis "Read and write audio tags")
|
|
|
|
|
(description "Mutagen is a Python module to handle audio metadata. It
|
|
|
|
|
supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg
|
|
|
|
|
Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions
|
|
|
|
|
of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read
|
|
|
|
|
Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and
|
|
|
|
|
APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg
|
|
|
|
|
streams on an individual packet/page level.")
|
|
|
|
|
(license license:gpl2))) ; "later version" never mentioned
|
|
|
|
|
|
|
|
|
|
(define-public python2-mutagen
|
|
|
|
|
(package-with-python2 python-mutagen))
|
2016-03-04 01:58:07 +01:00
|
|
|
|
|
|
|
|
|
(define-public python-musicbrainzngs
|
|
|
|
|
(package
|
|
|
|
|
(name "python-musicbrainzngs")
|
2016-11-27 06:15:57 +01:00
|
|
|
|
(version "0.6")
|
2016-03-04 01:58:07 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "musicbrainzngs" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-27 06:15:57 +01:00
|
|
|
|
"1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8"))))
|
2016-03-04 01:58:07 +01:00
|
|
|
|
(build-system python-build-system)
|
2016-11-27 06:15:57 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(;; The tests fail suffer from race conditions:
|
|
|
|
|
;; https://github.com/alastair/python-musicbrainzngs/issues/211
|
|
|
|
|
#:tests? #f))
|
2016-03-04 01:58:07 +01:00
|
|
|
|
(home-page "https://python-musicbrainzngs.readthedocs.org/")
|
|
|
|
|
(synopsis "Python bindings for MusicBrainz NGS webservice")
|
|
|
|
|
(description "Musicbrainzngs implements Python bindings of the MusicBrainz
|
|
|
|
|
web service. This library can be used to retrieve music metadata from the
|
|
|
|
|
MusicBrainz database.")
|
|
|
|
|
;; 'musicbrainzngs/compat.py' is ISC licensed.
|
|
|
|
|
(license (list license:bsd-2 license:isc))))
|
|
|
|
|
|
|
|
|
|
(define-public python2-musicbrainzngs
|
|
|
|
|
(package-with-python2 python-musicbrainzngs))
|
2016-03-04 02:01:22 +01:00
|
|
|
|
|
2016-10-30 02:01:58 +01:00
|
|
|
|
(define-public python2-pyechonest
|
2016-03-04 02:01:22 +01:00
|
|
|
|
(package
|
2016-10-30 02:01:58 +01:00
|
|
|
|
(name "python2-pyechonest")
|
2016-03-04 02:01:22 +01:00
|
|
|
|
(version "9.0.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pyechonest" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x"))))
|
|
|
|
|
(build-system python-build-system)
|
2016-10-30 02:01:58 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(;; Python 3 is not supported:
|
|
|
|
|
;; https://github.com/echonest/pyechonest/issues/42
|
|
|
|
|
#:python ,python-2))
|
2016-03-04 02:01:22 +01:00
|
|
|
|
(home-page "https://github.com/echonest/pyechonest")
|
|
|
|
|
(synopsis "Python interface to The Echo Nest APIs")
|
2016-03-26 22:23:18 +01:00
|
|
|
|
(description "Pyechonest is a Python library for the Echo Nest API. With
|
|
|
|
|
Pyechonest you have Python access to the entire set of API methods including:
|
2016-03-04 02:01:22 +01:00
|
|
|
|
|
|
|
|
|
@enumerate
|
|
|
|
|
@item artist - search for artists by name, description, or attribute, and get
|
|
|
|
|
back detailed information about any artist including audio, similar artists,
|
|
|
|
|
blogs, familiarity, hotttnesss, news, reviews, urls and video.
|
|
|
|
|
@item song - search songs by artist, title, description, or attribute (tempo,
|
|
|
|
|
duration, etc) and get detailed information back about each song, such as
|
|
|
|
|
hotttnesss, audio_summary, or tracks.
|
|
|
|
|
@item track - upload a track to the Echo Nest and receive summary information
|
|
|
|
|
about the track including key, duration, mode, tempo, time signature along with
|
|
|
|
|
detailed track info including timbre, pitch, rhythm and loudness information.
|
|
|
|
|
@end enumerate\n")
|
2016-10-30 02:01:58 +01:00
|
|
|
|
(license license:bsd-3)))
|
2016-03-04 02:03:23 +01:00
|
|
|
|
|
|
|
|
|
(define-public python-pylast
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pylast")
|
2016-11-27 06:17:12 +01:00
|
|
|
|
(version "1.6.0")
|
2016-03-04 02:03:23 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pylast" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-27 06:17:12 +01:00
|
|
|
|
"0bml11gfkxqd3i2jxkn5k2xllc4rvxjcyhs8an05gcyy1zp2bwvb"))))
|
2016-03-04 02:03:23 +01:00
|
|
|
|
(build-system python-build-system)
|
2016-12-15 19:06:12 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f)) ; FIXME: Requires unpackaged python-flaky.
|
2016-03-04 02:03:23 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-coverage" ,python-coverage)
|
|
|
|
|
("python-mock" ,python-mock)
|
|
|
|
|
("python-pep8" ,python-pep8)
|
|
|
|
|
("python-pytest" ,python-pytest)
|
|
|
|
|
("python-pyflakes" ,python-pyflakes)
|
|
|
|
|
("python-pyyaml" ,python-pyyaml)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-six" ,python-six)))
|
|
|
|
|
(home-page "https://github.com/pylast/pylast")
|
|
|
|
|
(synopsis "Python interface to Last.fm and Libre.fm")
|
|
|
|
|
(description "A Python interface to Last.fm and other API-compatible
|
|
|
|
|
websites such as Libre.fm.")
|
gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a)
This patch contains the changes for all modules beside python.scm where
setuptools are used in an inherited package and removing this input also
removes the need for inheriting the package. This is the case if adding
setuptools in the inherited package was the only change.
Change this to not inherit and remove the new needless call to
"strip-python2-variant (if applicable).
* gnu/packages/bioinformatics.scm (python-biopython, python2-biopython,
python-twobitreader, python2-twobitreader,
python-plastid, python2-plastid,
python2-pybigwig,
python2-screed,
sra-tools): No longer "inherit" Python 2 packages
inheriting from a Python 3 package if the sole reason for inheriting was
adding python-setuptools respective python2-setuptools to [inputs],
[native-inputs] or [propagated-inputs]. Remove now needless [properties]
"python2-variant" where applicable.
* gnu/packages/django.scm (python-pytest-django, python2-pytest-django,
python-django-filter, python2-django-filter): Likewise.
* gnu/packages/gnupg.scm (python2-pygpgme): Likewise.
* gnu/packages/mail.scm (python-mailmanclient, python2-mailmanclient):
Likewise.
* gnu/packages/mpd.scm (python-msp, python2-mpd2): Likewise.
* gnu/packages/music.scm (python-pylast, python2-pylast): Likewise.
* gnu/packages/openstack.scm (python-requests-mock, python2-requests-mock,
python2-git-review): Likewise.
* gnu/packages/password-utils.scm (python2-bcrypt): Likewise.
* gnu/packages/protobuf.scm (python-protobuf, python2-protobuf): Likewise.
* gnu/packages/statistics.scm (python-patsy, python2-patsy): Likewise.
* gnu/packages/web.scm (python2-feedparser): Likewise.
2016-09-28 13:57:21 +02:00
|
|
|
|
(license license:asl2.0)))
|
2016-03-04 02:03:23 +01:00
|
|
|
|
|
|
|
|
|
(define-public python2-pylast
|
gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a)
This patch contains the changes for all modules beside python.scm where
setuptools are used in an inherited package and removing this input also
removes the need for inheriting the package. This is the case if adding
setuptools in the inherited package was the only change.
Change this to not inherit and remove the new needless call to
"strip-python2-variant (if applicable).
* gnu/packages/bioinformatics.scm (python-biopython, python2-biopython,
python-twobitreader, python2-twobitreader,
python-plastid, python2-plastid,
python2-pybigwig,
python2-screed,
sra-tools): No longer "inherit" Python 2 packages
inheriting from a Python 3 package if the sole reason for inheriting was
adding python-setuptools respective python2-setuptools to [inputs],
[native-inputs] or [propagated-inputs]. Remove now needless [properties]
"python2-variant" where applicable.
* gnu/packages/django.scm (python-pytest-django, python2-pytest-django,
python-django-filter, python2-django-filter): Likewise.
* gnu/packages/gnupg.scm (python2-pygpgme): Likewise.
* gnu/packages/mail.scm (python-mailmanclient, python2-mailmanclient):
Likewise.
* gnu/packages/mpd.scm (python-msp, python2-mpd2): Likewise.
* gnu/packages/music.scm (python-pylast, python2-pylast): Likewise.
* gnu/packages/openstack.scm (python-requests-mock, python2-requests-mock,
python2-git-review): Likewise.
* gnu/packages/password-utils.scm (python2-bcrypt): Likewise.
* gnu/packages/protobuf.scm (python-protobuf, python2-protobuf): Likewise.
* gnu/packages/statistics.scm (python-patsy, python2-patsy): Likewise.
* gnu/packages/web.scm (python2-feedparser): Likewise.
2016-09-28 13:57:21 +02:00
|
|
|
|
(package-with-python2 python-pylast))
|
2016-02-14 09:19:59 +01:00
|
|
|
|
|
|
|
|
|
(define-public beets
|
|
|
|
|
(package
|
|
|
|
|
(name "beets")
|
2017-01-11 04:25:27 +01:00
|
|
|
|
(version "1.4.3")
|
2016-02-14 09:19:59 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-29 17:39:47 +02:00
|
|
|
|
(uri (pypi-uri "beets" version))
|
2016-02-14 09:19:59 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-01-11 04:25:27 +01:00
|
|
|
|
"0r743a2pv1iyw50jsdl01v2ml3pdkhdp920a5d1wsacak48vwgxr"))))
|
2016-02-14 09:19:59 +01:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2016-12-26 08:40:13 +01:00
|
|
|
|
`(#:phases
|
2016-02-14 09:19:59 +01:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'set-HOME
|
2016-03-26 22:53:59 +01:00
|
|
|
|
(lambda _ (setenv "HOME" (string-append (getcwd) "/tmp"))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _ (zero? (system* "nosetests" "-v")))))))
|
2016-02-14 09:19:59 +01:00
|
|
|
|
(native-inputs
|
2016-12-26 08:40:13 +01:00
|
|
|
|
`(("python-beautifulsoup4" ,python-beautifulsoup4)
|
|
|
|
|
("python-flask" ,python-flask)
|
|
|
|
|
("python-mock" ,python-mock)
|
|
|
|
|
("python-mpd2" ,python-mpd2)
|
|
|
|
|
("python-nose" ,python-nose)
|
|
|
|
|
("python-pathlib" ,python-pathlib)
|
|
|
|
|
("python-pyxdg" ,python-pyxdg)
|
|
|
|
|
("python-pylast" ,python-pylast)
|
|
|
|
|
("python-rarfile" ,python-rarfile)
|
|
|
|
|
("python-responses" ,python-responses)))
|
2016-02-14 09:19:59 +01:00
|
|
|
|
;; TODO: Install optional plugins and dependencies.
|
2016-06-22 07:53:53 +02:00
|
|
|
|
(inputs
|
2016-12-26 08:40:13 +01:00
|
|
|
|
`(("python-discogs-client" ,python-discogs-client)
|
|
|
|
|
("python-jellyfish" ,python-jellyfish)
|
|
|
|
|
("python-munkres" ,python-munkres)
|
|
|
|
|
("python-musicbrainzngs" ,python-musicbrainzngs)
|
|
|
|
|
("python-mutagen" ,python-mutagen)
|
|
|
|
|
("python-pyyaml" ,python-pyyaml)
|
|
|
|
|
("python-unidecode" ,python-unidecode)))
|
2016-02-14 09:19:59 +01:00
|
|
|
|
(home-page "http://beets.io")
|
|
|
|
|
(synopsis "Music organizer")
|
|
|
|
|
(description "The purpose of beets is to get your music collection right
|
|
|
|
|
once and for all. It catalogs your collection, automatically improving its
|
|
|
|
|
metadata as it goes using the MusicBrainz database. Then it provides a variety
|
|
|
|
|
of tools for manipulating and accessing your music.")
|
|
|
|
|
(license license:expat)))
|
2016-03-30 04:17:21 +02:00
|
|
|
|
|
|
|
|
|
(define-public milkytracker
|
|
|
|
|
(package
|
|
|
|
|
(name "milkytracker")
|
2017-03-29 16:45:43 +02:00
|
|
|
|
(version "1.0.0")
|
2016-03-30 04:17:21 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-03-29 16:45:43 +02:00
|
|
|
|
(uri (string-append "https://github.com/milkytracker/"
|
|
|
|
|
"MilkyTracker/archive/v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2016-03-30 04:17:21 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-29 16:45:43 +02:00
|
|
|
|
"1p1jd4h274jvcvl05l01v9bj19zhq4sjag92v1zawyi93ib85abz"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
;; Remove non-FSDG compliant sample songs.
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "resources/music")
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("add_subdirectory\\(resources/music\\)") ""))))))
|
|
|
|
|
(build-system cmake-build-system)
|
2016-03-30 04:17:21 +02:00
|
|
|
|
(arguments
|
2017-03-29 16:45:43 +02:00
|
|
|
|
'(#:tests? #f)) ; no check target
|
2016-03-30 04:17:21 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("jack" ,jack-1)
|
2017-03-29 16:45:43 +02:00
|
|
|
|
("sdl" ,sdl2)
|
2016-03-30 04:17:21 +02:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Music tracker for working with .MOD/.XM module files")
|
|
|
|
|
(description "MilkyTracker is a music application for creating .MOD and .XM
|
|
|
|
|
module files. It attempts to recreate the module replay and user experience of
|
|
|
|
|
the popular DOS program Fasttracker II, with special playback modes available
|
|
|
|
|
for improved Amiga ProTracker 2/3 compatibility.")
|
2016-11-10 17:31:08 +01:00
|
|
|
|
(home-page "http://milkytracker.titandemo.org/")
|
2016-03-30 04:17:21 +02:00
|
|
|
|
;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or later.
|
|
|
|
|
(license (list license:bsd-3 license:gpl3+))))
|
2016-05-07 00:57:42 +02:00
|
|
|
|
|
2016-09-10 16:27:34 +02:00
|
|
|
|
(define-public schismtracker
|
|
|
|
|
(package
|
|
|
|
|
(name "schismtracker")
|
2017-03-29 22:20:10 +02:00
|
|
|
|
(version "20160913")
|
2016-09-10 16:27:34 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/" name "/" name "/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-29 22:20:10 +02:00
|
|
|
|
"1sc813qi4gl6mf7xp8rrarvyigzhxv3qdrryqsy42yxsb2jcwbrw"))
|
2016-09-10 16:27:34 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Remove use of __DATE__ and __TIME__ for reproducibility.
|
|
|
|
|
`(substitute* "schism/version.c"
|
2017-03-29 22:20:10 +02:00
|
|
|
|
(("Schism Tracker built %s %s.*$")
|
2016-09-10 16:27:34 +02:00
|
|
|
|
(string-append "Schism Tracker version " ,version "\");"))))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'autoconf
|
|
|
|
|
(lambda _ (zero? (system* "autoreconf" "-vfi"))))
|
|
|
|
|
(add-before 'configure 'link-libm
|
|
|
|
|
(lambda _ (setenv "LIBS" "-lm") #t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("python" ,python)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib) ; for asound dependency
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("sdl" ,sdl)))
|
|
|
|
|
(home-page "http://schismtracker.org")
|
|
|
|
|
(synopsis "Oldschool sample-based music composition tool")
|
|
|
|
|
(description
|
|
|
|
|
"Schism Tracker is a reimplementation of Impulse Tracker, a program used to
|
|
|
|
|
create high quality music without the requirements of specialized, expensive
|
|
|
|
|
equipment, and with a unique \"finger feel\" that is difficult to replicate in
|
|
|
|
|
part. The player is based on a highly modified version of the ModPlug engine,
|
|
|
|
|
with a number of bugfixes and changes to improve IT playback.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2016-05-07 00:57:42 +02:00
|
|
|
|
(define-public moc
|
|
|
|
|
(package
|
|
|
|
|
(name "moc")
|
2017-01-11 01:18:42 +01:00
|
|
|
|
(version "2.5.2")
|
2016-05-07 00:57:42 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://ftp.daper.net/pub/soft/"
|
|
|
|
|
name "/stable/"
|
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-01-11 01:18:42 +01:00
|
|
|
|
"026v977kwb0wbmlmf6mnik328plxg8wykfx9ryvqhirac0aq39pk"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Remove use of __DATE__ and __TIME__ for reproducibility.
|
|
|
|
|
'(substitute* "main.c"
|
|
|
|
|
(("printf \\(\" Built : %s\", __DATE__\\);") "")
|
|
|
|
|
(("printf \\(\" %s\", __TIME__\\);") "")))))
|
2016-05-07 00:57:42 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("faad2" ,faad2)
|
|
|
|
|
("ffmpeg" ,ffmpeg)
|
|
|
|
|
("file" ,file)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("libid3tag" ,libid3tag)
|
|
|
|
|
("libltdl" ,libltdl)
|
|
|
|
|
("libmodplug" ,libmodplug)
|
|
|
|
|
("libmpcdec" ,libmpcdec)
|
|
|
|
|
("libmad" ,libmad)
|
2017-04-03 21:29:25 +02:00
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
2016-05-07 00:57:42 +02:00
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("sasl" ,cyrus-sasl)
|
|
|
|
|
("speex" ,speex)
|
|
|
|
|
("taglib" ,taglib)
|
|
|
|
|
("wavpack" ,wavpack)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Console audio player designed to be powerful and easy to use")
|
|
|
|
|
(description
|
|
|
|
|
"Music on Console is a console audio player that supports many file
|
|
|
|
|
formats, including most audio formats recognized by FFMpeg.")
|
|
|
|
|
(home-page "http://moc.daper.net")
|
|
|
|
|
(license license:gpl2+)))
|
2016-07-02 03:26:55 +02:00
|
|
|
|
|
|
|
|
|
(define-public midicsv
|
|
|
|
|
(package
|
|
|
|
|
(name "midicsv")
|
|
|
|
|
(version "1.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.fourmilab.ch/webtools/midicsv/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1vvhk2nf9ilfw0wchmxy8l13hbw9cnpz079nsx5srsy4nnd78nkw"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases (delete 'configure))
|
|
|
|
|
#:make-flags (list "CC=gcc" (string-append "INSTALL_DEST=" %output))))
|
|
|
|
|
(synopsis "Convert MIDI files to and from CSV")
|
|
|
|
|
(description
|
|
|
|
|
"Midicsv reads a standard MIDI file and decodes it into a comma-separated
|
|
|
|
|
value file (CSV), which preserves all the information in the MIDI file. The
|
|
|
|
|
ASCII CSV file may be loaded into a spreadsheet or database application, or
|
|
|
|
|
processed by a program to transform the MIDI data (for example, to key
|
|
|
|
|
transpose a composition or extract a track from a multi-track sequence). A
|
|
|
|
|
CSV file in the format created by midicsv may be converted back into a
|
|
|
|
|
standard MIDI file with the csvmidi program.")
|
|
|
|
|
(home-page "http://www.fourmilab.ch/webtools/midicsv/")
|
|
|
|
|
(license license:public-domain)))
|
2016-10-12 20:04:23 +02:00
|
|
|
|
|
|
|
|
|
(define-public gx-guvnor-lv2
|
2017-04-10 17:31:02 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "gx-guvnor-lv2")
|
|
|
|
|
(version "0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/brummer10/GxGuvnor.lv2/"
|
|
|
|
|
"archive/v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0rnfvrvs8qmmldyfmx4llyly33zp68448gx40ywdwj42x0mam92p"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(;; The check target is used only to output a warning.
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lv2" ,lv2)))
|
|
|
|
|
(home-page "https://github.com/brummer10/GxGuvnor.lv2")
|
|
|
|
|
(synopsis "Overdrive/distortion pedal simulation")
|
|
|
|
|
(description "This package provides the LV2 plugin \"GxGuvnor\", a
|
2016-10-12 20:04:23 +02:00
|
|
|
|
simulation of an overdrive or distortion pedal for guitars.")
|
2017-04-10 17:31:02 +02:00
|
|
|
|
;; The LICENSE file says GPLv3 but the license headers in the files say
|
|
|
|
|
;; GPLv2 or later.
|
|
|
|
|
(license license:gpl2+)))
|
2016-10-12 20:05:00 +02:00
|
|
|
|
|
|
|
|
|
(define-public gx-vbass-preamp-lv2
|
|
|
|
|
(let ((commit "0e599abab10c7669dd444e5d06f671c2fc1b9c6c")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package (inherit gx-guvnor-lv2)
|
|
|
|
|
(name "gx-vbass-preamp-lv2")
|
|
|
|
|
(version (string-append "0-" revision "." (string-take commit 9)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/brummer10/GxVBassPreAmp.lv2")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1dzksdfrva666gpi62fd2ni9rhf18sl917f1894qr0b17pbdh9k1"))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
2017-04-10 17:42:42 +02:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments gx-guvnor-lv2)
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("INSTALL_DIR = .*") "INSTALL_DIR=/lib/lv2\n")
|
|
|
|
|
(("install : all") "install :"))
|
|
|
|
|
#t))))))
|
2016-10-12 20:05:00 +02:00
|
|
|
|
(home-page "https://github.com/brummer10/GxVBassPreAmp.lv2")
|
|
|
|
|
(synopsis "Simulation of the Vox Venue Bass 100 Pre Amp Section")
|
|
|
|
|
(description "This package provides the LV2 plugin \"GxVBassPreAmp\", a
|
|
|
|
|
pre-amplifier simulation modelled after the 1984 Vox Venue Bass 100 Pre Amp
|
|
|
|
|
Section."))))
|
2016-10-12 20:05:17 +02:00
|
|
|
|
|
|
|
|
|
(define-public gx-overdriver-lv2
|
|
|
|
|
(let ((commit "ed71801987449414bf3adaa0dbfac68e8775f1ce")
|
|
|
|
|
(revision "1"))
|
2017-04-10 17:42:42 +02:00
|
|
|
|
(package (inherit gx-vbass-preamp-lv2)
|
2016-10-12 20:05:17 +02:00
|
|
|
|
(name "gx-overdriver-lv2")
|
|
|
|
|
(version (string-append "0-" revision "." (string-take commit 9)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/brummer10/GxOverDriver.lv2")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"13j614jh525fbkby79nnzwj0z1ac0c9wclyn5pfqvkmx6a7j24r8"))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(home-page "https://github.com/brummer10/GxOverDriver.lv2")
|
|
|
|
|
(synopsis "Overdrive effect with level and tone control")
|
|
|
|
|
(description "This package provides the LV2 plugin \"GxOverDriver\", an
|
|
|
|
|
overdrive effect."))))
|
2016-10-12 20:05:34 +02:00
|
|
|
|
|
|
|
|
|
(define-public gx-tone-mender-lv2
|
|
|
|
|
(let ((commit "b6780b4a3e4782b3ed0e5882d6788f178aed138f")
|
|
|
|
|
(revision "1"))
|
2017-04-10 17:42:42 +02:00
|
|
|
|
(package (inherit gx-vbass-preamp-lv2)
|
2016-10-12 20:05:34 +02:00
|
|
|
|
(name "gx-tone-mender-lv2")
|
|
|
|
|
(version (string-append "0-" revision "." (string-take commit 9)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/brummer10/GxToneMender.lv2")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"07qdcfsvv2vdnfnjh91pfgvjdcs5y91nvwfm8c0z8fp6b4bk7a9q"))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(home-page "https://github.com/brummer10/GxToneMender.lv2")
|
|
|
|
|
(synopsis "Clean boost with a 3-knob tonestack")
|
|
|
|
|
(description "This package provides the LV2 plugin \"GxToneMender\", a
|
|
|
|
|
clean boost effect with a 3-knob tonestack."))))
|
2016-10-12 20:05:58 +02:00
|
|
|
|
|
|
|
|
|
(define-public gx-push-pull-lv2
|
|
|
|
|
(let ((commit "7f76ae2068498643ac8671ee0930b13ee3fd8eb5")
|
|
|
|
|
(revision "1"))
|
2017-04-10 17:42:42 +02:00
|
|
|
|
(package (inherit gx-vbass-preamp-lv2)
|
2016-10-12 20:05:58 +02:00
|
|
|
|
(name "gx-push-pull-lv2")
|
|
|
|
|
(version (string-append "0-" revision "." (string-take commit 9)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/brummer10/GxPushPull.lv2")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"12f5hwck2irph0gjbj8xy8jqcqdwb8l1hlwf29k0clz52h1jhb5q"))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(home-page "https://github.com/brummer10/GxPushPull.lv2")
|
|
|
|
|
(synopsis "Octave up push pull transistor fuzz simulation")
|
|
|
|
|
(description "This package provides the LV2 plugin \"GxPushPull\", a
|
|
|
|
|
simulation of a push pull transistor fuzz effect with added high octave."))))
|
2016-10-12 20:06:23 +02:00
|
|
|
|
|
|
|
|
|
(define-public gx-suppa-tone-bender-lv2
|
2017-04-10 17:37:38 +02:00
|
|
|
|
(package (inherit gx-guvnor-lv2)
|
|
|
|
|
(name "gx-suppa-tone-bender-lv2")
|
|
|
|
|
(version "0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/brummer10/"
|
|
|
|
|
"GxSuppaToneBender.lv2/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1j90fns87035sfr6bxs4cvqxbyy3pqjhihx1nis8xajn202nl1hx"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(home-page "https://github.com/brummer10/GxSuppaToneBender.lv2")
|
|
|
|
|
(synopsis "Simulation of the Vox Suppa Tone Bender pedal")
|
|
|
|
|
(description "This package provides the LV2 plugin
|
2016-10-12 20:06:23 +02:00
|
|
|
|
\"GxSuppaToneBender\", a simulation modelled after the Vox Suppa Tone Bender
|
2017-04-10 17:37:38 +02:00
|
|
|
|
pedal.")))
|
2016-10-12 20:06:40 +02:00
|
|
|
|
|
|
|
|
|
(define-public gx-saturator-lv2
|
2016-11-19 10:52:54 +01:00
|
|
|
|
(let ((commit "0b581ac85c515325b9f16e51937cae6e1bf81a0a")
|
|
|
|
|
(revision "2"))
|
2017-04-10 17:42:42 +02:00
|
|
|
|
(package (inherit gx-vbass-preamp-lv2)
|
2016-10-12 20:06:40 +02:00
|
|
|
|
(name "gx-saturator-lv2")
|
|
|
|
|
(version (string-append "0-" revision "." (string-take commit 9)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/brummer10/GxSaturator.lv2")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-19 10:52:54 +01:00
|
|
|
|
"1cl785pzq8zk55m1rnhfd6qsabci6kpf4pf002gwr91vagyq246z"))
|
2016-10-12 20:06:40 +02:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(home-page "https://github.com/brummer10/GxSaturator.lv2")
|
|
|
|
|
(synopsis "Saturation effect")
|
|
|
|
|
(description "This package provides the LV2 plugin \"GxSaturator\", a
|
|
|
|
|
saturation effect."))))
|
2016-10-12 20:06:57 +02:00
|
|
|
|
|
|
|
|
|
(define-public gx-hyperion-lv2
|
2017-04-10 17:42:17 +02:00
|
|
|
|
(package (inherit gx-guvnor-lv2)
|
|
|
|
|
(name "gx-hyperion-lv2")
|
|
|
|
|
(version "0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/brummer10/"
|
|
|
|
|
"GxHyperion.lv2/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1pd7l33a14kq73wavgqq7csw4n3mwjz9d5rxaj0jgsyxd3llp3wh"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(home-page "https://github.com/brummer10/GxHyperion.lv2")
|
|
|
|
|
(synopsis "Simulation of the Hyperion Fuzz pedal")
|
|
|
|
|
(description "This package provides the LV2 plugin \"GxHyperion\", a
|
|
|
|
|
simulation of the Hyperion Fuzz pedal.")))
|
2016-10-12 20:07:14 +02:00
|
|
|
|
|
|
|
|
|
(define-public gx-voodoo-fuzz-lv2
|
2017-04-10 17:54:16 +02:00
|
|
|
|
(package (inherit gx-guvnor-lv2)
|
|
|
|
|
(name "gx-voodoo-fuzz-lv2")
|
|
|
|
|
(version "0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/brummer10/"
|
|
|
|
|
"GxVoodoFuzz.lv2/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0cc8sg7q493bs6pcq4ipqp6czpxv04nh9yvn8kq2x65ni2208n2f"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(home-page "https://github.com/brummer10/GxVoodoFuzz.lv2")
|
|
|
|
|
(synopsis "Fuzz effect modelled after the Voodoo Lab SuperFuzz")
|
|
|
|
|
(description "This package provides the LV2 plugin \"GxVoodooFuzz\", a
|
2016-10-12 20:07:14 +02:00
|
|
|
|
simulation modelled after the Voodoo Lab SuperFuzz pedal. It's basically a
|
|
|
|
|
Bosstone circuit, followed by the tone control of the FoxToneMachine in
|
2017-04-10 17:54:16 +02:00
|
|
|
|
parallel with a DarkBooster, followed by a volume control.")))
|
2016-10-12 20:07:31 +02:00
|
|
|
|
|
|
|
|
|
(define-public gx-super-fuzz-lv2
|
2017-04-10 17:54:44 +02:00
|
|
|
|
(package (inherit gx-guvnor-lv2)
|
|
|
|
|
(name "gx-super-fuzz-lv2")
|
|
|
|
|
(version "0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/brummer10/"
|
|
|
|
|
"GxSuperFuzz.lv2/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0pnivq05f1kji8c5jxsqdzhdfk3xn422v2d1x20x3jfsxnaf115x"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(home-page "https://github.com/brummer10/GxSuperFuzz.lv2")
|
|
|
|
|
(synopsis "Fuzz effect modelled after the UniVox SuperFuzz")
|
2017-04-10 17:55:30 +02:00
|
|
|
|
(description "This package provides the LV2 plugin \"GxSuperFuzz\", an
|
2016-10-12 20:07:31 +02:00
|
|
|
|
analog simulation of the UniVox SuperFuzz pedal. In this simulation the trim
|
2017-04-16 18:06:57 +02:00
|
|
|
|
pot, which is usually in the housing, is exposed as a control parameter. It
|
2017-04-10 17:54:44 +02:00
|
|
|
|
adjusts the amount of harmonics.")))
|
2016-10-12 20:07:48 +02:00
|
|
|
|
|
|
|
|
|
(define-public gx-vintage-fuzz-master-lv2
|
2017-04-10 18:17:56 +02:00
|
|
|
|
(package (inherit gx-guvnor-lv2)
|
|
|
|
|
(name "gx-vintage-fuzz-master-lv2")
|
|
|
|
|
(version "0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/brummer10/"
|
|
|
|
|
"GxVintageFuzzMaster.lv2/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0bdkfj6xi2g4izfw3pmr4i0nqzg8jnkdwc23x9ifxwc6p1kbayzk"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(home-page "https://github.com/brummer10/GxVintageFuzzMaster.lv2")
|
|
|
|
|
(synopsis "Fuzz effect simulation of the vintage Fuzz Master")
|
|
|
|
|
(description "This package provides the LV2 plugin
|
|
|
|
|
\"GxVintageFuzzMaster\", a simulation of the vintage Fuzz Master pedal.")))
|
2016-10-12 20:08:05 +02:00
|
|
|
|
|
|
|
|
|
(define-public gx-slow-gear-lv2
|
2016-11-19 11:22:13 +01:00
|
|
|
|
(let ((commit "cb852e0426f4e6fe077e7f1ede73a4da335cfc5e")
|
|
|
|
|
(revision "2"))
|
2017-04-10 17:42:42 +02:00
|
|
|
|
(package (inherit gx-vbass-preamp-lv2)
|
2016-10-12 20:08:05 +02:00
|
|
|
|
(name "gx-slow-gear-lv2")
|
|
|
|
|
(version (string-append "0-" revision "." (string-take commit 9)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/brummer10/GxSlowGear.lv2")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-19 11:22:13 +01:00
|
|
|
|
"0dp7afi1r3kzciiyn1hrkz6arsq47ys9sx5g4b7xa9k1dv92ishp"))
|
2016-10-12 20:08:05 +02:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(home-page "https://github.com/brummer10/GxSlowGear.lv2")
|
|
|
|
|
(synopsis "Slow gear audio effect")
|
|
|
|
|
(description "This package provides the LV2 plugin \"GxSlowGear\", a
|
|
|
|
|
slow gear audio effect to produce volume swells."))))
|
2016-10-12 20:08:24 +02:00
|
|
|
|
|
|
|
|
|
(define-public gx-switchless-wah-lv2
|
2016-11-19 11:23:07 +01:00
|
|
|
|
(let ((commit "7b08691203314612999f0ce2328cdc1161cd6665")
|
|
|
|
|
(revision "2"))
|
2017-04-10 17:42:42 +02:00
|
|
|
|
(package (inherit gx-vbass-preamp-lv2)
|
2016-10-12 20:08:24 +02:00
|
|
|
|
(name "gx-switchless-wah-lv2")
|
|
|
|
|
(version (string-append "0-" revision "." (string-take commit 9)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/brummer10/GxSwitchlessWah.lv2")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-19 11:23:07 +01:00
|
|
|
|
"04jqfpncmrrqn34p21w4v9m2x5a5wsqwbm4f3byxvq4vcibwxzk2"))
|
2016-10-12 20:08:24 +02:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(home-page "https://github.com/brummer10/GxSwitchlessWah.lv2")
|
|
|
|
|
(synopsis "Wah emulation with switchless activation")
|
|
|
|
|
(description "This package provides the LV2 plugin \"GxSwitchlessWah\",
|
|
|
|
|
a simulation of an analog Wah pedal with switchless activation."))))
|
2016-10-13 17:52:35 +02:00
|
|
|
|
|
|
|
|
|
(define-public mod-utilities
|
|
|
|
|
(let ((commit "7cdeeac26ae682730740105ece121d4dddb8ba3f")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "mod-utilities")
|
|
|
|
|
(version (string-append "0-" revision "." (string-take commit 9)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/moddevices/mod-utilities.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1ilnkbrmwrszxvc21qlb86h29yz7cnc6rcp0jmna1y693ny2qhf4"))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; there are no tests
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "INSTALL_PATH="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib/lv2"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lv2" ,lv2)))
|
|
|
|
|
(home-page "https://github.com/moddevices/mod-utilities")
|
|
|
|
|
(synopsis "LV2 utility plugins")
|
|
|
|
|
(description "This package provides LV2 audio utility plugins, such as
|
|
|
|
|
filters, crossovers, simple gain plugins without zipper noise, switch box
|
|
|
|
|
plugins, a switch trigger, a toggle switch, and a peakmeter.")
|
|
|
|
|
(license license:gpl2+))))
|
2016-11-27 07:13:53 +01:00
|
|
|
|
|
2016-11-27 23:34:37 +01:00
|
|
|
|
(define-public ingen
|
|
|
|
|
(let ((commit "fd147d0b888090bfb897505852c1f25dbdf77e18")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "ingen")
|
|
|
|
|
(version (string-append "0.0.0-" revision "."
|
|
|
|
|
(string-take commit 9)))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "http://git.drobilla.net/ingen.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1qmg79962my82c43vyrv5sxbqci9c7gc2s9bwaaqd0fcf08xcz1z"))))
|
|
|
|
|
(build-system waf-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no "check" target
|
|
|
|
|
#:configure-flags (list "--no-webkit")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-wscript
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "wscript"
|
|
|
|
|
;; FIXME: Our version of lv2specgen.py does not behave as
|
|
|
|
|
;; expected. Maybe this requires a development version of
|
|
|
|
|
;; LV2.
|
|
|
|
|
(("lv2specgen.py") "touch ingen.lv2/ingen.html; echo")
|
|
|
|
|
;; Add libraries to RUNPATH.
|
|
|
|
|
(("^(.+)target.*= 'src/ingen/ingen'," line prefix)
|
|
|
|
|
(string-append prefix
|
|
|
|
|
"linkflags=[\"-Wl,-rpath="
|
|
|
|
|
out "/lib" "\"]," line)))
|
|
|
|
|
(substitute* '("src/wscript"
|
|
|
|
|
"src/server/wscript")
|
|
|
|
|
;; Add libraries to RUNPATH.
|
|
|
|
|
(("bld.env.PTHREAD_LINKFLAGS" line)
|
|
|
|
|
(string-append line
|
|
|
|
|
" + [\"-Wl,-rpath=" out "/lib" "\"]")))
|
|
|
|
|
(substitute* "src/client/wscript"
|
|
|
|
|
;; Add libraries to RUNPATH.
|
|
|
|
|
(("^(.+)target.*= 'ingen_client'," line prefix)
|
|
|
|
|
(string-append prefix
|
|
|
|
|
"linkflags=[\"-Wl,-rpath="
|
|
|
|
|
out "/lib" "\"]," line)))
|
|
|
|
|
(substitute* "src/gui/wscript"
|
|
|
|
|
;; Add libraries to RUNPATH.
|
|
|
|
|
(("^(.+)target.* = 'ingen_gui.*" line prefix)
|
|
|
|
|
(string-append prefix
|
|
|
|
|
"linkflags=[\"-Wl,-rpath="
|
|
|
|
|
out "/lib" "\"]," line))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("python-rdflib" ,python-rdflib)
|
|
|
|
|
("python" ,python)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("lv2" ,lv2)
|
|
|
|
|
("lilv" ,lilv)
|
|
|
|
|
("raul" ,raul-devel)
|
|
|
|
|
("ganv" ,ganv-devel)
|
|
|
|
|
("suil" ,suil)
|
|
|
|
|
("serd" ,serd)
|
|
|
|
|
("sord" ,sord)
|
|
|
|
|
("sratom" ,sratom)
|
|
|
|
|
("gtkmm" ,gtkmm-2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("python-pygments" ,python-pygments)))
|
|
|
|
|
(home-page "http://drobilla.net/software/ingen")
|
|
|
|
|
(synopsis "Modular audio processing system")
|
|
|
|
|
(description "Ingen is a modular audio processing system for JACK and
|
|
|
|
|
LV2 based systems. Ingen is built around LV2 technology and a strict
|
|
|
|
|
separation of engine from user interface. The engine is controlled
|
|
|
|
|
exclusively through a protocol, and can execute as a headless process, with an
|
|
|
|
|
in-process GUI, or as an LV2 plugin. The GUI can run as a program which
|
|
|
|
|
communicates over a Unix or TCP/IP socket, or as an embeddable LV2 GUI which
|
|
|
|
|
communicates via LV2 ports. Any saved Ingen graph can be loaded as an LV2
|
|
|
|
|
plugin on any system where Ingen is installed. This allows users to visually
|
|
|
|
|
develop custom plugins for use in other applications without programming.")
|
|
|
|
|
(license license:agpl3+))))
|
|
|
|
|
|
2016-12-04 19:35:46 +01:00
|
|
|
|
(define-public qmidiarp
|
|
|
|
|
(package
|
|
|
|
|
(name "qmidiarp")
|
|
|
|
|
(version "0.6.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/qmidiarp/qmidiarp/"
|
|
|
|
|
version "/qmidiarp-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1gkfv8ajgf86kbn6j5ilfc1zlz17gdi9yxzywqd6jwff4xlm75hx"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--enable-qt5"
|
|
|
|
|
"CXXFLAGS=-std=gnu++11")))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("liblo" ,liblo)
|
|
|
|
|
("lv2" ,lv2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("qttools" ,qttools)))
|
|
|
|
|
(home-page "http://qmidiarp.sourceforge.net/")
|
|
|
|
|
(synopsis "MIDI arpeggiator")
|
|
|
|
|
(description "QMidiArp is an advanced MIDI arpeggiator, programmable step
|
|
|
|
|
sequencer and LFO. It can hold any number of arpeggiator, sequencer, or LFO
|
|
|
|
|
modules running in parallel.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2016-12-04 20:51:58 +01:00
|
|
|
|
(define-public seq24
|
|
|
|
|
(package
|
|
|
|
|
(name "seq24")
|
|
|
|
|
(version "0.9.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://launchpad.net/seq24/trunk/"
|
|
|
|
|
version "/+download/seq24-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"12dphdhnvfk1k0vmagi1v2lhyxjyj1j3cz6ksjw0ydcvid1x8ap2"))
|
|
|
|
|
(patches (search-patches "seq24-rename-mutex.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "CXXFLAGS=-std=gnu++11")))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gtkmm" ,gtkmm-2)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("jack" ,jack-1)
|
|
|
|
|
("lash" ,lash)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://edge.launchpad.net/seq24/")
|
|
|
|
|
(synopsis "Real-time MIDI sequencer")
|
|
|
|
|
(description "Seq24 is a real-time MIDI sequencer. It was created to
|
|
|
|
|
provide a very simple interface for editing and playing MIDI loops.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2016-11-27 07:13:53 +01:00
|
|
|
|
(define-public python-discogs-client
|
|
|
|
|
(package
|
|
|
|
|
(name "python-discogs-client")
|
|
|
|
|
(version "2.2.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "discogs-client" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"053ld2psh0yj3z0kg6z5bn4y3cr562m727494n0ayhgzbkjbacly"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-oauthlib" ,python-oauthlib)
|
|
|
|
|
("python-requests" ,python-requests)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-six" ,python-six)))
|
|
|
|
|
(home-page "https://github.com/discogs/discogs_client")
|
|
|
|
|
(synopsis "Official Python client for the Discogs API")
|
|
|
|
|
(description "This is the official Discogs API client for Python. It enables
|
|
|
|
|
you to query the Discogs database for information on artists, releases, labels,
|
|
|
|
|
users, Marketplace listings, and more. It also supports OAuth 1.0a
|
|
|
|
|
authorization, which allows you to change user data such as profile information,
|
|
|
|
|
collections and wantlists, inventory, and orders.")
|
2016-11-29 19:02:35 +01:00
|
|
|
|
(license license:bsd-2)))
|
2016-11-27 07:13:53 +01:00
|
|
|
|
|
|
|
|
|
(define-public python2-discogs-client
|
2016-11-29 19:02:35 +01:00
|
|
|
|
(package-with-python2 python-discogs-client))
|
2017-02-09 14:37:02 +01:00
|
|
|
|
|
|
|
|
|
(define-public libsmf
|
|
|
|
|
(package
|
|
|
|
|
(name "libsmf")
|
|
|
|
|
(version "1.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
;; SF download page says development moved, but the link it points to
|
|
|
|
|
;; is gone (https://github.com/nilsgey/libsmf). Someone else adopted
|
|
|
|
|
;; it but made no release so far (https://github.com/stump/libsmf).
|
|
|
|
|
(uri (string-append "mirror://sourceforge/libsmf/libsmf/"
|
|
|
|
|
version "/libsmf-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"16c0n40h0r56gzbh5ypxa4dwp296dan3jminml2qkb4lvqarym6k"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs '("out"
|
|
|
|
|
"static")) ; 88KiB of .a files
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'move-static-libraries
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Move static libraries to the "static" output.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(static (assoc-ref outputs "static"))
|
|
|
|
|
(slib (string-append static "/lib")))
|
|
|
|
|
(mkdir-p slib)
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file slib)
|
|
|
|
|
(delete-file file))
|
|
|
|
|
(find-files lib "\\.a$"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("readline" ,readline)
|
|
|
|
|
("glib" ,glib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("doxygen" ,doxygen)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://libsmf.sourceforge.net/")
|
|
|
|
|
(synopsis "Standard MIDI File format library")
|
|
|
|
|
(description
|
|
|
|
|
"LibSMF is a C library for handling SMF (\"*.mid\") files. It transparently handles
|
|
|
|
|
conversions between time and pulses, tempo map handling and more. The only dependencies
|
|
|
|
|
are a C compiler and glib. Full API documentation and examples are included.")
|
|
|
|
|
(license license:bsd-2)))
|
2017-03-21 20:23:49 +01:00
|
|
|
|
|
|
|
|
|
(define-public lmms
|
|
|
|
|
(package
|
|
|
|
|
(name "lmms")
|
|
|
|
|
(version "1.1.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/LMMS/lmms/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1g76z7ha3hd53vbqaq9n1qg6s3lw8zzaw51iny6y2bz0j1xqwcsr"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before
|
|
|
|
|
'configure 'set-ldflags
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(setenv "LDFLAGS"
|
|
|
|
|
(string-append
|
|
|
|
|
"-Wl,-rpath=\""
|
|
|
|
|
(assoc-ref outputs "out") "/lib/lmms"
|
|
|
|
|
":"
|
|
|
|
|
(assoc-ref outputs "out") "/lib/lmms/ladspa"
|
|
|
|
|
"\"")))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl" ,sdl)
|
|
|
|
|
("qt" ,qt-4)
|
|
|
|
|
("fltk" ,fltk)
|
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libsamplerate" ,libsamplerate)
|
|
|
|
|
("fluidsynth" ,fluidsynth)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("portaudio" ,portaudio)
|
|
|
|
|
("ladspa" ,ladspa)
|
|
|
|
|
("libsndfile1" ,libsndfile)
|
|
|
|
|
("libxft" ,libxft)
|
|
|
|
|
("freetype2" ,freetype)
|
|
|
|
|
("fftw3f" ,fftwf)))
|
|
|
|
|
(home-page "https://lmms.io/")
|
|
|
|
|
(synopsis "Music composition tool")
|
|
|
|
|
(description "LMMS is a digital audio workstation. It includes tools for sequencing
|
|
|
|
|
melodies and beats and for mixing and arranging songs. LMMS includes instruments based on
|
|
|
|
|
audio samples and various soft sythesizers. It can receive input from a MIDI keyboard.")
|
|
|
|
|
(license license:gpl2+)))
|