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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

58 lines
1.5 KiB
Nix
Raw Normal View History

2023-12-23 00:57:36 +00:00
{ lib, stdenv, fetchurl, fetchpatch, pkg-config
, libjack2, gettext, intltool, guile, lilypond
2017-12-27 02:45:54 +00:00
, glib, libxml2, librsvg, libsndfile, aubio
, gtk3, gtksourceview, evince, fluidsynth, rubberband
2023-12-23 00:57:36 +00:00
, autoreconfHook, gtk-doc
, portaudio, portmidi, fftw, wrapGAppsHook }:
2017-12-27 02:45:54 +00:00
stdenv.mkDerivation rec {
pname = "denemo";
2022-03-13 07:51:02 +00:00
version = "2.6.0";
2017-12-27 02:45:54 +00:00
src = fetchurl {
url = "https://ftp.gnu.org/gnu/denemo/denemo-${version}.tar.gz";
2022-03-13 07:51:02 +00:00
sha256 = "sha256-S+WXDGmEf5fx+HYnXJdE5QNOfJg7EqEEX7IMI2SUtV0=";
2017-12-27 02:45:54 +00:00
};
2023-12-23 00:57:36 +00:00
patches = [
(fetchpatch {
name = "allow-guile-3.patch";
url = "https://git.savannah.gnu.org/cgit/denemo.git/patch/?id=9de1c65e56a021925af532bb55336b0ce86d3084";
postFetch = ''
substituteInPlace $out \
--replace "2.6.8" "2.6.0" \
--replace "2.6.9" "2.6.0"
'';
hash = "sha256-Jj33k/KgvZgKG43MuLgjb4A2KNkm/z9ytzGKcXMAOI4=";
})
];
2017-12-27 02:45:54 +00:00
buildInputs = [
2023-12-23 00:57:36 +00:00
libjack2 guile lilypond glib libxml2 librsvg libsndfile
2017-12-27 02:45:54 +00:00
aubio gtk3 gtksourceview evince fluidsynth rubberband portaudio fftw portmidi
];
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : "${lilypond}/bin"
)
2017-12-27 02:45:54 +00:00
'';
nativeBuildInputs = [
2023-12-23 00:57:36 +00:00
autoreconfHook
gtk-doc
wrapGAppsHook
2017-12-27 02:45:54 +00:00
intltool
gettext
pkg-config
2017-12-27 02:45:54 +00:00
];
meta = with lib; {
2017-12-27 02:45:54 +00:00
description = "Music notation and composition software used with lilypond";
homepage = "http://denemo.org";
2017-12-27 02:45:54 +00:00
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.olynch ];
};
}