2021-05-07 21:18:14 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, gdk-pixbuf, optipng, librsvg, gtk3, pantheon, gnome, gnome-icon-theme, hicolor-icon-theme }:
|
2017-12-16 21:17:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "elementary-xfce-icon-theme";
|
2023-09-07 14:38:41 +00:00
|
|
|
version = "0.18";
|
2017-12-16 21:17:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "shimmerproject";
|
|
|
|
repo = "elementary-xfce";
|
2018-09-17 22:31:29 +00:00
|
|
|
rev = "v${version}";
|
2023-09-07 14:38:41 +00:00
|
|
|
sha256 = "sha256-OgQtqBrYKDgU4mhXLFO8YwiPv2lKqGSdZnfKCd9ri4g=";
|
2017-12-16 21:17:55 +00:00
|
|
|
};
|
|
|
|
|
2020-04-17 19:59:07 +00:00
|
|
|
nativeBuildInputs = [
|
2021-01-17 02:14:13 +00:00
|
|
|
pkg-config
|
2020-04-17 19:59:07 +00:00
|
|
|
gdk-pixbuf
|
|
|
|
librsvg
|
|
|
|
optipng
|
|
|
|
gtk3
|
|
|
|
];
|
2019-09-12 14:47:48 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-04-17 19:59:07 +00:00
|
|
|
pantheon.elementary-icon-theme
|
2021-05-07 21:18:14 +00:00
|
|
|
gnome.adwaita-icon-theme
|
2020-04-17 19:59:07 +00:00
|
|
|
gnome-icon-theme
|
2019-09-12 14:47:48 +00:00
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
2017-12-16 21:17:55 +00:00
|
|
|
|
2018-09-17 22:31:29 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace svgtopng/Makefile --replace "-O0" "-O"
|
2017-12-16 21:17:55 +00:00
|
|
|
'';
|
|
|
|
|
2018-09-17 22:31:29 +00:00
|
|
|
postInstall = ''
|
|
|
|
make icon-caches
|
2017-12-16 21:17:55 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-09-03 22:49:40 +00: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-17 23:21:09 +00:00
|
|
|
# darwin cannot deal with file names differing only in case
|
|
|
|
platforms = platforms.linux;
|
2022-04-09 11:33:08 +00:00
|
|
|
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
2017-12-16 21:17:55 +00:00
|
|
|
};
|
|
|
|
}
|