3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/themes/nordic/default.nix

52 lines
1.8 KiB
Nix
Raw Normal View History

2018-11-21 22:50:32 +00:00
{ stdenv, fetchurl, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "nordic";
2020-02-21 13:34:05 +00:00
version = "1.8.1";
2018-11-21 22:50:32 +00:00
srcs = [
(fetchurl {
2020-02-21 13:34:05 +00:00
url = "https://github.com/EliverLara/Nordic/releases/download/V${version}/Nordic.tar.xz";
sha256 = "0jvc6l093gj9azkrjswdc1kqlyc6drnhsxgpzylzcgjxvxyi9vmd";
2019-01-19 19:57:31 +00:00
})
(fetchurl {
2020-02-21 13:34:05 +00:00
url = "https://github.com/EliverLara/Nordic/releases/download/V${version}/Nordic-standard-buttons.tar.xz";
sha256 = "049hcvccjds465v78sk3cjg7zck36l1zpyrf4p8xinj2h3b74zr8";
2018-11-21 22:50:32 +00:00
})
(fetchurl {
2020-02-21 13:34:05 +00:00
url = "https://github.com/EliverLara/Nordic/releases/download/V${version}/Nordic-darker.tar.xz";
sha256 = "1qaj4x451ic8mx4aak1axw29jm6ymwgh5w3n3mw5kjm1fwg4b5dz";
2019-01-19 19:57:31 +00:00
})
(fetchurl {
2020-02-21 13:34:05 +00:00
url = "https://github.com/EliverLara/Nordic/releases/download/V${version}/Nordic-darker-standard-buttons.tar.xz";
sha256 = "19wczzppimp7sql9v0sq1sc5j0ix51270c58j22mg01kd2h2iivy";
})
(fetchurl {
url = "https://github.com/EliverLara/Nordic/releases/download/V${version}/Nordic-bluish-accent.tar.xz";
sha256 = "1jvjjxiz8q9583f3gidky65s2g5pd5bkvbx0jvwn0p0kz8vlzmzk";
})
(fetchurl {
url = "https://github.com/EliverLara/Nordic/releases/download/V${version}/Nordic-bluish-accent-standard-buttons.tar.xz";
sha256 = "0wqn0aszddq8nbh6c667rwhy7c1zky23a9q3d8gci421n20l6lyd";
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";
2020-02-21 13:34:05 +00:00
homepage = "https://github.com/EliverLara/Nordic";
2018-11-21 22:50:32 +00:00
license = licenses.gpl3;
platforms = platforms.all;
maintainers = [ maintainers.romildo ];
};
}