summary refs log tree commit diff
path: root/pkgs/data
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-07-15 00:05:17 +0000
committerGitHub <noreply@github.com>2021-07-15 00:05:17 +0000
commit873ebe97858b0483ca51ef0fcd7d34c813c1e0c2 (patch)
tree2769d29979ac9d3af31d8eb59a0ecf4b0129ee62 /pkgs/data
parentd288d874a896fbd4932b565cca2088e172460220 (diff)
parent23cd13167a1432550e48734079c2ffeeb441fb96 (diff)
downloadnixpkgs-873ebe97858b0483ca51ef0fcd7d34c813c1e0c2.tar
nixpkgs-873ebe97858b0483ca51ef0fcd7d34c813c1e0c2.tar.gz
nixpkgs-873ebe97858b0483ca51ef0fcd7d34c813c1e0c2.tar.bz2
nixpkgs-873ebe97858b0483ca51ef0fcd7d34c813c1e0c2.tar.lz
nixpkgs-873ebe97858b0483ca51ef0fcd7d34c813c1e0c2.tar.xz
nixpkgs-873ebe97858b0483ca51ef0fcd7d34c813c1e0c2.tar.zst
nixpkgs-873ebe97858b0483ca51ef0fcd7d34c813c1e0c2.zip
Merge master into haskell-updates
Diffstat (limited to 'pkgs/data')
-rw-r--r--pkgs/data/themes/layan-gtk-theme/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/data/themes/layan-gtk-theme/default.nix b/pkgs/data/themes/layan-gtk-theme/default.nix
new file mode 100644
index 00000000000..7892fbe9f31
--- /dev/null
+++ b/pkgs/data/themes/layan-gtk-theme/default.nix
@@ -0,0 +1,38 @@
+{ stdenv
+, fetchFromGitHub
+, lib
+, gtk-engine-murrine
+}:
+
+stdenv.mkDerivation rec {
+  pname = "layan-gtk-theme";
+  version = "2021-06-30";
+
+  src = fetchFromGitHub {
+    owner = "vinceliuice";
+    repo = pname;
+    rev = version;
+    sha256 = "sha256-FI8+AJlcPHGOzxN6HUKLtPGLe8JTfTQ9Az9NsvVUK7g=";
+  };
+
+  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
+
+  postPatch = ''
+    patchShebangs install.sh
+  '';
+
+  installPhase = ''
+    runHook preInstall
+    mkdir -p $out/share/themes
+    unset name && ./install.sh -d $out/share/themes
+    runHook postInstall
+  '';
+
+  meta = with lib; {
+    description = "A flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell.";
+    homepage = "https://github.com/vinceliuice/Layan-gtk-theme";
+    license = licenses.gpl3Only;
+    platforms = platforms.linux;
+    maintainers = [ maintainers.vanilla ];
+  };
+}