at 24.05-pre 969 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, poetry-core 5, pythonRelaxDepsHook 6, click 7, colorama 8, flask 9, requests 10, yt-dlp 11, progress 12}: 13 14buildPythonPackage rec { 15 pname = "yark"; 16 version = "1.2.9"; 17 18 format = "pyproject"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-g9JwFnB4tFuvRvQGEURbIB2gaXQgCQJkL1sNmYMFvck="; 23 }; 24 25 pythonRelaxDeps = [ 26 "requests" 27 ]; 28 29 nativeBuildInputs = [ 30 poetry-core 31 pythonRelaxDepsHook 32 ]; 33 34 propagatedBuildInputs = [ 35 click 36 colorama 37 flask 38 progress 39 requests 40 yt-dlp 41 ]; 42 43 # There aren't any unit tests. If test discovery runs, it will crash, halting the build. 44 # When upstream adds unit tests, please configure them here. Thanks! ~ C. 45 doCheck = false; 46 47 pythonImportsCheck = [ 48 "yark" 49 ]; 50 51 meta = with lib; { 52 description = "YouTube archiving made simple"; 53 homepage = "https://github.com/Owez/yark"; 54 license = licenses.mit; 55 maintainers = [ ]; 56 }; 57}