2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, python3, sassc, glib, gdk-pixbuf, inkscape, gtk-engine-murrine }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "numix-solarized-gtk-theme";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "20230408";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Ferdi265";
|
2021-06-01 10:57:12 +00:00
|
|
|
repo = pname;
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = version;
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "sha256-r5xCe8Ew+/SuCUaZ0yjlumORTy/y1VwbQQjQ6uEyGsY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-10-19 09:53:12 +00:00
|
|
|
nativeBuildInputs = [ python3 sassc glib gdk-pixbuf inkscape ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs .
|
|
|
|
substituteInPlace Makefile --replace '$(DESTDIR)'/usr $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildPhase = "true";
|
|
|
|
|
|
|
|
installPhase = ''
|
2021-06-01 10:57:12 +00:00
|
|
|
runHook preInstall
|
2021-09-18 10:52:07 +00:00
|
|
|
for theme in colors/*.colors; do
|
|
|
|
theme="''${theme##*/}"
|
2020-04-24 23:36:52 +00:00
|
|
|
make THEME="''${theme/.colors/}" install
|
|
|
|
done
|
2021-06-01 10:57:12 +00:00
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Solarized versions of Numix GTK2 and GTK3 theme";
|
|
|
|
longDescription = ''
|
|
|
|
This is a fork of the Numix GTK theme that replaces the colors of the theme
|
|
|
|
and icons to use the solarized theme with a solarized green accent color.
|
|
|
|
This theme supports both the dark and light theme, just as Numix proper.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/Ferdi265/numix-solarized-gtk-theme";
|
|
|
|
downloadPage = "https://github.com/Ferdi265/numix-solarized-gtk-theme/releases";
|
2021-06-01 10:57:12 +00:00
|
|
|
license = licenses.gpl3Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.offline ];
|
|
|
|
};
|
|
|
|
}
|