btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / hi / hicolor-icon-theme / package.nix
blob0d528243a8654d2b7d5bc1b537c77872d32867b1
2   lib,
3   stdenvNoCC,
4   fetchFromGitLab,
5   testers,
6   meson,
7   pkg-config,
8   ninja,
9 }:
11 stdenvNoCC.mkDerivation (finalAttrs: {
12   pname = "hicolor-icon-theme";
13   version = "0.18";
15   src = fetchFromGitLab {
16     domain = "gitlab.freedesktop.org";
17     owner = "xdg";
18     repo = "default-icon-theme";
19     rev = "v${finalAttrs.version}";
20     hash = "sha256-uoB7u/ok7vMxKDl8pINdnV9VsvmsntBcZuz3Q4zGz7M=";
21   };
23   nativeBuildInputs = [
24     meson
25     pkg-config
26     ninja
27   ];
29   setupHook = ./setup-hook.sh;
31   passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
33   meta = with lib; {
34     description = "Default fallback theme used by implementations of the icon theme specification";
35     homepage = "https://www.freedesktop.org/wiki/Software/icon-theme/";
36     changelog = "https://gitlab.freedesktop.org/xdg/default-icon-theme/-/blob/${finalAttrs.src.rev}/NEWS";
37     platforms = platforms.unix;
38     license = licenses.gpl2Only;
39     pkgConfigModules = [ "default-icon-theme" ];
40     maintainers = with maintainers; [ jopejoe1 ];
41   };