nixpkgs/pkgs/data/themes/vimix/default.nix

33 lines
849 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, gtk_engines, gtk-engine-murrine }:
2020-02-24 15:51:12 +00:00
stdenv.mkDerivation rec {
pname = "vimix-gtk-themes";
version = "2020-11-28";
2020-02-24 15:51:12 +00:00
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
sha256 = "1m84p4cs9dfwc27zfjnwgkfdnfmlzbimq3g5z4mhz23cijm178rf";
2020-02-24 15:51:12 +00:00
};
buildInputs = [ gtk_engines ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
installPhase = ''
patchShebangs .
mkdir -p $out/share/themes
name= ./install.sh -d $out/share/themes
rm $out/share/themes/*/{AUTHORS,LICENSE}
'';
meta = with lib; {
2020-02-24 15:51:12 +00:00
description = "Flat Material Design theme for GTK based desktop environments";
homepage = "https://github.com/vinceliuice/vimix-gtk-themes";
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}