2018-12-04 02:44:07 +00:00
|
|
|
{ stdenv, fetchurl, gtk-engine-murrine }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "nordic-polar";
|
2020-05-10 00:20:40 +01:00
|
|
|
version = "1.9.0";
|
2018-12-04 02:44:07 +00:00
|
|
|
|
|
|
|
srcs = [
|
|
|
|
(fetchurl {
|
2020-02-21 13:42:53 +00:00
|
|
|
url = "https://github.com/EliverLara/Nordic-Polar/releases/download/v${version}/Nordic-Polar.tar.xz";
|
2020-05-10 00:20:40 +01:00
|
|
|
sha256 = "1583mx8frkl5w26myczbyrggrp07lmpsfj00h1bzicw6lz8jbxf1";
|
2018-12-04 02:44:07 +00:00
|
|
|
})
|
|
|
|
(fetchurl {
|
2020-02-21 13:42:53 +00:00
|
|
|
url = "https://github.com/EliverLara/Nordic-Polar/releases/download/v${version}/Nordic-Polar-standard-buttons.tar.xz";
|
2020-05-10 00:20:40 +01:00
|
|
|
sha256 = "1n2qys0xcg1k28bwfrrr44cqz7q2rnfj6ry6qgd67ivgh63kmcq6";
|
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";
|
2020-02-21 13:42:53 +00:00
|
|
|
homepage = "https://github.com/EliverLara/Nordic-Polar";
|
2018-12-04 02:44:07 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|