depot/third_party/nixpkgs/pkgs/data/icons/elementary-xfce-icon-theme/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

47 lines
1.1 KiB
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, gdk-pixbuf, optipng, librsvg, gtk3, pantheon, gnome, gnome-icon-theme, hicolor-icon-theme }:
stdenv.mkDerivation rec {
pname = "elementary-xfce-icon-theme";
version = "0.19";
src = fetchFromGitHub {
owner = "shimmerproject";
repo = "elementary-xfce";
rev = "v${version}";
sha256 = "sha256-exrPxJ6S3xV1EJ61KW1MqCcOSzPY9zOycuSh8I9Gdns=";
};
nativeBuildInputs = [
pkg-config
gdk-pixbuf
librsvg
optipng
gtk3
];
propagatedBuildInputs = [
pantheon.elementary-icon-theme
gnome.adwaita-icon-theme
gnome-icon-theme
hicolor-icon-theme
];
dontDropIconThemeCache = true;
postPatch = ''
substituteInPlace svgtopng/Makefile --replace "-O0" "-O"
'';
postInstall = ''
make icon-caches
'';
meta = with lib; {
description = "Elementary icons for Xfce and other GTK desktops like GNOME";
homepage = "https://github.com/shimmerproject/elementary-xfce";
license = licenses.gpl2;
# darwin cannot deal with file names differing only in case
platforms = platforms.linux;
maintainers = with maintainers; [ ] ++ teams.xfce.members;
};
}