Files
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

37 lines
719 B
Nix

{
lib,
rel,
buildKodiBinaryAddon,
fetchFromGitHub,
pkg-config,
glm,
libGL,
}:
buildKodiBinaryAddon rec {
pname = "visualization-spectrum";
namespace = "visualization.spectrum";
version = "21.0.2";
src = fetchFromGitHub {
owner = "xbmc";
repo = namespace;
rev = "${version}-${rel}";
hash = "sha256-8yGmZeLJ8AdT17yqYVxYbmkZ6DqhlCyblbTUzf8MhE4=";
};
extraBuildInputs = [
pkg-config
libGL
];
propagatedBuildInputs = [ glm ];
meta = {
homepage = "https://github.com/xbmc/visualization.spectrum";
description = "Spectrum visualization for kodi";
platforms = lib.platforms.all;
license = lib.licenses.gpl2Only;
teams = [ lib.teams.kodi ];
};
}