
This reverts commit 65a333600d5c88a98d674f637d092807cfc12253. This wasn't tested for correctness with something like fodwatch [0], and should not have been (self-)merged so quickly, especially without further review. It also resulted in the breakage of at least one package [1] (and that's the one we know of and was caught). A few packages that were updated in between this commit and this revert were not reverted back to using `rev`, but other than that, this is a 1:1 revert. [0]: https://codeberg.org/raphaelr/fodwatch [1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e4587d75882aebc21a04bee960418f8ce9
64 lines
1.5 KiB
Nix
64 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
python3,
|
|
sassc,
|
|
glib,
|
|
gdk-pixbuf,
|
|
inkscape,
|
|
gtk-engine-murrine,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "numix-solarized-gtk-theme";
|
|
version = "20230408";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Ferdi265";
|
|
repo = "numix-solarized-gtk-theme";
|
|
rev = version;
|
|
sha256 = "sha256-r5xCe8Ew+/SuCUaZ0yjlumORTy/y1VwbQQjQ6uEyGsY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
python3
|
|
sassc
|
|
glib
|
|
gdk-pixbuf
|
|
inkscape
|
|
];
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
postPatch = ''
|
|
patchShebangs .
|
|
substituteInPlace Makefile --replace '$(DESTDIR)'/usr $out
|
|
'';
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
for theme in colors/*.colors; do
|
|
theme="''${theme##*/}"
|
|
make THEME="''${theme/.colors/}" install
|
|
done
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
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";
|
|
license = licenses.gpl3Only;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.offline ];
|
|
};
|
|
}
|