nixpkgs/pkgs/misc/themes/nordic/default.nix

36 lines
1020 B
Nix
Raw Normal View History

2018-11-21 22:50:32 +00:00
{ stdenv, fetchurl, gtk-engine-murrine }:
stdenv.mkDerivation rec {
name = "nordic-${version}";
2018-11-25 18:43:01 +00:00
version = "1.3.0";
2018-11-21 22:50:32 +00:00
srcs = [
(fetchurl {
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic.tar.xz";
2018-11-25 18:43:01 +00:00
sha256 = "04axs2yldppcx159nwj70g4cyw0hbbzk5250677i9ny8b0w3gr9x";
2018-11-21 22:50:32 +00:00
})
(fetchurl {
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic-standard-buttons.tar.xz";
2018-11-30 17:42:11 +00:00
sha256 = "1h0690cijaipidb5if2bxhvvkrx5src3akyxvfywxg4bf8x7jxs5";
2018-11-21 22:50:32 +00:00
})
];
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 ];
};
}