mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-14 08:54:46 +00:00
f835f9bc62
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/elementary-xfce-icon-theme/versions
33 lines
948 B
Nix
33 lines
948 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, gdk-pixbuf, optipng, librsvg, gtk3, hicolor-icon-theme }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "elementary-xfce-icon-theme";
|
|
version = "0.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "shimmerproject";
|
|
repo = "elementary-xfce";
|
|
rev = "v${version}";
|
|
sha256 = "00sk6sv0kkfb3q0jqwcllzawi30rw8nfkkfn5l1qwqha48izw3r4";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|