Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
79 lines
1.5 KiB
Nix
79 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
gtk-doc,
|
|
intltool,
|
|
itstool,
|
|
libtool,
|
|
pkg-config,
|
|
wrapGAppsHook3,
|
|
yelp-tools,
|
|
clutter-gtk,
|
|
gst_all_1,
|
|
glib,
|
|
gtk2,
|
|
libgsf,
|
|
libxml2,
|
|
fluidsynth,
|
|
orc,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "buzztrax";
|
|
version = "0.11.0-unstable-2024-03-02";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Buzztrax";
|
|
repo = "buzztrax";
|
|
rev = "4bb66d9d9870e1e56ce1f0e97bb58a0c627356d3";
|
|
hash = "sha256-AV/tYru9WhGbi6IlQEf42EN8b0pNAYblLUZ+fXpOFRI=";
|
|
};
|
|
|
|
postPatch = ''
|
|
touch AUTHORS
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
gtk-doc
|
|
intltool
|
|
itstool
|
|
libtool
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
yelp-tools
|
|
];
|
|
|
|
buildInputs = [
|
|
clutter-gtk
|
|
gst_all_1.gstreamer
|
|
gst_all_1.gst-plugins-base
|
|
gst_all_1.gst-plugins-good
|
|
glib
|
|
gtk2
|
|
libgsf
|
|
libxml2
|
|
# optional packages
|
|
fluidsynth
|
|
gst_all_1.gst-plugins-bad
|
|
gst_all_1.gst-plugins-ugly
|
|
orc
|
|
];
|
|
|
|
# 'g_memdup' is deprecated: Use 'g_memdup2' instead
|
|
env.NIX_CFLAGS_COMPILE =
|
|
"-Wno-error=deprecated-declarations -Wno-error=incompatible-pointer-types"
|
|
# Suppress incompatible function pointer error in clang due to libxml2 2.12 const changes
|
|
+ lib.optionalString stdenv.cc.isClang " -Wno-error=incompatible-function-pointer-types";
|
|
|
|
meta = with lib; {
|
|
description = "Modular music composer for Linux";
|
|
homepage = "https://www.buzztrax.org/";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = [ maintainers.bendlas ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|