diff options
Diffstat (limited to 'pkgs/tools/misc/yutto/default.nix')
-rw-r--r-- | pkgs/tools/misc/yutto/default.nix | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/pkgs/tools/misc/yutto/default.nix b/pkgs/tools/misc/yutto/default.nix deleted file mode 100644 index e6bf61f8beec..000000000000 --- a/pkgs/tools/misc/yutto/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ lib -, python3 -, fetchPypi -, ffmpeg -, nix-update-script -}: - -with python3.pkgs; - -buildPythonApplication rec { - pname = "yutto"; - version = "2.0.0b35"; - format = "pyproject"; - - disabled = pythonOlder "3.9"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-r4Lc5PMkhwLMC6nKArvpf9M4N+eoV6OmZK2uhY6xZxA="; - }; - - nativeBuildInputs = [ - poetry-core - ]; - - propagatedBuildInputs = [ - httpx - aiofiles - biliass - dict2xml - colorama - typing-extensions - ] ++ (with httpx.optional-dependencies; http2 ++ socks); - - preFixup = '' - makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}) - ''; - - pythonImportsCheck = [ "yutto" ]; - - passthru.updateScript = nix-update-script { }; - - meta = with lib; { - description = "A Bilibili downloader"; - homepage = "https://github.com/yutto-dev/yutto"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ linsui ]; - mainProgram = "yutto"; - }; -} |