Files
nixpkgs/pkgs/by-name/ro/rosegarden/package.nix
2026-06-06 16:36:30 +00:00

100 lines
1.9 KiB
Nix

{
lib,
stdenv,
fetchurl,
cmake,
makedepend,
perl,
pkg-config,
qt5,
alsa-lib,
dssi,
fftwSinglePrec,
flac,
glib,
ladspa-header,
ladspaPlugins,
libjack2,
liblo,
libmpg123,
libopus,
libsamplerate,
libsndfile,
libsysprof-capture,
libvorbis,
lilv,
lv2,
lirc,
lrdf,
libogg,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "rosegarden";
version = "26.06";
src = fetchurl {
url = "mirror://sourceforge/rosegarden/rosegarden-${finalAttrs.version}.tar.xz";
sha256 = "sha256-ddnwHGqkbRoIwawp7jdeSqsdzbZw+3IwqeacCUWNO9k=";
};
postPhase = ''
substituteInPlace src/CMakeLists.txt --replace svnheader svnversion
'';
nativeBuildInputs = [
cmake
makedepend
perl
pkg-config
qt5.qttools
qt5.wrapQtAppsHook
];
buildInputs = [
alsa-lib
dssi
fftwSinglePrec
flac
glib
ladspa-header
ladspaPlugins
libjack2
liblo
libmpg123
libogg
libopus
libsamplerate
libsndfile
libsysprof-capture
libvorbis
lilv
lv2
lirc
lrdf
qt5.qtbase
];
cmakeFlags = [
"-DLILV_INCLUDE_DIR=${lilv.dev}/include/lilv-0"
];
meta = {
homepage = "https://www.rosegardenmusic.com/";
description = "Music composition and editing environment";
mainProgram = "rosegarden";
longDescription = ''
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.
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 lib.maintainers; [ lebastr ];
license = lib.licenses.lgpl2Plus;
platforms = lib.platforms.linux;
};
})