1 { lib, rel, buildKodiBinaryAddon, fetchFromGitHub, pkg-config, glm, libGL, jsoncpp }:
3 buildKodiBinaryAddon rec {
4 pname = "visualization-shadertoy";
5 namespace = "visualization.shadertoy";
8 src = fetchFromGitHub {
11 rev = "${version}-${rel}";
12 hash = "sha256-PaHbEcB4gCC8gUzc7T49msI8f0xa2iXqSaYW/eqD8yw=";
15 extraBuildInputs = [ pkg-config libGL jsoncpp ];
17 propagatedBuildInputs = [ glm ];
19 homepage = "https://github.com/xbmc/visualization.shadertoy";
20 description = "Shadertoy visualization for kodi";
21 platforms = platforms.all;
22 license = licenses.gpl2Only;
23 maintainers = teams.kodi.members;