Zrythm installer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

122 lines
1.9 KiB

{ stdenv
, fetchFromGitHub
, SDL2
, alsaLib
, bash
, bash-completion
, carla
, chromaprint
, ffmpeg
, fftw
, fftwFloat
, git
, gtk3
, gtksourceview3
, guile
, help2man
, libcyaml
, libgtop
, libjack2
, libsamplerate
, libsndfile
, libxml2
, libyaml
, lilv
, meson
, ninja
, pandoc
, pcre
, pkg-config
, python3
, rtaudio
, rtmidi
, rubberband
, serd
, sord
, sratom
, texi2html
, wrapGAppsHook
, xdg_utils
}:
stdenv.mkDerivation rec {
pname = "zrythm@DASH_TRIAL@";
version = "@ZRYTHM_PKG_VERSION@";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "@ZRYTHM_GIT_VERSION@";
sha256 = "0m7i8f5y3lvkbflys0iblkl6ksw6kn2b64k6gy10yd549n8adx69";
};
nativeBuildInputs = [
audec
git
gtk3
help2man
libxml2
meson
ninja
pandoc
pkg-config
python3
python3.pkgs.sphinx
texi2html
wrapGAppsHook
];
buildInputs = [
SDL2
alsaLib
bash-completion
carla
chromaprint
ffmpeg
fftw
fftwFloat
gtksourceview3
guile
libcyaml
libgtop
libjack2
libsamplerate
libsndfile
libyaml
lilv
pcre
rtaudio
rtmidi
rubberband
serd
sord
sratom
xdg_utils
];
mesonFlags = [
"-Denable_ffmpeg=true"
"-Denable_rtmidi=true"
"-Denable_rtaudio=true"
"-Denable_sdl=true"
"-Dmanpage=true"
"-Duser_manual=true"
];
postPatch = ''
chmod +x resources/gen_gtk_resources_xml_wrap.sh # patchShebangs only works on executable files
patchShebangs resources/gen_gtk_resources_xml_wrap.sh
'';
preInstall = ''
patchShebangs meson_post_install_wrap.sh # gets created during build.
'';
meta = with stdenv.lib; {
homepage = "https://www.zrythm.org";
description = "highly automated and intuitive digital audio workstation";
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
license = licenses.agpl3Plus;
};
}