1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00
nixpkgs/pkgs/misc/themes/e17gtk/default.nix

32 lines
886 B
Nix
Raw Normal View History

2016-12-03 10:20:33 +00:00
{ stdenv, fetchFromGitHub, gnome3 }:
let
gnome3 = { version = "3.22"; }; # FIXME
in
2016-12-03 10:20:33 +00:00
stdenv.mkDerivation rec {
name = "e17gtk-${version}";
2017-05-01 16:11:13 +01:00
version = "${gnome3.version}.1";
2016-12-03 10:20:33 +00:00
src = fetchFromGitHub {
owner = "tsujan";
repo = "E17gtk";
rev = "V${version}";
sha256 = {
2017-05-01 16:11:13 +01:00
"3.22" = "0y1v5hamssgzgcmwbr60iz7wipb9yzzj3ypzkc6i65mp4pyazrv8";
2016-12-03 10:20:33 +00:00
}."${gnome3.version}";
};
installPhase = ''
mkdir -p $out/share/{doc,themes}/E17gtk
2017-05-01 16:11:13 +01: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 10:20:33 +00: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 ];
};
}