2015-07-25 00:00:49 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, gtk3, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "theme-vertex-${version}";
|
2015-10-10 13:42:08 +02:00
|
|
|
version = "20150923";
|
2015-07-25 00:00:49 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "horst3180";
|
|
|
|
repo = "Vertex-theme";
|
|
|
|
rev = version;
|
2015-10-10 13:42:08 +02:00
|
|
|
sha256 = "0jsdnrw7sgrb7s4byv80y9c782gd6vbq0xsrrhwkflfnxcldvz4r";
|
2015-07-25 00:00:49 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ autoreconfHook gtk3 pkgconfig ];
|
|
|
|
|
|
|
|
configureFlags = "--disable-unity";
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/share/doc/theme-vertex
|
|
|
|
cp AUTHORS COPYING README.md $out/share/doc/theme-vertex/
|
|
|
|
|
|
|
|
mkdir -p $out/share/doc/theme-vertex/extra
|
|
|
|
cp -r extra/{Chrome,Firefox} $out/share/doc/theme-vertex/extra
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Theme for GTK 3, GTK 2, Gnome-Shell, and Cinnamon";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainer = [ maintainers.rycee ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|