zrythm: format
This commit is contained in:
parent
0d83445493
commit
1591aa5856
@ -1,65 +1,66 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchzip
|
||||
, alsa-lib
|
||||
, appstream
|
||||
, bash-completion
|
||||
, boost
|
||||
, breeze-icons
|
||||
, carla
|
||||
, chromaprint
|
||||
, cmake
|
||||
, curl
|
||||
, dbus
|
||||
, dconf
|
||||
, fftw
|
||||
, fftwFloat
|
||||
, flex
|
||||
, glib
|
||||
, graphviz
|
||||
, gtk4
|
||||
, gtksourceview5
|
||||
, guile
|
||||
, help2man
|
||||
, jq
|
||||
, kissfft
|
||||
, libadwaita
|
||||
, libbacktrace
|
||||
, libcyaml
|
||||
, libepoxy
|
||||
, libjack2
|
||||
, libpanel
|
||||
, libpulseaudio
|
||||
, libsamplerate
|
||||
, libsndfile
|
||||
, libxml2
|
||||
, libyaml
|
||||
, lilv
|
||||
, lv2
|
||||
, meson
|
||||
, ninja
|
||||
, pcre2
|
||||
, pkg-config
|
||||
, python3
|
||||
, rtaudio_6
|
||||
, rtmidi
|
||||
, rubberband
|
||||
, sassc
|
||||
, serd
|
||||
, sord
|
||||
, sox
|
||||
, soxr
|
||||
, sratom
|
||||
, texi2html
|
||||
, vamp-plugin-sdk
|
||||
, wrapGAppsHook4
|
||||
, writeScript
|
||||
, xdg-utils
|
||||
, xxHash
|
||||
, yyjson
|
||||
, zix
|
||||
, zstd
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
fetchzip,
|
||||
alsa-lib,
|
||||
appstream,
|
||||
bash-completion,
|
||||
boost,
|
||||
breeze-icons,
|
||||
carla,
|
||||
chromaprint,
|
||||
cmake,
|
||||
curl,
|
||||
dbus,
|
||||
dconf,
|
||||
fftw,
|
||||
fftwFloat,
|
||||
flex,
|
||||
glib,
|
||||
graphviz,
|
||||
gtk4,
|
||||
gtksourceview5,
|
||||
guile,
|
||||
help2man,
|
||||
jq,
|
||||
kissfft,
|
||||
libadwaita,
|
||||
libbacktrace,
|
||||
libcyaml,
|
||||
libepoxy,
|
||||
libjack2,
|
||||
libpanel,
|
||||
libpulseaudio,
|
||||
libsamplerate,
|
||||
libsndfile,
|
||||
libxml2,
|
||||
libyaml,
|
||||
lilv,
|
||||
lv2,
|
||||
meson,
|
||||
ninja,
|
||||
pcre2,
|
||||
pkg-config,
|
||||
python3,
|
||||
rtaudio_6,
|
||||
rtmidi,
|
||||
rubberband,
|
||||
sassc,
|
||||
serd,
|
||||
sord,
|
||||
sox,
|
||||
soxr,
|
||||
sratom,
|
||||
texi2html,
|
||||
vamp-plugin-sdk,
|
||||
wrapGAppsHook4,
|
||||
writeScript,
|
||||
xdg-utils,
|
||||
xxHash,
|
||||
yyjson,
|
||||
zix,
|
||||
zstd,
|
||||
}:
|
||||
|
||||
let
|
||||
@ -83,7 +84,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://www.zrythm.org/releases/zrythm-${finalAttrs.version}.tar.xz";
|
||||
sha256 = "sha256-qI1UEIeIJdYQcOWMjJa55DaWjDIabx56dSwjhm64ROM=";
|
||||
hash = "sha256-qI1UEIeIJdYQcOWMjJa55DaWjDIabx56dSwjhm64ROM=";
|
||||
};
|
||||
|
||||
passthru.updateScript = writeScript "update-zrythm" ''
|
||||
@ -187,7 +188,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace meson.build \
|
||||
--replace "'/usr/lib', '/usr/local/lib', '/opt/homebrew/lib'" "'${fftw}/lib'"
|
||||
--replace-fail "'/usr/lib', '/usr/local/lib', '/opt/homebrew/lib'" "'${fftw}/lib'"
|
||||
|
||||
chmod +x scripts/meson-post-install.sh
|
||||
patchShebangs ext/sh-manpage-completions/run.sh scripts/generic_guile_wrap.sh \
|
||||
@ -201,12 +202,18 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://www.zrythm.org";
|
||||
description = "Automated and intuitive digital audio workstation";
|
||||
maintainers = with maintainers; [ tshaynik magnetophon yuu astavie PowerUser64 ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = with lib.maintainers; [
|
||||
tshaynik
|
||||
magnetophon
|
||||
yuu
|
||||
astavie
|
||||
PowerUser64
|
||||
];
|
||||
platforms = lib.platforms.unix;
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
license = licenses.agpl3Plus;
|
||||
license = lib.licenses.agpl3Plus;
|
||||
};
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user