Skip to content

Commit

Permalink
yutto: 2.0.0-beta.43 -> 2.0.0-rc.4 (NixOS#348106)
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium authored Oct 19, 2024
2 parents 13600d7 + 844301e commit bf15f32
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
5 changes: 3 additions & 2 deletions pkgs/by-name/yu/yutto/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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 ];
Expand All @@ -32,6 +32,7 @@ python3Packages.buildPythonApplication rec {
dict2xml
colorama
typing-extensions
pydantic
]
++ (with httpx.optional-dependencies; http2 ++ socks);

Expand Down
12 changes: 9 additions & 3 deletions pkgs/development/python-modules/biliass/default.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -28,14 +30,18 @@ buildPythonPackage rec {
src
;
sourceRoot = "${sourceRoot}/${cargoRoot}";
hash = "sha256-h/UOolWQ2k5krOZy/kPywpeiLyXWLzvNu+pcn97or1A=";
hash = "sha256-DMKUbJSVME5siSPybdO5bOluPn3obVq1/6822uoSsDQ=";
};

nativeBuildInputs = with rustPlatform; [
cargoSetupHook
maturinBuildHook
];

buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
];

doCheck = false; # test artifacts missing

nativeCheckInputs = [ pytestCheckHook ];
Expand Down

0 comments on commit bf15f32

Please sign in to comment.