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