mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
Merge pull request #286241 from amalgame21/kodi-sponsorblock-addon
kodiPackages.sponsorblock: init at 0.5.0
This commit is contained in:
commit
d1b6a99073
29
pkgs/applications/video/kodi/addons/sponsorblock/default.nix
Normal file
29
pkgs/applications/video/kodi/addons/sponsorblock/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib, buildKodiAddon, fetchFromGitHub, six, requests }:
|
||||
buildKodiAddon rec {
|
||||
pname = "sponsorblock";
|
||||
namespace = "script.service.sponsorblock";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "siku2";
|
||||
repo = namespace;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-IBgh2kdPgCy+HHrR7UZxTgjF1LR77ABGlUp3PgaobNM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
requests
|
||||
];
|
||||
|
||||
passthru = {
|
||||
pythonPath = "resources/lib";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/siku2/script.service.sponsorblock";
|
||||
description = "A Port of SponsorBlock for Invidious and YouTube Plugin";
|
||||
license = licenses.mit;
|
||||
maintainers = teams.kodi.members;
|
||||
};
|
||||
}
|
@ -181,6 +181,8 @@ let self = rec {
|
||||
|
||||
six = callPackage ../applications/video/kodi/addons/six { };
|
||||
|
||||
sponsorblock = callPackage ../applications/video/kodi/addons/sponsorblock { };
|
||||
|
||||
urllib3 = callPackage ../applications/video/kodi/addons/urllib3 { };
|
||||
|
||||
websocket = callPackage ../applications/video/kodi/addons/websocket { };
|
||||
|
Loading…
Reference in New Issue
Block a user