diff --git a/pkgs/applications/video/animdl/default.nix b/pkgs/by-name/an/animdl/package.nix similarity index 79% rename from pkgs/applications/video/animdl/default.nix rename to pkgs/by-name/an/animdl/package.nix index 3c0fe37dd062..28a2ecab20fd 100644 --- a/pkgs/applications/video/animdl/default.nix +++ b/pkgs/by-name/an/animdl/package.nix @@ -1,27 +1,12 @@ { lib, - buildPythonApplication, fetchFromGitHub, - poetry-core, - anchor-kr, - anitopy, - click, - cssselect, - httpx, - lxml, - packaging, - pkginfo, - pycryptodomex, - pyyaml, - regex, - rich, - tqdm, - yarl, + python3Packages, }: -buildPythonApplication { +python3Packages.buildPythonApplication { pname = "animdl"; version = "1.7.27"; - format = "pyproject"; + pyproject = true; src = fetchFromGitHub { owner = "justfoolingaround"; @@ -34,7 +19,9 @@ buildPythonApplication { pythonRemoveDeps = [ "comtypes" # windows only ]; + pythonRelaxDeps = [ + "cssselect" "httpx" "lxml" "packaging" @@ -45,10 +32,11 @@ buildPythonApplication { "yarl" ]; - nativeBuildInputs = [ + build-system = with python3Packages; [ poetry-core ]; - propagatedBuildInputs = [ + + dependencies = with python3Packages; [ anchor-kr anitopy click diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5accf1cff649..09c32d2f97c2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16931,8 +16931,6 @@ with pkgs; yaziPlugins = recurseIntoAttrs (callPackage ../by-name/ya/yazi/plugins { }); - animdl = python3Packages.callPackage ../applications/video/animdl { }; - dillo = callPackage ../by-name/di/dillo/package.nix { fltk = fltk13; };