1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 19:26:02 +00:00
nixpkgs/pkgs/data/icons/elementary-xfce-icon-theme/default.nix
Will Dietz aaaa445a61 elementary-xfce-icon-theme: 0.13 -> 0.13.1 (#47614)
(cherry picked from commit 24d8eb1cfdddeffb1c512f40fe9f19881bd8dfd3)
2018-10-01 22:24:22 +02:00

33 lines
961 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, gdk_pixbuf, optipng, librsvg, gtk3, hicolor-icon-theme }:
stdenv.mkDerivation rec {
name = "elementary-xfce-icon-theme-${version}";
version = "0.13.1";
src = fetchFromGitHub {
owner = "shimmerproject";
repo = "elementary-xfce";
rev = "v${version}";
sha256 = "16msdrazhbv80cvh5ffvgj13xmkpf87r7mq6xz071fza6nv7g0jn";
};
nativeBuildInputs = [ pkgconfig gdk_pixbuf librsvg optipng gtk3 hicolor-icon-theme ];
postPatch = ''
substituteInPlace svgtopng/Makefile --replace "-O0" "-O"
'';
postInstall = ''
make icon-caches
'';
meta = with stdenv.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; [ davidak ];
};
}