mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
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>
37 lines
719 B
Nix
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 ];
|
|
};
|
|
}
|