2018-11-21 23:50:32 +01:00
|
|
|
{ stdenv, fetchurl, gtk-engine-murrine }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "nordic";
|
2020-05-10 01:13:30 +02:00
|
|
|
version = "1.9.0";
|
2018-11-21 23:50:32 +01:00
|
|
|
|
|
|
|
srcs = [
|
|
|
|
(fetchurl {
|
2020-05-10 01:13:30 +02:00
|
|
|
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic.tar.xz";
|
|
|
|
sha256 = "12x13h9w4yqk56a009zpj1kq3vn2hn290xryfv1b0vyf2r45rsn7";
|
2019-01-19 20:57:31 +01:00
|
|
|
})
|
|
|
|
(fetchurl {
|
2020-05-10 01:13:30 +02:00
|
|
|
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic-standard-buttons.tar.xz";
|
|
|
|
sha256 = "0f38nx1rvp9l6xz62yx6cbab4im8d425gxr52jkc8gfqpl5lrf0q";
|
2018-11-21 23:50:32 +01:00
|
|
|
})
|
|
|
|
(fetchurl {
|
2020-05-10 01:13:30 +02:00
|
|
|
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic-darker.tar.xz";
|
|
|
|
sha256 = "0frp0jf7hbiapl3m67av7rbm3sx8db52zi3j01k2hysh6kba7x33";
|
2019-01-19 20:57:31 +01:00
|
|
|
})
|
|
|
|
(fetchurl {
|
2020-05-10 01:13:30 +02:00
|
|
|
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic-darker-standard-buttons.tar.xz";
|
|
|
|
sha256 = "0grfsjr9kq0lszmqxvjvpgvf4avm34446nqykz1zfpdg50j7r54b";
|
2020-02-21 14:34:05 +01:00
|
|
|
})
|
|
|
|
(fetchurl {
|
2020-05-10 01:13:30 +02:00
|
|
|
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic-bluish-accent.tar.xz";
|
|
|
|
sha256 = "0zndldwavir22ay2r0jazpikzzww3hc09gsmbiyjmw54v29qhl9r";
|
2020-02-21 14:34:05 +01:00
|
|
|
})
|
|
|
|
(fetchurl {
|
2020-05-10 01:13:30 +02:00
|
|
|
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic-bluish-accent-standard-buttons.tar.xz";
|
|
|
|
sha256 = "1b9d2fvdndyh7lh3xhmc75csfbapl4gv59y7wy15k2awisvlvz07";
|
2018-11-21 23:50:32 +01: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";
|
2020-02-21 14:34:05 +01:00
|
|
|
homepage = "https://github.com/EliverLara/Nordic";
|
2018-11-21 23:50:32 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|