diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2018-12-04 00:44:07 -0200 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2018-12-04 10:45:13 -0200 |
commit | 5fc63b32f7ba2da95b332136ab55d1de05d64f75 (patch) | |
tree | 613654b4a7fe62c098a7aab9a36c994a7c4820a0 /pkgs/data | |
parent | bf90c317ec4b26dc669b783799c9842e3392087c (diff) | |
download | nixpkgs-5fc63b32f7ba2da95b332136ab55d1de05d64f75.tar nixpkgs-5fc63b32f7ba2da95b332136ab55d1de05d64f75.tar.gz nixpkgs-5fc63b32f7ba2da95b332136ab55d1de05d64f75.tar.bz2 nixpkgs-5fc63b32f7ba2da95b332136ab55d1de05d64f75.tar.lz nixpkgs-5fc63b32f7ba2da95b332136ab55d1de05d64f75.tar.xz nixpkgs-5fc63b32f7ba2da95b332136ab55d1de05d64f75.tar.zst nixpkgs-5fc63b32f7ba2da95b332136ab55d1de05d64f75.zip |
nordic-polar: init at 1.3.0
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/themes/nordic-polar/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/data/themes/nordic-polar/default.nix b/pkgs/data/themes/nordic-polar/default.nix new file mode 100644 index 00000000000..305f5952947 --- /dev/null +++ b/pkgs/data/themes/nordic-polar/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchurl, gtk-engine-murrine }: + +stdenv.mkDerivation rec { + name = "nordic-polar-${version}"; + version = "1.3.0"; + + srcs = [ + (fetchurl { + url = "https://github.com/EliverLara/Nordic-Polar/releases/download/v${version}/Nordic-Polar.tar.xz"; + sha256 = "1c5zgymkwd89fr680c49siwbkhfbay56iq9vlyqkj1dp0xnc528s"; + }) + (fetchurl { + url = "https://github.com/EliverLara/Nordic-Polar/releases/download/v${version}/Nordic-Polar-standard-buttons.tar.xz"; + sha256 = "0nxzcgqzc42qvnhafranz6rwanqb4wzf9ychm5m4yrlp3ngw38p4"; + }) + ]; + + 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 ]; + }; +} |