3
0
Fork 0
forked from mirrors/nixpkgs

tetra-gtk-theme: simplify a bit

This commit is contained in:
Will Dietz 2018-10-01 09:29:28 -05:00
parent 292d446400
commit 894872c96a

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, gtk3, sassc, optipng, inkscape, which }:
{ stdenv, fetchFromGitHub, gtk3, sassc }:
let
pname = "tetra-gtk-theme";
@ -20,14 +20,15 @@ stdenv.mkDerivation rec {
export HOME="$NIX_BUILD_ROOT"
'';
nativeBuildInputs = [ sassc optipng inkscape which ];
nativeBuildInputs = [ sassc ];
buildInputs = [ gtk3 ];
postPatch = "patchShebangs .";
buildPhase = "./render-assets.sh";
installPhase = "./install.sh -d $out";
installPhase = ''
mkdir -p $out/share/themes
./install.sh -d $out/share/themes
'';
meta = with stdenv.lib; {
description = "Adwaita-based gtk+ theme with design influence from elementary OS and Vertex gtk+ theme.";