Unverified Commit c856c0e9 authored by Herwig Hochleitner's avatar Herwig Hochleitner Committed by GitHub
Browse files

buzztrax: init at unstable-2022-01-26 (#233364)



* buzztrax: init at unstable-2022-01-26

* buzztrax: reformat

---------

Co-authored-by: default avatarWeijia Wang <9713184+wegank@users.noreply.github.com>
parent ebb411ed
Loading
Loading
Loading
Loading
+74 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, gtk-doc
, intltool
, itstool
, libtool
, pkg-config
, wrapGAppsHook
, 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
    wrapGAppsHook
    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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -29510,6 +29510,8 @@ with pkgs;
  bottles-unwrapped = callPackage ../applications/misc/bottles { };
  buzztrax = callPackage ../applications/audio/buzztrax { };
  brave = callPackage ../applications/networking/browsers/brave { };
  break-time = callPackage ../applications/misc/break-time { };