2021-01-17 03:14:13 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, gdk-pixbuf, optipng, librsvg, gtk3, pantheon, gnome3, gnome-icon-theme, hicolor-icon-theme }:
|
2017-12-16 22:17:55 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "elementary-xfce-icon-theme";
|
2021-01-18 16:27:30 +01:00
|
|
|
version = "0.15.2";
|
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}";
|
2021-01-18 16:27:30 +01:00
|
|
|
sha256 = "sha256-E8f6UU/4Y9Nfk7LjDcdyV+TdeVj/zl3oFCyEu3Gz27w=";
|
2017-12-16 22:17:55 +01:00
|
|
|
};
|
|
|
|
|
2020-04-17 21:59:07 +02:00
|
|
|
nativeBuildInputs = [
|
2021-01-17 03:14:13 +01:00
|
|
|
pkg-config
|
2020-04-17 21:59:07 +02:00
|
|
|
gdk-pixbuf
|
|
|
|
librsvg
|
|
|
|
optipng
|
|
|
|
gtk3
|
|
|
|
];
|
2019-09-12 16:47:48 +02:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-04-17 21:59:07 +02:00
|
|
|
pantheon.elementary-icon-theme
|
|
|
|
gnome3.adwaita-icon-theme
|
|
|
|
gnome-icon-theme
|
2019-09-12 16:47:48 +02:00
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
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
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-09-04 00:49:40 +02:00
|
|
|
description = "Elementary icons for Xfce and other GTK desktops like GNOME";
|
2020-03-23 17:37:03 +01:00
|
|
|
homepage = "https://github.com/shimmerproject/elementary-xfce";
|
2017-12-16 22:17:55 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|