yutto: 2.0.0-beta.43 -> 2.0.0-rc.4 (#348106)

This commit is contained in:
OTABI Tomoya 2024-10-19 11:18:10 +09:00 committed by GitHub
commit bf15f32dd4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 5 deletions

View File

@ -8,7 +8,7 @@
python3Packages.buildPythonApplication rec {
pname = "yutto";
version = "2.0.0-beta.43";
version = "2.0.0-rc.4";
pyproject = true;
disabled = python3Packages.pythonOlder "3.9";
@ -18,7 +18,7 @@ python3Packages.buildPythonApplication rec {
owner = "yutto-dev";
repo = "yutto";
rev = "refs/tags/v${version}";
hash = "sha256-ND3uE4vsFa7gPr1E2UfiebExsrj+ELN0+hqnxxOQu8Y=";
hash = "sha256-QP3sbZANsyYeZmLZSwQz6E1eysCVojRYHu/z9Szdb6U=";
};
build-system = with python3Packages; [ hatchling ];
@ -32,6 +32,7 @@ python3Packages.buildPythonApplication rec {
dict2xml
colorama
typing-extensions
pydantic
]
++ (with httpx.optional-dependencies; http2 ++ socks);

View File

@ -1,21 +1,23 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
rustPlatform,
pytestCheckHook,
libiconv,
}:
buildPythonPackage rec {
pname = "biliass";
version = "2.0.0-beta.1";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "yutto-dev";
repo = "yutto";
rev = "refs/tags/biliass@${version}";
hash = "sha256-Clma0Ggkphk6F+K+h3TdMUX4WyWQorh9g2uAT4+Fc9I=";
hash = "sha256-PlZD+988KdJqYC1I1K7i+YAH1Tzr6zfXcJFR/M4mQRA=";
};
sourceRoot = "source/packages/biliass";
@ -28,7 +30,7 @@ buildPythonPackage rec {
src
;
sourceRoot = "${sourceRoot}/${cargoRoot}";
hash = "sha256-h/UOolWQ2k5krOZy/kPywpeiLyXWLzvNu+pcn97or1A=";
hash = "sha256-DMKUbJSVME5siSPybdO5bOluPn3obVq1/6822uoSsDQ=";
};
nativeBuildInputs = with rustPlatform; [
@ -36,6 +38,10 @@ buildPythonPackage rec {
maturinBuildHook
];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
];
doCheck = false; # test artifacts missing
nativeCheckInputs = [ pytestCheckHook ];