mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
39 lines
802 B
Nix
39 lines
802 B
Nix
{
|
|
lib,
|
|
rel,
|
|
buildKodiAddon,
|
|
fetchzip,
|
|
addonUpdateScript,
|
|
requests,
|
|
routing,
|
|
}:
|
|
|
|
buildKodiAddon rec {
|
|
pname = "media.ccc.de";
|
|
namespace = "plugin.video.media-ccc-de";
|
|
version = "0.3.0+matrix.1";
|
|
|
|
src = fetchzip {
|
|
url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/plugin.video.media-ccc-de/plugin.video.media-ccc-de-${version}.zip";
|
|
hash = "sha256-T8J2HtPVDfaPU0gZEa0xVBzwjNInxkRFCCSxS53QhmU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
routing
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = addonUpdateScript {
|
|
attrPath = "kodi.packages.mediacccde";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/voc/plugin.video.media-ccc-de/";
|
|
description = "media.ccc.de for Kodi";
|
|
license = licenses.mit;
|
|
teams = [ teams.kodi ];
|
|
};
|
|
}
|