numix-solarized-gtk-theme: 20180913 -> 20200910
This commit is contained in:
parent
bc1b00acde
commit
07c91d7908
@ -1,33 +1,29 @@
|
|||||||
{ stdenv, fetchFromGitHub, python3, sass, glib, gdk-pixbuf, libxml2,
|
{ stdenv, fetchFromGitHub, python3, sassc, glib, gdk-pixbuf, inkscape, gtk-engine-murrine }:
|
||||||
inkscape, optipng, gtk-engine-murrine
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "20180913";
|
version = "20200910";
|
||||||
pname = "numix-solarized-gtk-theme";
|
pname = "numix-solarized-gtk-theme";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Ferdi265";
|
owner = "Ferdi265";
|
||||||
repo = "numix-solarized-gtk-theme";
|
repo = "numix-solarized-gtk-theme";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1kda0lyqi3cxh163fbj8yyi6jj6pf0y980k4s0cmyi3hkh4cqyd5";
|
sha256 = "05h1563sy6sfz76jadxsf730mav6bbjsk9xnadv49r16b8n8p9a9";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ python3 sass glib gdk-pixbuf libxml2 inkscape optipng ];
|
nativeBuildInputs = [ python3 sassc glib gdk-pixbuf inkscape ];
|
||||||
|
|
||||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
substituteInPlace Makefile --replace '$(DESTDIR)'/usr $out
|
substituteInPlace Makefile --replace '$(DESTDIR)'/usr $out
|
||||||
substituteInPlace scripts/render-assets.sh \
|
|
||||||
--replace /usr/bin/inkscape ${inkscape}/bin/inkscape \
|
|
||||||
--replace /usr/bin/optipng ${optipng}/bin/optipng
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = "true";
|
buildPhase = "true";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
HOME="$NIX_BUILD_ROOT" # shut up inkscape's warnings
|
||||||
for theme in *.colors; do
|
for theme in *.colors; do
|
||||||
make THEME="''${theme/.colors/}" install
|
make THEME="''${theme/.colors/}" install
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user