tetra-gtk-theme: simplify a bit
This commit is contained in:
parent
292d446400
commit
894872c96a
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, gtk3, sassc, optipng, inkscape, which }:
|
{ stdenv, fetchFromGitHub, gtk3, sassc }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "tetra-gtk-theme";
|
pname = "tetra-gtk-theme";
|
||||||
@ -20,14 +20,15 @@ stdenv.mkDerivation rec {
|
|||||||
export HOME="$NIX_BUILD_ROOT"
|
export HOME="$NIX_BUILD_ROOT"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ sassc optipng inkscape which ];
|
nativeBuildInputs = [ sassc ];
|
||||||
buildInputs = [ gtk3 ];
|
buildInputs = [ gtk3 ];
|
||||||
|
|
||||||
postPatch = "patchShebangs .";
|
postPatch = "patchShebangs .";
|
||||||
|
|
||||||
buildPhase = "./render-assets.sh";
|
installPhase = ''
|
||||||
|
mkdir -p $out/share/themes
|
||||||
installPhase = "./install.sh -d $out";
|
./install.sh -d $out/share/themes
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Adwaita-based gtk+ theme with design influence from elementary OS and Vertex gtk+ theme.";
|
description = "Adwaita-based gtk+ theme with design influence from elementary OS and Vertex gtk+ theme.";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user