2020-01-20 19:09:34 +01:00
|
|
|
{ fetchFromGitHub
|
|
|
|
, cinnamon-desktop
|
|
|
|
, glib
|
|
|
|
, file
|
2021-05-07 23:18:14 +02:00
|
|
|
, gnome
|
2020-01-20 19:09:34 +01:00
|
|
|
, gnome-doc-utils
|
|
|
|
, fetchpatch
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk3
|
|
|
|
, intltool
|
|
|
|
, json-glib
|
|
|
|
, libinput
|
|
|
|
, libstartup_notification
|
|
|
|
, libXtst
|
|
|
|
, libxkbcommon
|
2021-01-17 03:21:50 +01:00
|
|
|
, pkg-config
|
2021-01-11 08:54:33 +01:00
|
|
|
, lib, stdenv
|
2020-01-20 19:09:34 +01:00
|
|
|
, udev
|
|
|
|
, xorg
|
|
|
|
, wrapGAppsHook
|
|
|
|
, pango
|
|
|
|
, cairo
|
|
|
|
, gtk-doc
|
|
|
|
, docbook_xsl
|
|
|
|
, docbook_xml_dtd_43
|
|
|
|
, docbook_xml_dtd_42
|
|
|
|
, docbook_xml_dtd_412
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, gettext
|
|
|
|
, libtool
|
|
|
|
}:
|
|
|
|
|
|
|
|
# it's a frankensteins monster with some cinnamon sparkles added on top of it
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "muffin";
|
2021-02-06 14:36:06 +01:00
|
|
|
version = "4.8.1";
|
2020-01-20 19:09:34 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-02-08 12:50:38 +01:00
|
|
|
hash = "sha256-zRW+hnoaKKTe4zIJpY1D0Ahc8k5zRbvYBF5Y4vZ6Rbs=";
|
2020-01-20 19:09:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
glib
|
|
|
|
pango
|
|
|
|
cairo
|
|
|
|
json-glib
|
|
|
|
cinnamon-desktop
|
|
|
|
xorg.libXcomposite
|
|
|
|
xorg.libXcursor
|
|
|
|
xorg.libXdamage
|
|
|
|
xorg.libXext
|
|
|
|
xorg.libXfixes
|
|
|
|
xorg.libXi
|
|
|
|
xorg.libxkbfile
|
|
|
|
xorg.xkeyboardconfig
|
|
|
|
|
|
|
|
libxkbcommon
|
2021-05-07 23:18:14 +02:00
|
|
|
gnome.zenity
|
2020-01-20 19:09:34 +01:00
|
|
|
libinput
|
|
|
|
libstartup_notification
|
|
|
|
libXtst
|
|
|
|
udev
|
|
|
|
gobject-introspection
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
gettext
|
|
|
|
libtool
|
|
|
|
wrapGAppsHook
|
2021-01-17 03:21:50 +01:00
|
|
|
pkg-config
|
2020-01-20 19:09:34 +01:00
|
|
|
intltool
|
|
|
|
|
|
|
|
gnome-doc-utils
|
|
|
|
gtk-doc
|
|
|
|
docbook_xsl
|
|
|
|
docbook_xml_dtd_43
|
|
|
|
docbook_xml_dtd_42
|
|
|
|
docbook_xml_dtd_412
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-01-20 19:09:34 +01:00
|
|
|
homepage = "https://github.com/linuxmint/muffin";
|
|
|
|
description = "The window management library for the Cinnamon desktop (libmuffin) and its sample WM binary (muffin)";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2020-09-06 00:40:47 +02:00
|
|
|
maintainers = teams.cinnamon.members;
|
2020-01-20 19:09:34 +01:00
|
|
|
};
|
|
|
|
}
|