blob: 0d374dc65be1bbcdbc615f5cefc028e2ccf8f386 (
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
|
{ lib, rel, buildKodiAddon, fetchzip, addonUpdateScript, requests }:
buildKodiAddon rec {
pname = "formula1";
namespace = "plugin.video.formula1";
version = "2.0.2";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/${namespace}/${namespace}-${version}.zip";
sha256 = "sha256-aClAgkJKvixeKzrwgEsfDhPXiFv9+ULLmb8c9QTaUgM=";
};
propagatedBuildInputs = [
requests
];
passthru = {
updateScript = addonUpdateScript {
attrPath = "kodi.packages.formula1";
};
};
meta = with lib; {
homepage = "https://github.com/jaylinski/kodi-addon-formula1";
description = "Videos from the Formula 1 website";
license = licenses.mit;
maintainers = teams.kodi.members;
};
}
|