diff options
author | linsui <linsui555@gmail.com> | 2022-11-01 20:43:01 +0800 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2022-11-01 14:42:07 +0100 |
commit | cd0a368e0835b7ea753cd1282feaf678533fee5b (patch) | |
tree | d08db921d366c1ed4b8b956b8193edfdc6bb3378 /pkgs/tools/misc/yutto | |
parent | d8d07760bc912d3b4a91acf0d211052b501b565f (diff) |
yutto: move to all-packages and 2.0.0b15 -> 2.0.0b16
Diffstat (limited to 'pkgs/tools/misc/yutto')
-rw-r--r-- | pkgs/tools/misc/yutto/default.nix | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/pkgs/tools/misc/yutto/default.nix b/pkgs/tools/misc/yutto/default.nix index a6ac2604f08fc..3452277c1fe57 100644 --- a/pkgs/tools/misc/yutto/default.nix +++ b/pkgs/tools/misc/yutto/default.nix @@ -1,27 +1,22 @@ { lib -, buildPythonApplication -, fetchPypi -, pythonOlder -, poetry-core -, aiohttp -, aiofiles -, biliass -, dicttoxml -, colorama +, python3 , ffmpeg , makeWrapper +, nix-update-script }: +with python3.pkgs; + buildPythonApplication rec { pname = "yutto"; - version = "2.0.0b15"; + version = "2.0.0b16"; format = "pyproject"; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; - hash = "sha256-TOFApMwY2WRYg2H2N0PIjylYFKnTHdszdU+AFgLYYwc="; + hash = "sha256-aGmayZGXmEyVuUKDKrgcYuPKsib/c5ou5CZ+Sag6Evk="; }; nativeBuildInputs = [ @@ -42,6 +37,10 @@ buildPythonApplication rec { pythonImportsCheck = [ "yutto" ]; + passthru.updateScript = nix-update-script { + attrPath = pname; + }; + meta = with lib; { description = "A Bilibili downloader"; homepage = "https://github.com/yutto-dev/yutto"; |