Skip to content

Commit

Permalink
yutto: move to all-packages and 2.0.0b15 -> 2.0.0b16
Browse files Browse the repository at this point in the history
  • Loading branch information
linsui authored and FRidh committed Nov 1, 2022
1 parent d8d0776 commit cd0a368
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
21 changes: 10 additions & 11 deletions pkgs/tools/misc/yutto/default.nix
Original file line number Diff line number Diff line change
@@ -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 = [
Expand All @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33199,7 +33199,7 @@ with pkgs;

ytmdl = callPackage ../tools/misc/ytmdl { };

yutto = with python3.pkgs; toPythonApplication yutto;
yutto = callPackage ../tools/misc/yutto { };

yuview = libsForQt5.yuview;

Expand Down
2 changes: 0 additions & 2 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12134,8 +12134,6 @@ self: super: with self; {

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 {
Expand Down

0 comments on commit cd0a368

Please sign in to comment.