nixpkgs-suyu/pkgs/applications/audio/denemo/default.nix

42 lines
1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config
2017-12-27 03:45:54 +01:00
, libjack2, gettext, intltool, guile_2_0, lilypond
, glib, libxml2, librsvg, libsndfile, aubio
, gtk3, gtksourceview, evince, fluidsynth, rubberband
, portaudio, portmidi, fftw, wrapGAppsHook }:
2017-12-27 03:45:54 +01:00
stdenv.mkDerivation rec {
pname = "denemo";
2021-03-03 09:18:04 +01:00
version = "2.5.0";
2017-12-27 03:45:54 +01:00
src = fetchurl {
url = "https://ftp.gnu.org/gnu/denemo/denemo-${version}.tar.gz";
2021-03-03 09:18:04 +01:00
sha256 = "sha256-B6GbBL/o/z0emT+Iw6XvWmAsJCmIwSGCyV1DkhDyfBY=";
2017-12-27 03:45:54 +01:00
};
buildInputs = [
libjack2 guile_2_0 lilypond glib libxml2 librsvg libsndfile
2017-12-27 03:45:54 +01:00
aubio gtk3 gtksourceview evince fluidsynth rubberband portaudio fftw portmidi
];
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : "${lilypond}/bin"
)
2017-12-27 03:45:54 +01:00
'';
nativeBuildInputs = [
wrapGAppsHook
2017-12-27 03:45:54 +01:00
intltool
gettext
pkg-config
2017-12-27 03:45:54 +01:00
];
meta = with lib; {
2017-12-27 03:45:54 +01:00
description = "Music notation and composition software used with lilypond";
homepage = "http://denemo.org";
2017-12-27 03:45:54 +01:00
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.olynch ];
};
}