about summary refs log tree commit diff
path: root/pkgs/applications/video/animdl
diff options
context:
space:
mode:
authorPassiveLemon <lemonl3mn@protonmail.com>2023-07-26 10:09:10 -0400
committerPassiveLemon <lemonl3mn@protonmail.com>2023-12-02 20:22:36 -0500
commit62beb3db5bb392af81fa93c5b5c0afe547e7c374 (patch)
treef62e81b26efd49cd44bd017febffbdc372e24f0a /pkgs/applications/video/animdl
parent1063c0ea2a7d4d38491f27e50b21e3a7a6461d47 (diff)
downloadnixlib-62beb3db5bb392af81fa93c5b5c0afe547e7c374.tar
nixlib-62beb3db5bb392af81fa93c5b5c0afe547e7c374.tar.gz
nixlib-62beb3db5bb392af81fa93c5b5c0afe547e7c374.tar.bz2
nixlib-62beb3db5bb392af81fa93c5b5c0afe547e7c374.tar.lz
nixlib-62beb3db5bb392af81fa93c5b5c0afe547e7c374.tar.xz
nixlib-62beb3db5bb392af81fa93c5b5c0afe547e7c374.tar.zst
nixlib-62beb3db5bb392af81fa93c5b5c0afe547e7c374.zip
animdl: init at 1.7.27
Diffstat (limited to 'pkgs/applications/video/animdl')
-rw-r--r--pkgs/applications/video/animdl/default.nix63
1 files changed, 63 insertions, 0 deletions
diff --git a/pkgs/applications/video/animdl/default.nix b/pkgs/applications/video/animdl/default.nix
new file mode 100644
index 000000000000..3f1be6f5833a
--- /dev/null
+++ b/pkgs/applications/video/animdl/default.nix
@@ -0,0 +1,63 @@
+{ lib,
+  buildPythonApplication,
+  fetchFromGitHub,
+  poetry-core,
+  anchor-kr,
+  anitopy,
+  click,
+  cssselect,
+  httpx,
+  lxml,
+  packaging,
+  pkginfo,
+  pycryptodomex,
+  pyyaml,
+  regex,
+  rich,
+  tqdm,
+  yarl
+}:
+buildPythonApplication {
+  pname = "animdl";
+  version = "1.7.27";
+  format = "pyproject";
+
+  src = fetchFromGitHub {
+    owner = "justfoolingaround";
+    repo = "animdl";
+    # Using the commit hash because upstream does not have releases. https://github.com/justfoolingaround/animdl/issues/277
+    rev = "c7c3b79198e66695e0bbbc576f9d9b788616957f";
+    hash = "sha256-kn6vCCFhJNlruxoO+PTHVIwTf1E5j1aSdBhrFuGzUq4=";
+  };
+
+  nativeBuildInputs = [
+    poetry-core
+  ];
+  propagatedBuildInputs = [
+    anchor-kr
+    anitopy
+    click
+    cssselect
+    httpx
+    lxml
+    packaging
+    pkginfo
+    pycryptodomex
+    pyyaml
+    regex
+    rich
+    tqdm
+    yarl
+  ];
+
+  doCheck = true;
+
+  meta = with lib; {
+    description = "A highly efficient, powerful and fast anime scraper";
+    homepage = "https://github.com/justfoolingaround/animdl";
+    license = licenses.gpl3Only;
+    mainProgram = "animdl";
+    maintainers = with maintainers; [ passivelemon ];
+    platforms = [ "x86_64-linux" ];
+  };
+}