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