yutto: format

This commit is contained in:
linsui 2024-07-07 14:50:36 +08:00
parent f40cb8ed71
commit 5f3d71366d

View File

@ -1,8 +1,9 @@
{ lib
, python3Packages
, fetchFromGitHub
, ffmpeg
, nix-update-script
{
lib,
python3Packages,
fetchFromGitHub,
ffmpeg,
nix-update-script,
}:
python3Packages.buildPythonApplication rec {
@ -19,18 +20,19 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-gopCQ8tEhwtDFs/w+jafD3ZW/4MIrYxPcMh8SbOCwww=";
};
nativeBuildInputs = with python3Packages; [
poetry-core
];
nativeBuildInputs = with python3Packages; [ poetry-core ];
propagatedBuildInputs = with python3Packages; [
httpx
aiofiles
biliass
dict2xml
colorama
typing-extensions
] ++ (with httpx.optional-dependencies; http2 ++ socks);
propagatedBuildInputs =
with python3Packages;
[
httpx
aiofiles
biliass
dict2xml
colorama
typing-extensions
]
++ (with httpx.optional-dependencies; http2 ++ socks);
preFixup = ''
makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg ]})
@ -39,7 +41,10 @@ python3Packages.buildPythonApplication rec {
pythonImportsCheck = [ "yutto" ];
passthru.updateScript = nix-update-script {
extraArgs = [ "--version" "unstable" ];
extraArgs = [
"--version"
"unstable"
];
};
meta = with lib; {