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

38 lines
1 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk-engine-murrine }:
2015-07-24 22:00:49 +00:00
stdenv.mkDerivation rec {
2016-10-14 17:27:50 +00:00
pname = "theme-vertex";
2017-01-30 15:30:06 +00:00
version = "20170128";
2015-07-24 22:00:49 +00:00
src = fetchFromGitHub {
owner = "horst3180";
2016-10-14 17:27:50 +00:00
repo = "vertex-theme";
2017-01-30 15:30:06 +00:00
rev = version;
sha256 = "0c9mhrs95ahz37djrv176vn41ywvj26ilwmnr1h9171giv6hid98";
2015-07-24 22:00:49 +00:00
};
2016-10-14 09:34:34 +00:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
2015-07-24 22:00:49 +00:00
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
2016-10-14 09:34:34 +00:00
configureFlags = [ "--disable-unity" ];
2015-07-24 22:00:49 +00:00
postInstall = ''
2016-10-14 09:34:34 +00:00
mkdir -p $out/share/plank/themes
cp -r extra/*-Plank $out/share/plank/themes
2015-07-24 22:00:49 +00:00
2016-10-14 09:34:34 +00: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-24 22:00:49 +00: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 09:34:34 +00:00
maintainers = with maintainers; [ rycee romildo ];
2015-07-24 22:00:49 +00:00
};
}