blob: 0d528243a8654d2b7d5bc1b537c77872d32867b1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
stdenvNoCC,
fetchFromGitLab,
testers,
meson,
pkg-config,
ninja,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "hicolor-icon-theme";
version = "0.18";
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://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 ];
};
})
|