nixpkgs/pkgs/misc/themes/e17gtk/default.nix

30 lines
838 B
Nix
Raw Normal View History

2016-12-03 11:20:33 +01:00
{ stdenv, fetchFromGitHub, gnome3 }:
stdenv.mkDerivation rec {
name = "e17gtk-${version}";
2017-05-01 17:11:13 +02:00
version = "${gnome3.version}.1";
2016-12-03 11:20:33 +01:00
src = fetchFromGitHub {
owner = "tsujan";
repo = "E17gtk";
rev = "V${version}";
sha256 = {
2017-05-01 17:11:13 +02:00
"3.22" = "0y1v5hamssgzgcmwbr60iz7wipb9yzzj3ypzkc6i65mp4pyazrv8";
2016-12-03 11:20:33 +01:00
}."${gnome3.version}";
};
installPhase = ''
mkdir -p $out/share/{doc,themes}/E17gtk
2017-05-01 17:11:13 +02:00
cp -va index.theme gtk-2.0 gtk-3.0 metacity-1 $out/share/themes/E17gtk/
cp -va README.md WORKAROUNDS screenshot.jpg $out/share/doc/E17gtk/
2016-12-03 11:20:33 +01:00
'';
meta = {
description = "An Enlightenment-like GTK+ theme with sharp corners";
homepage = https://github.com/tsujan/E17gtk;
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}