nixpkgs/pkgs/desktops/gnome-3/misc/metacity/default.nix

72 lines
1.2 KiB
Nix
Raw Normal View History

2018-05-06 11:34:04 -07:00
{ stdenv
, fetchurl
, gettext
, glib
, gnome3
, gsettings-desktop-schemas
2019-02-13 13:47:50 -08:00
, gtk3
, xorg
2018-05-06 11:34:04 -07:00
, libcanberra-gtk3
, libgtop
, libstartup_notification
, libxml2
, pkgconfig
, substituteAll
, wrapGAppsHook
, zenity
}:
2018-05-06 11:34:04 -07:00
stdenv.mkDerivation rec {
2018-05-06 11:34:04 -07:00
pname = "metacity";
version = "3.37.1";
2018-05-06 11:34:04 -07:00
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "09m102lpy68730y8y7vjyaw3cavlbdbiyix6s0kgna23bbcz7ml0";
2018-05-06 11:34:04 -07:00
};
patches = [
(substituteAll {
src = ./fix-paths.patch;
inherit zenity;
})
];
nativeBuildInputs = [
gettext
libxml2
pkgconfig
wrapGAppsHook
];
buildInputs = [
xorg.libXres
2018-05-06 11:34:04 -07:00
glib
gsettings-desktop-schemas
2019-02-13 13:47:50 -08:00
gtk3
2018-05-06 11:34:04 -07: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";
2018-05-06 11:34:04 -07:00
license = licenses.gpl2;
maintainers = teams.gnome.members;
2018-05-06 11:34:04 -07:00
platforms = platforms.linux;
};
}