summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorRenaud <c0bw3b@users.noreply.github.com>2018-11-22 13:41:53 +0100
committerGitHub <noreply@github.com>2018-11-22 13:41:53 +0100
commitaa9997f18905eea2482f11cc0ed2dde52100fe73 (patch)
treef7a1cce7ecd4933da3936f9f1f101134597e1457 /pkgs/misc
parentd429dc3b065ed5bbae7f801a4ab3c9f7887eadff (diff)
parent797d334d69c47740ce8bfb6f1dc1f8846af6cb3a (diff)
downloadnixpkgs-aa9997f18905eea2482f11cc0ed2dde52100fe73.tar
nixpkgs-aa9997f18905eea2482f11cc0ed2dde52100fe73.tar.gz
nixpkgs-aa9997f18905eea2482f11cc0ed2dde52100fe73.tar.bz2
nixpkgs-aa9997f18905eea2482f11cc0ed2dde52100fe73.tar.lz
nixpkgs-aa9997f18905eea2482f11cc0ed2dde52100fe73.tar.xz
nixpkgs-aa9997f18905eea2482f11cc0ed2dde52100fe73.tar.zst
nixpkgs-aa9997f18905eea2482f11cc0ed2dde52100fe73.zip
Merge pull request #50897 from romildo/upd.nordic
nordic: init at 1.2.1
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/themes/nordic/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/misc/themes/nordic/default.nix b/pkgs/misc/themes/nordic/default.nix
new file mode 100644
index 00000000000..3945a7310cd
--- /dev/null
+++ b/pkgs/misc/themes/nordic/default.nix
@@ -0,0 +1,35 @@
+{ stdenv, fetchurl, gtk-engine-murrine }:
+
+stdenv.mkDerivation rec {
+  name = "nordic-${version}";
+  version = "1.2.1";
+
+  srcs = [
+    (fetchurl {
+      url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic.tar.xz";
+      sha256 = "1k8fzvjb92wcqha378af5hk6r75xanff9iwlx51jmi67ny8z28pn";
+    })
+    (fetchurl {
+      url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic-standard-buttons.tar.xz";
+      sha256 = "12w01z88rqkds1wm2kskql1x5c6prpgpc9cxxnl0b11knsfhi6jn";
+    })
+  ];
+
+  sourceRoot = ".";
+
+  propagatedUserEnvPkgs = [ gtk-engine-murrine ];
+
+  installPhase = ''
+    mkdir -p $out/share/themes
+    cp -a Nordic* $out/share/themes
+    rm $out/share/themes/*/{LICENSE,README.md}
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Dark Gtk theme created using the awesome Nord color pallete";
+    homepage = https://github.com/EliverLara/Nordic;
+    license = licenses.gpl3;
+    platforms = platforms.all;
+    maintainers = [ maintainers.romildo ];
+  };
+}