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

53 lines
1.5 KiB
Nix
Raw Normal View History

2017-10-01 02:51:17 +00:00
{ stdenv, fetchurl, cmake, makedepend, perl, pkgconfig, qttools
, dssi, fftwSinglePrec, ladspaH, ladspaPlugins, libjack2
, liblo, liblrdf, libsamplerate, libsndfile, lirc ? null, qtbase }:
2015-08-23 13:15:59 +00:00
stdenv.mkDerivation (rec {
version = "17.12.1";
2015-08-23 13:15:59 +00:00
name = "rosegarden-${version}";
2017-09-08 13:43:18 +00:00
2015-08-23 13:15:59 +00:00
src = fetchurl {
2017-10-01 02:51:17 +00:00
url = "mirror://sourceforge/rosegarden/${name}.tar.bz2";
sha256 = "155kqbxg85wqv0w97cmmx8wq0r4xb3qpnk20lfma04vj8k6hc1mg";
2015-08-23 13:15:59 +00:00
};
2017-10-01 02:51:17 +00:00
patchPhase = ''
substituteInPlace src/CMakeLists.txt --replace svnheader svnversion
'';
nativeBuildInputs = [ cmake makedepend perl pkgconfig qttools ];
2017-09-08 13:43:18 +00:00
buildInputs = [
2017-10-01 02:51:17 +00:00
dssi
fftwSinglePrec
ladspaH
ladspaPlugins
libjack2
liblo
liblrdf
libsamplerate
libsndfile
lirc
qtbase
];
2017-09-08 13:43:18 +00:00
enableParallelBuilding = true;
2015-08-23 13:15:59 +00:00
meta = with stdenv.lib; {
2018-06-27 20:12:57 +00:00
homepage = https://www.rosegardenmusic.com/;
2015-08-23 13:15:59 +00:00
description = "Music composition and editing environment";
longDescription = ''
2017-10-01 02:51:17 +00: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 13:15:59 +00:00
2017-10-01 02:51:17 +00: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 13:15:59 +00:00
license = licenses.lgpl2Plus;
platforms = platforms.linux;
};
})