lol
1{ stdenv, fetchurl, pkgconfig, intltool, itstool, glib, dbus-glib, libwnck3, librsvg, libxml2, gnome3, mate, hicolor-icon-theme, wrapGAppsHook }:
2
3stdenv.mkDerivation rec {
4 name = "mate-panel-${version}";
5 version = "1.20.0";
6
7 src = fetchurl {
8 url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
9 sha256 = "0cz1pfwvsmrjcd0wa83cid9yjcygla6rhigyr7f75d75kiknlcm7";
10 };
11
12 nativeBuildInputs = [
13 pkgconfig
14 intltool
15 itstool
16 wrapGAppsHook
17 ];
18
19 buildInputs = [
20 glib
21 dbus-glib
22 libwnck3
23 librsvg
24 libxml2
25 gnome3.gtk
26 gnome3.dconf
27 mate.libmateweather
28 mate.mate-desktop
29 mate.mate-menus
30 hicolor-icon-theme
31 ];
32
33 NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
34
35 makeFlags = [
36 "INTROSPECTION_GIRDIR=$(out)/share/gir-1.0/"
37 "INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"
38 ];
39
40 meta = with stdenv.lib; {
41 description = "The MATE panel";
42 homepage = https://github.com/mate-desktop/mate-panel;
43 license = with licenses; [ gpl2 lgpl2 ];
44 platforms = platforms.unix;
45 maintainers = [ maintainers.romildo ];
46 };
47}