summary refs log tree commit diff
path: root/pkgs/data/icons/elementary-xfce-icon-theme
diff options
context:
space:
mode:
authordavidak <git@davidak.de>2017-12-16 22:17:55 +0100
committerdavidak <git@davidak.de>2017-12-18 00:33:47 +0100
commit9833b918c7e4bc20e30810dfc662aba24431483a (patch)
tree05b5e203fc3657b73b317c1b491087a784b7402c /pkgs/data/icons/elementary-xfce-icon-theme
parenta192ac595993a8afb49a8caf4e3f55074be6693b (diff)
downloadnixpkgs-9833b918c7e4bc20e30810dfc662aba24431483a.tar
nixpkgs-9833b918c7e4bc20e30810dfc662aba24431483a.tar.gz
nixpkgs-9833b918c7e4bc20e30810dfc662aba24431483a.tar.bz2
nixpkgs-9833b918c7e4bc20e30810dfc662aba24431483a.tar.lz
nixpkgs-9833b918c7e4bc20e30810dfc662aba24431483a.tar.xz
nixpkgs-9833b918c7e4bc20e30810dfc662aba24431483a.tar.zst
nixpkgs-9833b918c7e4bc20e30810dfc662aba24431483a.zip
elementary-xfce-icon-theme: init at 2017-11-28
Diffstat (limited to 'pkgs/data/icons/elementary-xfce-icon-theme')
-rw-r--r--pkgs/data/icons/elementary-xfce-icon-theme/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/data/icons/elementary-xfce-icon-theme/default.nix b/pkgs/data/icons/elementary-xfce-icon-theme/default.nix
new file mode 100644
index 00000000000..9ff54d5d64d
--- /dev/null
+++ b/pkgs/data/icons/elementary-xfce-icon-theme/default.nix
@@ -0,0 +1,37 @@
+{ stdenv, fetchFromGitHub, gtk3, hicolor_icon_theme }:
+
+stdenv.mkDerivation rec {
+  name = "elementary-xfce-icon-theme-${version}";
+  version = "2017-11-28";
+
+  src = fetchFromGitHub {
+    owner = "shimmerproject";
+    repo = "elementary-xfce";
+    rev = "b5cc6f044ed24e388ed2fffed1d02f43ce76f5e6";
+    sha256 = "15n28f2pw8b0y5pi8ydahg31v6hhh7zvpvymi8jaafdc9bn18z3y";
+  };
+
+  # fallback icon theme
+  propagatedBuildInputs = [ hicolor_icon_theme ];
+
+  dontBuild = true;
+
+  installPhase = ''
+    install -dm 755 $out/share/icons
+    cp -dr --no-preserve='ownership' elementary-xfce{,-dark,-darker,-darkest} $out/share/icons/
+  '';
+
+  postInstall = ''
+    for icons in "$out"/share/icons/*; do
+      "${gtk3.out}/bin/gtk-update-icon-cache" "$icons"
+    done
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Elementary icons for Xfce and other Gtk+ desktops like Gnome3";
+    homepage = https://github.com/shimmerproject/elementary-xfce;
+    license = licenses.gpl2;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [ davidak ];
+  };
+}