about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/xfce/art/xfce4-icon-theme/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/desktops/xfce/art/xfce4-icon-theme/default.nix')
-rw-r--r--nixpkgs/pkgs/desktops/xfce/art/xfce4-icon-theme/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/desktops/xfce/art/xfce4-icon-theme/default.nix b/nixpkgs/pkgs/desktops/xfce/art/xfce4-icon-theme/default.nix
new file mode 100644
index 000000000000..23ad1069fb74
--- /dev/null
+++ b/nixpkgs/pkgs/desktops/xfce/art/xfce4-icon-theme/default.nix
@@ -0,0 +1,38 @@
+{ lib, stdenv, fetchurl, pkg-config, intltool, gtk3, gnome-icon-theme, tango-icon-theme, hicolor-icon-theme, httpTwoLevelsUpdater }:
+
+stdenv.mkDerivation rec {
+  pname  = "xfce4-icon-theme";
+  version = "4.4.3";
+
+  src = fetchurl {
+    url = "mirror://xfce/src/art/${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 = httpTwoLevelsUpdater {
+    url = "https://archive.xfce.org/src/art/${pname}";
+  };
+
+  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;
+  };
+}