1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
{ 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;
};
}
|