Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 internetarchive, 5 fetchPypi, 6 yt-dlp, 7 docopt, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "tubeup"; 13 version = "2023.9.19"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-Pp4h0MBoYhczmxPq21cLiYpLUeFP+2JoACcFpBl3b0E="; 21 }; 22 23 24 propagatedBuildInputs = [ 25 internetarchive 26 docopt 27 yt-dlp 28 ]; 29 30 pythonRelaxDeps = [ "docopt" ]; 31 32 pythonImportsCheck = [ "tubeup" ]; 33 34 # Tests failing upstream 35 doCheck = false; 36 37 meta = with lib; { 38 description = "Youtube (and other video site) to Internet Archive Uploader"; 39 mainProgram = "tubeup"; 40 homepage = "https://github.com/bibanon/tubeup"; 41 changelog = "https://github.com/bibanon/tubeup/releases/tag/${version}"; 42 license = licenses.gpl3Only; 43 maintainers = [ ]; 44 }; 45}