2018-11-21 22:50:32 +00:00
|
|
|
{ stdenv, fetchurl, gtk-engine-murrine }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "nordic";
|
2019-04-20 22:34:45 +01:00
|
|
|
version = "1.6.5";
|
2018-11-21 22:50:32 +00:00
|
|
|
|
|
|
|
srcs = [
|
|
|
|
(fetchurl {
|
|
|
|
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic.tar.xz";
|
2019-04-20 22:34:45 +01:00
|
|
|
sha256 = "163g1kh92fhgbwi91053xs39bpdd032w2v67c3jf8lf4cgvkwggp";
|
2019-01-19 19:57:31 +00:00
|
|
|
})
|
|
|
|
(fetchurl {
|
|
|
|
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic-blue.tar.xz";
|
2019-04-20 22:34:45 +01:00
|
|
|
sha256 = "05qq1v8sil8s51aa78q2najcqdnkpgdzc8dckrx47wy36cfxbxwz";
|
2018-11-21 22:50:32 +00:00
|
|
|
})
|
|
|
|
(fetchurl {
|
|
|
|
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic-standard-buttons.tar.xz";
|
2019-04-20 22:34:45 +01:00
|
|
|
sha256 = "17r450xxd8v8125a4bwd0yj3f3vnwcad2f19a0vgmk63s9grvkg0";
|
2019-01-19 19:57:31 +00:00
|
|
|
})
|
|
|
|
(fetchurl {
|
|
|
|
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic-blue-standard-buttons.tar.xz";
|
2019-04-20 22:34:45 +01:00
|
|
|
sha256 = "0894naw0wkl2h9l27qz9h1k02dfgfqyb02icmgadg0cb44j3zlpb";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|