2018-05-06 19:34:04 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, gettext
|
|
|
|
, glib
|
|
|
|
, gnome3
|
|
|
|
, gsettings-desktop-schemas
|
2019-02-13 21:47:50 +00:00
|
|
|
, gtk3
|
2018-05-06 19:34:04 +01:00
|
|
|
, libcanberra-gtk3
|
|
|
|
, libgtop
|
|
|
|
, libstartup_notification
|
|
|
|
, libxml2
|
|
|
|
, pkgconfig
|
|
|
|
, substituteAll
|
|
|
|
, wrapGAppsHook
|
|
|
|
, zenity }:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "metacity";
|
2019-05-16 02:26:40 +01:00
|
|
|
version = "3.32.0";
|
2018-05-06 19:34:04 +01:00
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-05-16 02:26:40 +01:00
|
|
|
sha256 = "177dmb1smizfgkddk49n2kr90graj9r6xw5hg3aq0y2qqg6v4rcg";
|
2018-05-06 19:34:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix-paths.patch;
|
|
|
|
inherit zenity;
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
|
|
|
libxml2
|
|
|
|
pkgconfig
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gsettings-desktop-schemas
|
2019-02-13 21:47:50 +00:00
|
|
|
gtk3
|
2018-05-06 19:34:04 +01:00
|
|
|
libcanberra-gtk3
|
|
|
|
libgtop
|
|
|
|
libstartup_notification
|
|
|
|
zenity
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Window manager used in Gnome Flashback";
|
|
|
|
homepage = https://wiki.gnome.org/Projects/Metacity;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|