summary refs log tree commit diff
path: root/pkgs/misc/themes
diff options
context:
space:
mode:
authorThe Admin <jakahudoklin@gmail.com>2017-04-26 00:57:08 +0200
committerJaka Hudoklin <jakahudoklin@gmail.com>2017-09-26 00:50:13 +0200
commit2ceb7ad9f99be5947cc46486951140ecb1d16cbe (patch)
tree3ea46c8bfc8ccd21fbbdeae5dffb9a89546a9557 /pkgs/misc/themes
parentac775ac6ddba6fb685d5a8ae9f2a74b7f25d7839 (diff)
downloadnixlib-2ceb7ad9f99be5947cc46486951140ecb1d16cbe.tar
nixlib-2ceb7ad9f99be5947cc46486951140ecb1d16cbe.tar.gz
nixlib-2ceb7ad9f99be5947cc46486951140ecb1d16cbe.tar.bz2
nixlib-2ceb7ad9f99be5947cc46486951140ecb1d16cbe.tar.lz
nixlib-2ceb7ad9f99be5947cc46486951140ecb1d16cbe.tar.xz
nixlib-2ceb7ad9f99be5947cc46486951140ecb1d16cbe.tar.zst
nixlib-2ceb7ad9f99be5947cc46486951140ecb1d16cbe.zip
numix-solarized-gtk-theme: init at 20160919
Diffstat (limited to 'pkgs/misc/themes')
-rw-r--r--pkgs/misc/themes/gtk3/numix-solarized-gtk-theme/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/misc/themes/gtk3/numix-solarized-gtk-theme/default.nix b/pkgs/misc/themes/gtk3/numix-solarized-gtk-theme/default.nix
new file mode 100644
index 000000000000..4ede14d3bb39
--- /dev/null
+++ b/pkgs/misc/themes/gtk3/numix-solarized-gtk-theme/default.nix
@@ -0,0 +1,35 @@
+{ stdenv, fetchFromGitHub, sass, glib, gdk_pixbuf }:
+
+stdenv.mkDerivation rec {
+  version = "20160919";
+  name = "numix-solarized-gtk-theme-${version}";
+
+  src = fetchFromGitHub {
+    owner = "Ferdi265";
+    repo = "numix-solarized-gtk-theme";
+    rev = version;
+    sha256 = "0243w918ycmf9vnkzfvwnrxz9zc6xxk7167h8ywxj901pqy59kad";
+  };
+
+  postPatch = ''
+    substituteInPlace Makefile --replace \
+      'INSTALL_DIR=$(DESTDIR)/usr/share/themes' "INSTALL_DIR=$out/share/themes"
+    patchShebangs .
+  '';
+
+  buildInputs = [sass glib gdk_pixbuf];
+
+  meta = with stdenv.lib; {
+    description = "GTK3.20-compatible version of bitterologist's Numix Solarized from deviantart";
+    longDescription = ''
+      This is a fork of the Numix GTK theme that replaces the colors of the theme
+      and icons to use the solarized theme with a solarized green accent color.
+      This theme supports both the dark and light theme, just as Numix proper.
+    '';
+    homepage = https://github.com/Ferdi265/numix-solarized-gtk-theme;
+    downloadPage = https://github.com/Ferdi265/numix-solarized-gtk-theme/releases;
+    license = licenses.gpl3;
+    maintainers = [ maintainers.offline ];
+    platforms = platforms.linux;
+  };
+}