ytcc: 2.6.1 -> 2.7.2 (#414124)
This commit is contained in:
commit
9341a8b6a2
@ -4,38 +4,43 @@
|
||||
fetchFromGitHub,
|
||||
gettext,
|
||||
installShellFiles,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "ytcc";
|
||||
version = "2.6.1";
|
||||
version = "2.7.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "woefe";
|
||||
repo = "ytcc";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-pC2uoog+nev/Xa6UbXX4vX00VQQLHtZzbVkxrxO/Pg8=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-PNSkIp6CJvgirO3k2lB0nOVEC1+znhn3/OyRIJ1EANI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs =
|
||||
[
|
||||
gettext
|
||||
installShellFiles
|
||||
]
|
||||
++ (with python3Packages; [
|
||||
setuptools
|
||||
]);
|
||||
build-system = with python3Packages; [ hatchling ];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
yt-dlp
|
||||
click
|
||||
wcwidth
|
||||
defusedxml
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs =
|
||||
with python3Packages;
|
||||
[
|
||||
pytestCheckHook
|
||||
]
|
||||
++ [ versionCheckHook ];
|
||||
|
||||
versionCheckProgramArg = "--version";
|
||||
|
||||
# Disable tests that touch network or shell out to commands
|
||||
disabledTests = [
|
||||
@ -49,6 +54,7 @@ python3Packages.buildPythonApplication rec {
|
||||
"test_import_duplicate"
|
||||
"test_update"
|
||||
"test_download"
|
||||
"test_comma_list_error"
|
||||
];
|
||||
|
||||
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";
|
||||
homepage = "https://github.com/woefe/ytcc";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
mainProgram = "ytcc";
|
||||
maintainers = with lib.maintainers; [ marius851000 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user