about summary refs log tree commit diff
path: root/pkgs/data/themes
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2020-08-30 10:03:06 -0300
committerJosé Romildo Malaquias <malaquias@gmail.com>2020-08-30 10:03:06 -0300
commitb20059b0570d2a2a29b4c8c6a99bb1fe326084b4 (patch)
tree7f94f8778df9ac9796fe6285703b972547ea1b43 /pkgs/data/themes
parentb317137894f6569fe3d5285fcede2f654021114e (diff)
marwaita-manjaro: init at 2020-08-29
Diffstat (limited to 'pkgs/data/themes')
-rw-r--r--pkgs/data/themes/marwaita-manjaro/default.nix46
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/data/themes/marwaita-manjaro/default.nix b/pkgs/data/themes/marwaita-manjaro/default.nix
new file mode 100644
index 0000000000000..3217175ebd71f
--- /dev/null
+++ b/pkgs/data/themes/marwaita-manjaro/default.nix
@@ -0,0 +1,46 @@
+{ stdenv
+, fetchFromGitHub
+, gdk-pixbuf
+, gtk-engine-murrine
+, gtk_engines
+, librsvg
+}:
+
+stdenv.mkDerivation rec {
+  pname = "marwaita-manjaro";
+  version = "2020-08-29";
+
+  src = fetchFromGitHub {
+    owner = "darkomarko42";
+    repo = pname;
+    rev = "d97e852931732ae5134784d11b332eadd71b6bbf";
+    sha256 = "1qa2mlc6k82i4fkgbkahjz3fhghcf8rx1ayxw0r4xl21mkna7bfy";
+  };
+
+  buildInputs = [
+    gdk-pixbuf
+    gtk_engines
+    librsvg
+  ];
+
+  propagatedUserEnvPkgs = [
+    gtk-engine-murrine
+  ];
+
+  dontBuild = true;
+
+  installPhase = ''
+    runHook preInstall
+    mkdir -p $out/share/themes
+    cp -a Marwaita* $out/share/themes
+    runHook postInstall
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Manjaro Style (green version) of Marwaita GTK theme";
+    homepage = "https://www.pling.com/p/1351213/";
+    license = licenses.gpl3;
+    platforms = platforms.unix;
+    maintainers = [ maintainers.romildo ];
+  };
+}