ytcc: 2.6.1 -> 2.7.2 (#414124)

This commit is contained in:
Gaétan Lepage 2025-06-21 20:59:58 +02:00 committed by GitHub
commit 9341a8b6a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,38 +4,43 @@
fetchFromGitHub, fetchFromGitHub,
gettext, gettext,
installShellFiles, installShellFiles,
versionCheckHook,
}: }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "ytcc"; pname = "ytcc";
version = "2.6.1"; version = "2.7.2";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "woefe"; owner = "woefe";
repo = "ytcc"; repo = "ytcc";
rev = "v${version}"; tag = "v${version}";
hash = "sha256-pC2uoog+nev/Xa6UbXX4vX00VQQLHtZzbVkxrxO/Pg8="; hash = "sha256-PNSkIp6CJvgirO3k2lB0nOVEC1+znhn3/OyRIJ1EANI=";
}; };
nativeBuildInputs = build-system = with python3Packages; [ hatchling ];
[
gettext
installShellFiles
]
++ (with python3Packages; [
setuptools
]);
propagatedBuildInputs = with python3Packages; [ nativeBuildInputs = [
gettext
installShellFiles
];
dependencies = with python3Packages; [
yt-dlp yt-dlp
click click
wcwidth wcwidth
defusedxml
]; ];
nativeCheckInputs = with python3Packages; [ nativeCheckInputs =
pytestCheckHook with python3Packages;
]; [
pytestCheckHook
]
++ [ versionCheckHook ];
versionCheckProgramArg = "--version";
# Disable tests that touch network or shell out to commands # Disable tests that touch network or shell out to commands
disabledTests = [ disabledTests = [
@ -49,6 +54,7 @@ python3Packages.buildPythonApplication rec {
"test_import_duplicate" "test_import_duplicate"
"test_update" "test_update"
"test_download" "test_download"
"test_comma_list_error"
]; ];
postInstall = '' postInstall = ''
@ -63,6 +69,7 @@ python3Packages.buildPythonApplication rec {
description = "Command Line tool to keep track of your favourite YouTube channels without signing up for a Google account"; description = "Command Line tool to keep track of your favourite YouTube channels without signing up for a Google account";
homepage = "https://github.com/woefe/ytcc"; homepage = "https://github.com/woefe/ytcc";
license = lib.licenses.gpl3Plus; license = lib.licenses.gpl3Plus;
mainProgram = "ytcc";
maintainers = with lib.maintainers; [ marius851000 ]; maintainers = with lib.maintainers; [ marius851000 ];
}; };
} }