zafiro-icons: migrate to by-name (#429383)

authored by Weijia Wang and committed by GitHub 3e672c06 d04e5780

+11 -15
+11 -11
pkgs/data/icons/zafiro-icons/default.nix pkgs/by-name/za/zafiro-icons/package.nix
··· 3 3 stdenvNoCC, 4 4 fetchFromGitHub, 5 5 gtk3, 6 - breeze-icons, 6 + libsForQt5, 7 7 gnome-icon-theme, 8 8 numix-icon-theme, 9 9 numix-icon-theme-circle, ··· 12 12 gitUpdater, 13 13 }: 14 14 15 - stdenvNoCC.mkDerivation rec { 15 + stdenvNoCC.mkDerivation (finalAttrs: { 16 16 pname = "zafiro-icons"; 17 17 version = "1.3"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "zayronxio"; 21 - repo = pname; 22 - rev = version; 23 - sha256 = "sha256-IbFnlUOSADYMNMfvRuRPndxcQbnV12BqMDb9bJRjnoU="; 21 + repo = "zafiro-icons"; 22 + tag = finalAttrs.version; 23 + hash = "sha256-IbFnlUOSADYMNMfvRuRPndxcQbnV12BqMDb9bJRjnoU="; 24 24 }; 25 25 26 26 nativeBuildInputs = [ ··· 29 29 ]; 30 30 31 31 propagatedBuildInputs = [ 32 - breeze-icons 32 + libsForQt5.breeze-icons 33 33 gnome-icon-theme 34 34 numix-icon-theme 35 35 numix-icon-theme-circle ··· 67 67 68 68 passthru.updateScript = gitUpdater { }; 69 69 70 - meta = with lib; { 70 + meta = { 71 71 description = "Icon pack flat with light colors"; 72 72 homepage = "https://github.com/zayronxio/Zafiro-icons"; 73 - license = with licenses; [ gpl3 ]; 74 - platforms = platforms.linux; 75 - maintainers = with maintainers; [ romildo ]; 73 + license = lib.licenses.gpl3; 74 + platforms = lib.platforms.linux; 75 + maintainers = with lib.maintainers; [ romildo ]; 76 76 }; 77 - } 77 + })
-4
pkgs/top-level/all-packages.nix
··· 11604 11604 11605 11605 xlsx2csv = with python3Packages; toPythonApplication xlsx2csv; 11606 11606 11607 - zafiro-icons = callPackage ../data/icons/zafiro-icons { 11608 - inherit (plasma5Packages) breeze-icons; 11609 - }; 11610 - 11611 11607 zeal-qt5 = libsForQt5.callPackage ../data/documentation/zeal { }; 11612 11608 zeal = zeal-qt5; 11613 11609 zeal-qt6 = qt6Packages.callPackage ../data/documentation/zeal {