2020-04-17 20:59:07 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, gdk-pixbuf, optipng, librsvg, gtk3, pantheon, gnome3, gnome-icon-theme, hicolor-icon-theme }:
|
2017-12-16 21:17:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "elementary-xfce-icon-theme";
|
2020-06-26 08:43:46 +01:00
|
|
|
version = "0.15.1";
|
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}";
|
2020-06-26 08:43:46 +01:00
|
|
|
sha256 = "1rl15kh9c7qxw4pvwmw44fb4v3vwh6zin4wpx55bnvm5j76y6p3f";
|
2017-12-16 21:17:55 +00:00
|
|
|
};
|
|
|
|
|
2020-04-17 20:59:07 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
gdk-pixbuf
|
|
|
|
librsvg
|
|
|
|
optipng
|
|
|
|
gtk3
|
|
|
|
];
|
2019-09-12 15:47:48 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-04-17 20:59:07 +01:00
|
|
|
pantheon.elementary-icon-theme
|
|
|
|
gnome3.adwaita-icon-theme
|
|
|
|
gnome-icon-theme
|
2019-09-12 15:47:48 +01:00
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
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; {
|
2019-09-03 23:49:40 +01:00
|
|
|
description = "Elementary icons for Xfce and other GTK desktops like GNOME";
|
2020-03-23 16:37:03 +00:00
|
|
|
homepage = "https://github.com/shimmerproject/elementary-xfce";
|
2017-12-16 21:17:55 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|