Merge pull request #313716 from jopejoe1/hicolor-icon-theme/update/0.18

This commit is contained in:
Sandro 2024-06-02 16:30:15 +02:00 committed by GitHub
commit 7397cd764b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,20 +1,42 @@
{ lib, stdenvNoCC, fetchurl }:
{
lib,
stdenvNoCC,
fetchFromGitLab,
testers,
meson,
pkg-config,
ninja,
}:
stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "hicolor-icon-theme";
version = "0.17";
version = "0.18";
src = fetchurl {
url = "https://icon-theme.freedesktop.org/releases/hicolor-icon-theme-${version}.tar.xz";
sha256 = "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "xdg";
repo = "default-icon-theme";
rev = "v${finalAttrs.version}";
hash = "sha256-uoB7u/ok7vMxKDl8pINdnV9VsvmsntBcZuz3Q4zGz7M=";
};
nativeBuildInputs = [
meson
pkg-config
ninja
];
setupHook = ./setup-hook.sh;
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
description = "Default fallback theme used by implementations of the icon theme specification";
homepage = "https://icon-theme.freedesktop.org/releases/";
homepage = "https://www.freedesktop.org/wiki/Software/icon-theme/";
changelog = "https://gitlab.freedesktop.org/xdg/default-icon-theme/-/blob/${finalAttrs.src.rev}/NEWS";
platforms = platforms.unix;
license = licenses.gpl2Only;
pkgConfigModules = [ "default-icon-theme" ];
maintainers = with maintainers; [ jopejoe1 ];
};
}
})