depot/third_party/nixpkgs/pkgs/desktops/cinnamon/muffin/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

101 lines
1.7 KiB
Nix

{ fetchFromGitHub
, cinnamon-desktop
, glib
, file
, gnome
, gnome-doc-utils
, fetchpatch
, gobject-introspection
, gtk3
, intltool
, json-glib
, libinput
, libstartup_notification
, libXtst
, libxkbcommon
, pkg-config
, lib
, stdenv
, 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";
version = "5.2.0";
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
hash = "sha256-WAp0HbfRtwsPjJX1kPBqUStqLaudQPZ8E+h4jmggmw8=";
};
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
gnome.zenity
libinput
libstartup_notification
libXtst
udev
gobject-introspection
];
nativeBuildInputs = [
autoconf
automake
gettext
libtool
wrapGAppsHook
pkg-config
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
'';
meta = with lib; {
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;
maintainers = teams.cinnamon.members;
};
}