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

71 lines
1.5 KiB
Nix
Raw Normal View History

2021-07-27 13:21:33 +00:00
{ lib
, stdenv
, fetchurl
, cmake
, makedepend
, perl
, pkg-config
, qttools
, wrapQtAppsHook
, dssi
, fftwSinglePrec
, ladspaH
, ladspaPlugins
, libjack2
, alsa-lib
, liblo
, libsamplerate
, libsndfile
, lirc
, lrdf
, qtbase
}:
2015-08-23 13:15:59 +00:00
2021-07-27 13:21:33 +00:00
stdenv.mkDerivation rec {
pname = "rosegarden";
2021-07-27 13:21:33 +00:00
version = "20.12";
2017-09-08 13:43:18 +00:00
2015-08-23 13:15:59 +00:00
src = fetchurl {
url = "mirror://sourceforge/rosegarden/${pname}-${version}.tar.bz2";
2021-03-09 12:52:07 +00:00
sha256 = "sha256-iGaEr8WFipV4I00fhFGI2xMBFPf784IIxNXs2hUTHFs=";
2015-08-23 13:15:59 +00:00
};
2021-07-27 13:21:33 +00:00
postPhase = ''
2017-10-01 02:51:17 +00:00
substituteInPlace src/CMakeLists.txt --replace svnheader svnversion
'';
2021-07-27 13:21:33 +00:00
nativeBuildInputs = [ cmake makedepend perl pkg-config qttools wrapQtAppsHook ];
2017-09-08 13:43:18 +00:00
buildInputs = [
2017-10-01 02:51:17 +00:00
dssi
fftwSinglePrec
ladspaH
ladspaPlugins
libjack2
liblo
libsamplerate
libsndfile
lirc
lrdf
2017-10-01 02:51:17 +00:00
qtbase
alsa-lib
2017-10-01 02:51:17 +00:00
];
2017-09-08 13:43:18 +00:00
meta = with lib; {
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;
};
2021-07-27 13:21:33 +00:00
}