yutto: init at 2.0.0b13

This commit is contained in:
linsui 2022-05-26 10:06:05 +08:00
parent ba5adb55e0
commit 845591e71b
3 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,51 @@
{ lib
, buildPythonApplication
, fetchPypi
, pythonOlder
, poetry-core
, aiohttp
, aiofiles
, biliass
, dicttoxml
, colorama
, ffmpeg
, makeWrapper
}:
buildPythonApplication rec {
pname = "yutto";
version = "2.0.0b13";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-XqfbvlaJoRPpwnaUA52KloOsEOIt3YM0cq36DZN6lR8=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
aiofiles
biliass
dicttoxml
colorama
];
preFixup = ''
makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg ]})
'';
pythonImportsCheck = [ "yutto" ];
meta = with lib; {
description = "A Bilibili downloader";
homepage = "https://github.com/yutto-dev/yutto";
license = licenses.gpl3Only;
maintainers = with maintainers; [ linsui ];
};
}

View File

@ -30938,6 +30938,8 @@ with pkgs;
ytmdl = callPackage ../tools/misc/ytmdl { };
yutto = with python3.pkgs; toPythonApplication yutto;
yuview = libsForQt5.yuview;
zam-plugins = callPackage ../applications/audio/zam-plugins { };

View File

@ -11341,6 +11341,8 @@ in {
yubico-client = callPackage ../development/python-modules/yubico-client { };
yutto = callPackage ../tools/misc/yutto { };
z3c-checkversions = callPackage ../development/python-modules/z3c-checkversions { };
z3 = (toPythonModule (pkgs.z3.override {