summaryrefslogtreecommitdiffstats
path: root/pkgs/data
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2022-08-18 14:38:48 -0300
committerGitHub <noreply@github.com>2022-08-18 19:38:48 +0200
commitd34f728c2fc35481a6259e1ad86154db151b63e5 (patch)
tree6a29ff39642c4b7d28f72938b2a9a9052a99566a /pkgs/data
parentae9b52fd8bb28e8e9772f6966116d0969fd92e4f (diff)
numix-icon-theme: 21.10.31 -> 22.08.16 (#187004)
* numix-icon-theme: reformat nix expression * numix-icon-theme: add update script * numix-icon-theme: 21.10.31 -> 22.08.16 * numix-icon-theme: add missing parent themes
Diffstat (limited to 'pkgs/data')
-rw-r--r--pkgs/data/icons/numix-icon-theme/default.nix30
1 files changed, 25 insertions, 5 deletions
diff --git a/pkgs/data/icons/numix-icon-theme/default.nix b/pkgs/data/icons/numix-icon-theme/default.nix
index 576fa405e06f..18ba78ac24ec 100644
--- a/pkgs/data/icons/numix-icon-theme/default.nix
+++ b/pkgs/data/icons/numix-icon-theme/default.nix
@@ -1,25 +1,43 @@
-{ lib, stdenvNoCC, fetchFromGitHub, gtk3, gnome-icon-theme, hicolor-icon-theme }:
+{ lib
+, stdenvNoCC
+, fetchFromGitHub
+, gtk3
+, adwaita-icon-theme
+, breeze-icons
+, gnome-icon-theme
+, hicolor-icon-theme
+, gitUpdater
+}:
stdenvNoCC.mkDerivation rec {
pname = "numix-icon-theme";
- version = "21.10.31";
+ version = "22.08.16";
src = fetchFromGitHub {
owner = "numixproject";
repo = pname;
rev = version;
- sha256 = "sha256-wyVvXifdbKR2aiBMrki8y/H0khH4eFD1RHVSC+jAT28=";
+ sha256 = "sha256-EveIr5XYyQYhz0AqZQBql3j0LnD8taNdzB/6IV7Mz2k=";
};
- nativeBuildInputs = [ gtk3 ];
+ nativeBuildInputs = [
+ gtk3
+ ];
- propagatedBuildInputs = [ gnome-icon-theme hicolor-icon-theme ];
+ propagatedBuildInputs = [
+ adwaita-icon-theme
+ breeze-icons
+ gnome-icon-theme
+ hicolor-icon-theme
+ ];
dontDropIconThemeCache = true;
installPhase = ''
runHook preInstall
+ substituteInPlace Numix/index.theme --replace Breeze breeze
+
mkdir -p $out/share/icons
cp -a Numix{,-Light} $out/share/icons/
@@ -30,6 +48,8 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
+ passthru.updateScript = gitUpdater { inherit pname version; };
+
meta = with lib; {
description = "Numix icon theme";
homepage = "https://numixproject.github.io";