9 python3Packages.buildPythonApplication rec {
11 version = "2.0.0-rc.7";
14 disabled = python3Packages.pythonOlder "3.9";
15 pythonRelaxDeps = true;
17 src = fetchFromGitHub {
21 hash = "sha256-yNAQmpR65FSCbciSSdO2eHUJcE6Dl8J4dqq6GHt5NDQ=";
24 build-system = with python3Packages; [ hatchling ];
37 ++ (with httpx.optional-dependencies; http2 ++ socks);
40 makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg ]})
43 pythonImportsCheck = [ "yutto" ];
45 passthru.updateScript = nix-update-script {
53 description = "Bilibili downloader";
54 homepage = "https://github.com/yutto-dev/yutto";
55 license = licenses.gpl3Only;
56 maintainers = with maintainers; [ linsui ];
57 mainProgram = "yutto";