nixpkgs/pkgs/applications/audio/rosegarden/default.nix

54 lines
1.5 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake, makedepend, perl, pkgconfig, qttools, wrapQtAppsHook
2017-10-01 04:51:17 +02:00
, dssi, fftwSinglePrec, ladspaH, ladspaPlugins, libjack2
, liblo, liblrdf, libsamplerate, libsndfile, lirc ? null, qtbase }:
2015-08-23 15:15:59 +02:00
stdenv.mkDerivation (rec {
version = "19.06";
pname = "rosegarden";
2017-09-08 15:43:18 +02:00
2015-08-23 15:15:59 +02:00
src = fetchurl {
url = "mirror://sourceforge/rosegarden/${pname}-${version}.tar.bz2";
sha256 = "169qb58v2s8va59hzkih8nqb2aipsqlrbfs8q39ywqa8w5d60gcc";
2015-08-23 15:15:59 +02:00
};
2017-10-01 04:51:17 +02:00
patchPhase = ''
substituteInPlace src/CMakeLists.txt --replace svnheader svnversion
'';
nativeBuildInputs =
[ cmake makedepend perl pkgconfig qttools wrapQtAppsHook ];
2017-09-08 15:43:18 +02:00
buildInputs = [
2017-10-01 04:51:17 +02:00
dssi
fftwSinglePrec
ladspaH
ladspaPlugins
libjack2
liblo
liblrdf
libsamplerate
libsndfile
lirc
qtbase
];
2017-09-08 15:43:18 +02:00
enableParallelBuilding = true;
2015-08-23 15:15:59 +02:00
meta = with stdenv.lib; {
2018-06-27 22:12:57 +02:00
homepage = https://www.rosegardenmusic.com/;
2015-08-23 15:15:59 +02:00
description = "Music composition and editing environment";
longDescription = ''
2017-10-01 04:51:17 +02:00
Rosegarden is a music composition and editing environment based around
a MIDI sequencer that features a rich understanding of music notation
and includes basic support for digital audio.
2015-08-23 15:15:59 +02:00
2017-10-01 04:51:17 +02:00
Rosegarden is an easy-to-learn, attractive application that runs on Linux,
ideal for composers, musicians, music students, and small studio or home
recording environments.
'';
maintainers = with maintainers; [ lebastr ];
2015-08-23 15:15:59 +02:00
license = licenses.lgpl2Plus;
platforms = platforms.linux;
};
})