mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 21:57:02 +03:00
468cb5980b
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
48 lines
1.1 KiB
Nix
48 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.15.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "shimmerproject";
|
|
repo = "elementary-xfce";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-E8f6UU/4Y9Nfk7LjDcdyV+TdeVj/zl3oFCyEu3Gz27w=";
|
|
};
|
|
|
|
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; [ davidak ];
|
|
};
|
|
}
|