depot/third_party/nixpkgs/pkgs/applications/audio/buzztrax/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

74 lines
1.3 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 = "unstable-2022-01-26";
src = fetchFromGitHub {
owner = "Buzztrax";
repo = "buzztrax";
rev = "833287c6a06bddc922cd346d6f0fcec7a882aee5";
hash = "sha256-iI6m+zBWDDBjmeuU9Nm4aIbEKfaPe36APPktdjznQpU=";
};
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";
meta = with lib; {
description = "Buzztrax is a modular music composer for Linux";
homepage = "https://www.buzztrax.org/";
license = licenses.lgpl21Plus;
maintainers = [ maintainers.bendlas ];
platforms = platforms.unix;
};
}