mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
kodi-formula1: init at 2.0.2
This commit is contained in:
parent
da558f2fdc
commit
2f55a21a7d
29
pkgs/applications/video/kodi/addons/formula1/default.nix
Normal file
29
pkgs/applications/video/kodi/addons/formula1/default.nix
Normal file
@ -0,0 +1,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;
|
||||||
|
};
|
||||||
|
}
|
@ -61,6 +61,8 @@ let
|
|||||||
|
|
||||||
controller-topology-project = callPackage ../applications/video/kodi/addons/controller-topology-project { };
|
controller-topology-project = callPackage ../applications/video/kodi/addons/controller-topology-project { };
|
||||||
|
|
||||||
|
formula1 = callPackage ../applications/video/kodi/addons/formula1 { };
|
||||||
|
|
||||||
iagl = callPackage ../applications/video/kodi/addons/iagl { };
|
iagl = callPackage ../applications/video/kodi/addons/iagl { };
|
||||||
|
|
||||||
invidious = callPackage ../applications/video/kodi/addons/invidious { };
|
invidious = callPackage ../applications/video/kodi/addons/invidious { };
|
||||||
|
Loading…
Reference in New Issue
Block a user