2018-09-17 23:31:29 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, gdk_pixbuf, optipng, librsvg, gtk3, hicolor-icon-theme }:
|
2017-12-16 21:17:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "elementary-xfce-icon-theme-${version}";
|
2018-09-17 23:31:29 +01:00
|
|
|
version = "0.13";
|
2017-12-16 21:17:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "shimmerproject";
|
|
|
|
repo = "elementary-xfce";
|
2018-09-17 23:31:29 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "01hlpw4vh4kgyghki01jp0snbn0g79mys28fb1m993mivnlzmn75";
|
2017-12-16 21:17:55 +00:00
|
|
|
};
|
|
|
|
|
2018-09-17 23:31:29 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig gdk_pixbuf librsvg optipng gtk3 hicolor-icon-theme ];
|
2017-12-16 21:17:55 +00:00
|
|
|
|
2018-09-17 23:31:29 +01:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace svgtopng/Makefile --replace "-O0" "-O"
|
2017-12-16 21:17:55 +00:00
|
|
|
'';
|
|
|
|
|
2018-09-17 23:31:29 +01:00
|
|
|
postInstall = ''
|
|
|
|
make icon-caches
|
2017-12-16 21:17:55 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2018-02-24 11:11:06 +00:00
|
|
|
description = "Elementary icons for Xfce and other GTK+ desktops like GNOME";
|
2017-12-16 21:17:55 +00:00
|
|
|
homepage = https://github.com/shimmerproject/elementary-xfce;
|
|
|
|
license = licenses.gpl2;
|
2018-09-18 00:21:09 +01:00
|
|
|
# darwin cannot deal with file names differing only in case
|
|
|
|
platforms = platforms.linux;
|
2017-12-16 21:17:55 +00:00
|
|
|
maintainers = with maintainers; [ davidak ];
|
|
|
|
};
|
|
|
|
}
|