Merge pull request #25002 from romildo/upd.flat-plat

flat-plat: 2016-12-03 -> 20170323
This commit is contained in:
Jörg Thalheim 2017-04-18 21:41:34 +02:00 committed by GitHub
commit 032cf416ef

View file

@ -1,23 +1,24 @@
{ stdenv, fetchFromGitHub, gnome3, libxml2, gtk-engine-murrine }:
{ stdenv, fetchFromGitHub, gnome3, libxml2, gtk-engine-murrine, gdk_pixbuf, librsvg }:
stdenv.mkDerivation rec {
name = "flat-plat-gtk-theme-${version}";
version = "2016-12-03";
version = "20170323";
src = fetchFromGitHub {
owner = "nana-4";
repo = "Flat-Plat";
rev = "49a5a51ec1a5835ff04ba2c62c9bccbd3f49bbe6";
sha256 = "1w4b16cp2yv5rpijcqywlzrs3xjkvg8ppp2rfls1kvxq12rz4jkb";
rev = "v${version}";
sha256 = "18s05x5qkl9cwywd01498xampyya1lnpjyyknj61qxxw5rsgay9y";
};
nativeBuildInputs = [ gnome3.glib libxml2 ];
buildInputs = [ gnome3.gnome_themes_standard gtk-engine-murrine ];
buildInputs = [ gnome3.gnome_themes_standard gtk-engine-murrine gdk_pixbuf librsvg ];
dontBuild = true;
installPhase = ''
patchShebangs install.sh
sed -i install.sh \
-e "s|^gnomever=.*$|gnomever=${gnome3.version}|" \
-e "s|/usr||"