nixpkgs/pkgs/misc/themes/flat-plat/default.nix

30 lines
741 B
Nix
Raw Normal View History

2016-08-03 11:28:54 +02:00
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "flat-plat-gtk-theme-eba3be5";
src = fetchFromGitHub {
owner = "nana-4";
repo = "Flat-Plat";
rev = "eba3be5eafd1140e1edb8b02411edb2f6c78b0ca";
sha256 = "0vfdnrxspdwg4jr025dwjmdcrqnblhlw666v5b7qhkxymibp5j7h";
};
dontBuild = true;
installPhase = ''
2016-08-04 13:02:22 +02:00
mkdir -p $out/share/themes/Flat-Plat
2016-08-03 11:28:54 +02:00
rm .gitignore COPYING README.md
2016-08-04 13:02:22 +02:00
cp -r . $out/share/themes/Flat-Plat
2016-08-03 11:28:54 +02:00
'';
meta = with stdenv.lib; {
description = "A Material Design-like flat theme for GTK3, GTK2, and GNOME Shell";
homepage = https://github.com/nana-4/Flat-Plat;
licence = licenses.gpl2;
maintainers = [ maintainers.mounium ];
platforms = platforms.all;
};
}