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

39 lines
1.1 KiB
Nix
Raw Normal View History

2016-10-14 11:34:34 +02:00
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gnome3, gtk-engine-murrine }:
2015-07-25 00:00:49 +02:00
stdenv.mkDerivation rec {
2016-10-14 11:34:34 +02:00
name = "${pname}-${version}";
pname = "vertex-theme";
version = "20161009";
2015-07-25 00:00:49 +02:00
src = fetchFromGitHub {
owner = "horst3180";
2016-10-14 11:34:34 +02:00
repo = pname;
rev = "c861918a7fccf6d0768d45d790a19a13bb23485e";
sha256 = "13abgl18m04sj44gqipxbagpan4jqral65w59rgnhb6ldxgnhg33";
2015-07-25 00:00:49 +02:00
};
2016-10-14 11:34:34 +02:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
2015-07-25 00:00:49 +02:00
2016-10-14 11:34:34 +02:00
buildInputs = [ gtk-engine-murrine ];
configureFlags = [ "--disable-unity" "--with-gnome=${gnome3.version}" ];
2015-07-25 00:00:49 +02:00
postInstall = ''
2016-10-14 11:34:34 +02:00
mkdir -p $out/share/plank/themes
cp -r extra/*-Plank $out/share/plank/themes
2015-07-25 00:00:49 +02:00
2016-10-14 11:34:34 +02:00
mkdir -p $out/share/doc/$pname/Chrome
cp -r extra/Chrome/*.crx $out/share/doc/$pname/Chrome
cp -r extra/Firefox $out/share/doc/$pname
cp AUTHORS README.md $out/share/doc/$pname/
2015-07-25 00:00:49 +02:00
'';
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Theme for GTK 3, GTK 2, Gnome-Shell, and Cinnamon";
license = licenses.gpl3;
platforms = platforms.unix;
2016-10-14 11:34:34 +02:00
maintainers = with maintainers; [ rycee romildo ];
2015-07-25 00:00:49 +02:00
};
}