gnu: qemu: Remove dependency on Samba.
[jackhill/guix/guix.git] / gnu / packages / cursynth.scm
CommitLineData
505b1aa8
EB
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages cursynth)
20 #:use-module (guix packages)
21 #:use-module (guix licenses)
22 #:use-module (guix download)
23 #:use-module (guix build-system gnu)
24 #:use-module (gnu packages)
25 #:use-module (gnu packages pkg-config)
26 #:use-module (gnu packages ncurses)
27 #:use-module (gnu packages linux))
28
29(define-public cursynth
30 (package
31 (name "cursynth")
32 (version "1.4")
33 (source
34 (origin
35 (method url-fetch)
36 (uri (string-append "mirror://gnu/cursynth/cursynth-"
37 version ".tar.gz"))
38 (sha256
39 (base32 "1p9c54v9b0jjx33sammqsdi5xw65csly4cr1i08wv9x6r2yib55m"))))
40 (build-system gnu-build-system)
41 (native-inputs `(("pkg-config" ,pkg-config)))
42 ;; TODO: See https://github.com/iyoko/cursynth/issues/4 which currently
43 ;; prevents us from using pulseaudio
44 (inputs `(("ncurses" ,ncurses)
45 ("alsa" ,alsa-lib)))
46 (home-page "http://www.gnu.org/software/cursynth")
47 (synopsis "Polyphonic and MIDI subtractive music synthesizer using curses")
48 (description "GNU cursynth is a polyphonic synthesizer that runs
49graphically in the terminal. It is built on a full-featured subtractive
50synthesis engine. Notes and parameter changes may be entered via MIDI or the
51computer's keyboard.")
52 (license gpl3+)))