nixpkgs/pkgs/desktops/xfce/art/xfce4-icon-theme/default.nix
2022-02-21 13:01:49 -03:00

41 lines
989 B
Nix

{ lib, stdenv, fetchurl, pkg-config, intltool, gtk3, gnome-icon-theme, tango-icon-theme, hicolor-icon-theme, xfce }:
let
category = "art";
in
stdenv.mkDerivation rec {
pname = "xfce4-icon-theme";
version = "4.4.3";
src = fetchurl {
url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "sha256-1HhmktVrilY/ZqXyYPHxOt4R6Gx4y8slqfml/EfPZvo=";
};
nativeBuildInputs = [
pkg-config
intltool
gtk3
];
buildInputs = [
gnome-icon-theme
tango-icon-theme
hicolor-icon-theme
# missing parent icon theme Industrial
];
dontDropIconThemeCache = true;
passthru.updateScript = xfce.archiveUpdater { inherit category pname version; };
meta = with lib; {
homepage = "https://www.xfce.org/";
description = "Icons for Xfce";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ eelco ] ++ teams.xfce.members;
};
}