blob: 5123cadbdafd4f0f93347601b3cf2dfd36e4c37b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ stdenv, fetchurl, pkgconfig, intltool, glib, gobjectIntrospection
# just for passthru
, gnome3, gtk3, gsettings_desktop_schemas }:
stdenv.mkDerivation rec {
inherit (import ./src.nix fetchurl) name src;
postPatch = ''
for file in "background" "screensaver"; do
substituteInPlace "schemas/org.gnome.desktop.$file.gschema.xml.in" \
--replace "@datadir@" "${gnome3.gnome-backgrounds}/share/"
done
'';
buildInputs = [ glib gobjectIntrospection ];
nativeBuildInputs = [ pkgconfig intltool ];
meta = with stdenv.lib; {
maintainers = gnome3.maintainers;
};
}
|