2018-12-04 02:44:07 +00:00
|
|
|
{ stdenv, fetchurl, gtk-engine-murrine }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "nordic-polar-${version}";
|
2019-01-19 20:01:24 +00:00
|
|
|
version = "1.4.0";
|
2018-12-04 02:44:07 +00:00
|
|
|
|
|
|
|
srcs = [
|
|
|
|
(fetchurl {
|
|
|
|
url = "https://github.com/EliverLara/Nordic-Polar/releases/download/v${version}/Nordic-Polar.tar.xz";
|
2019-01-19 20:01:24 +00:00
|
|
|
sha256 = "0sw4m1njnxal1kkiipsvfg9ndzxsf9rxfba5vhwswyzk388264xa";
|
2018-12-04 02:44:07 +00:00
|
|
|
})
|
|
|
|
(fetchurl {
|
|
|
|
url = "https://github.com/EliverLara/Nordic-Polar/releases/download/v${version}/Nordic-Polar-standard-buttons.tar.xz";
|
2019-01-19 20:01:24 +00:00
|
|
|
sha256 = "0ix0x0pnhfd1lrfj7a7n8xfg8vvzg7m0dzrsj8gzpav6wvwlypiy";
|
2018-12-04 02:44:07 +00:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
sourceRoot = ".";
|
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/themes
|
|
|
|
cp -a Nordic-Polar* $out/share/themes
|
|
|
|
rm $out/share/themes/*/{LICENSE,README.md}
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Gtk theme created using the awesome Nord color pallete";
|
|
|
|
homepage = https://github.com/EliverLara/Nordic-Polar;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|