summary refs log tree commit diff
path: root/pkgs/data/themes
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2020-10-07 18:11:21 -0300
committerJosé Romildo Malaquias <malaquias@gmail.com>2020-10-14 10:47:51 -0300
commit722a480c884cb15331e991a87becf3b4c2a59808 (patch)
treec5857d80592025481f867d16a1fba7c73eedfd1d /pkgs/data/themes
parent09ccd168f0100a9ec67de1d3bd0fe4392983d4b8 (diff)
downloadnixpkgs-722a480c884cb15331e991a87becf3b4c2a59808.tar
nixpkgs-722a480c884cb15331e991a87becf3b4c2a59808.tar.gz
nixpkgs-722a480c884cb15331e991a87becf3b4c2a59808.tar.bz2
nixpkgs-722a480c884cb15331e991a87becf3b4c2a59808.tar.lz
nixpkgs-722a480c884cb15331e991a87becf3b4c2a59808.tar.xz
nixpkgs-722a480c884cb15331e991a87becf3b4c2a59808.tar.zst
nixpkgs-722a480c884cb15331e991a87becf3b4c2a59808.zip
marwaita-ubuntu: init at 1.5
Diffstat (limited to 'pkgs/data/themes')
-rw-r--r--pkgs/data/themes/marwaita-ubuntu/default.nix46
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/data/themes/marwaita-ubuntu/default.nix b/pkgs/data/themes/marwaita-ubuntu/default.nix
new file mode 100644
index 00000000000..0241748bc43
--- /dev/null
+++ b/pkgs/data/themes/marwaita-ubuntu/default.nix
@@ -0,0 +1,46 @@
+{ stdenv
+, fetchFromGitHub
+, gdk-pixbuf
+, gtk-engine-murrine
+, gtk_engines
+, librsvg
+}:
+
+stdenv.mkDerivation rec {
+  pname = "marwaita-ubuntu";
+  version = "1.5";
+
+  src = fetchFromGitHub {
+    owner = "darkomarko42";
+    repo = pname;
+    rev = version;
+    sha256 = "0mld78s6gl5kfsdaqa7xs5mvfng9600pd2d9sp2b2q5axx7wjay5";
+  };
+
+  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 = "Ubuntu Style of Marwaita GTK theme";
+    homepage = "https://www.pling.com/p/1352833/";
+    license = licenses.gpl3Only;
+    platforms = platforms.unix;
+    maintainers = [ maintainers.romildo ];
+  };
+}