mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
isponsorblocktv: init at 2.2.1
This commit is contained in:
parent
3d2e6103c8
commit
5892f519c1
1
pkgs/by-name/is/isponsorblocktv/package.nix
Normal file
1
pkgs/by-name/is/isponsorblocktv/package.nix
Normal file
@ -0,0 +1 @@
|
||||
{ python3Packages }: python3Packages.callPackage ./pypackage.nix { }
|
69
pkgs/by-name/is/isponsorblocktv/pypackage.nix
Normal file
69
pkgs/by-name/is/isponsorblocktv/pypackage.nix
Normal file
@ -0,0 +1,69 @@
|
||||
{
|
||||
buildPythonApplication,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
hatchling,
|
||||
hatch-requirements-txt,
|
||||
aiohttp,
|
||||
appdirs,
|
||||
async-cache,
|
||||
pyytlounge,
|
||||
rich-click,
|
||||
rich,
|
||||
ssdp,
|
||||
textual-slider,
|
||||
textual,
|
||||
xmltodict,
|
||||
pythonRelaxDepsHook,
|
||||
}:
|
||||
buildPythonApplication rec {
|
||||
pname = "iSponsorBlockTV";
|
||||
version = "2.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dmunozv04";
|
||||
repo = "iSponsorBlockTV";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-v5NF6o+9IxusYNebs2a9fgHCHZNN9hHLQurujhmdsgU=";
|
||||
};
|
||||
|
||||
pyproject = true;
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
hatch-requirements-txt
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
appdirs
|
||||
async-cache
|
||||
pyytlounge
|
||||
rich-click
|
||||
rich
|
||||
ssdp
|
||||
textual-slider
|
||||
textual
|
||||
xmltodict
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
|
||||
pythonRemoveDeps = [ "argparse" ];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"aiohttp"
|
||||
"pyytlounge"
|
||||
"textual-slider"
|
||||
"textual"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/dmunozv04/iSponsorBlockTV";
|
||||
description = "SponsorBlock client for all YouTube TV clients";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ lukegb ];
|
||||
mainProgram = "iSponsorBlockTV";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user