about summary refs log tree commit diff
path: root/nixpkgs/pkgs/data/icons/arc-icon-theme/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/data/icons/arc-icon-theme/default.nix')
-rw-r--r--nixpkgs/pkgs/data/icons/arc-icon-theme/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/data/icons/arc-icon-theme/default.nix b/nixpkgs/pkgs/data/icons/arc-icon-theme/default.nix
new file mode 100644
index 000000000000..6529e5c571c2
--- /dev/null
+++ b/nixpkgs/pkgs/data/icons/arc-icon-theme/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchFromGitHub, autoreconfHook, gtk3, moka-icon-theme }:
+
+stdenv.mkDerivation rec {
+  name = "${package-name}-${version}";
+  package-name = "arc-icon-theme";
+  version = "2016-11-22";
+
+  src = fetchFromGitHub {
+    owner = "horst3180";
+    repo = package-name;
+    rev = "55a575386a412544c3ed2b5617a61f842ee4ec15";
+    sha256 = "1ch3hp08qri93510hypzz6m2x4xgg2h15wvnhjwh1x1s1b7jvxjd";
+  };
+
+  nativeBuildInputs = [ autoreconfHook gtk3 moka-icon-theme ];
+
+  postFixup = "gtk-update-icon-cache $out/share/icons/Arc";
+
+  meta = with stdenv.lib; {
+    description = "Arc icon theme";
+    homepage = https://github.com/horst3180/arc-icon-theme;
+    license = licenses.gpl3;
+    # moka-icon-theme dependency is restricted to linux
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ romildo ];
+  };
+}