at 24.11-pre 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 click, 5 colorama, 6 fetchPypi, 7 flask, 8 poetry-core, 9 progress, 10 pythonOlder, 11 pythonRelaxDepsHook, 12 requests, 13 yt-dlp, 14}: 15 16buildPythonPackage rec { 17 pname = "yark"; 18 version = "1.2.10"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.9"; 22 23 src = fetchPypi { 24 inherit pname version; 25 hash = "sha256-Y1fWHpvrqGuBPyJ2dO2y0W2zhEgcTJABtkOAoZ7uyZU="; 26 }; 27 28 pythonRelaxDeps = [ 29 "flask" 30 "requests" 31 "yt-dlp" 32 ]; 33 34 nativeBuildInputs = [ 35 poetry-core 36 pythonRelaxDepsHook 37 ]; 38 39 propagatedBuildInputs = [ 40 click 41 colorama 42 flask 43 progress 44 requests 45 yt-dlp 46 ]; 47 48 # Module has no tests 49 doCheck = false; 50 51 pythonImportsCheck = [ "yark" ]; 52 53 meta = with lib; { 54 description = "Module for YouTube archiving"; 55 mainProgram = "yark"; 56 homepage = "https://github.com/Owez/yark"; 57 changelog = "https://github.com/Owez/yark/releases/tag/v${version}"; 58 license = licenses.mit; 59 maintainers = with maintainers; [ ]; 60 }; 61}