2015-07-24 23:00:49 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, gtk3, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "theme-vertex-${version}";
|
2016-04-22 21:07:35 +01:00
|
|
|
version = "20160329";
|
2015-07-24 23:00:49 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "horst3180";
|
|
|
|
repo = "Vertex-theme";
|
|
|
|
rev = version;
|
2016-04-22 21:07:35 +01:00
|
|
|
sha256 = "1zafnbxn9hgi4lmi254iw9jyhifcqijxa7cymwjpyy0jfa6sm1qj";
|
2015-07-24 23:00:49 +01: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;
|
2016-02-10 13:59:36 +00:00
|
|
|
maintainers = [ maintainers.rycee ];
|
2015-07-24 23:00:49 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|