2021-01-17 03:14:13 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gtk-engine-murrine }:
|
2015-07-25 00:00:49 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-10-14 19:27:50 +02:00
|
|
|
pname = "theme-vertex";
|
2017-01-30 16:30:06 +01:00
|
|
|
version = "20170128";
|
2015-07-25 00:00:49 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "horst3180";
|
2016-10-14 19:27:50 +02:00
|
|
|
repo = "vertex-theme";
|
2017-01-30 16:30:06 +01:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0c9mhrs95ahz37djrv176vn41ywvj26ilwmnr1h9171giv6hid98";
|
2015-07-25 00:00:49 +02:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:14:13 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2015-07-25 00:00:49 +02:00
|
|
|
|
2017-12-19 23:08:29 +01:00
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
2016-10-14 11:34:34 +02:00
|
|
|
|
2017-09-02 03:54:58 +02:00
|
|
|
configureFlags = [ "--disable-unity" ];
|
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
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-07-25 00:00:49 +02:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Theme for GTK 3, GTK 2, Gnome-Shell, and Cinnamon";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
2021-04-18 09:00:18 +02:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2015-07-25 00:00:49 +02:00
|
|
|
};
|
|
|
|
}
|