Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

animdl: init at 1.7.27 #240329

Merged
merged 4 commits into from
Dec 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13943,6 +13943,18 @@
githubId = 6931743;
name = "pasqui23";
};
passivelemon = {
email = "[email protected]";
github = "PassiveLemon";
githubId = 72527881;
name = "PassiveLemon";
};
patricksjackson = {
email = "[email protected]";
github = "patricksjackson";
githubId = 160646;
name = "Patrick Jackson";
};
patryk27 = {
email = "[email protected]";
github = "Patryk27";
Expand Down
63 changes: 63 additions & 0 deletions pkgs/applications/video/animdl/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{ lib,
buildPythonApplication,
fetchFromGitHub,
poetry-core,
PassiveLemon marked this conversation as resolved.
Show resolved Hide resolved
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;

PassiveLemon marked this conversation as resolved.
Show resolved Hide resolved
meta = with lib; {
description = "A highly efficient, powerful and fast anime scraper";
homepage = "https://github.com/justfoolingaround/animdl";
license = licenses.gpl3Only;
PassiveLemon marked this conversation as resolved.
Show resolved Hide resolved
mainProgram = "animdl";
maintainers = with maintainers; [ passivelemon ];
platforms = [ "x86_64-linux" ];
};
}
26 changes: 26 additions & 0 deletions pkgs/development/python-modules/anchor-kr/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ lib,
buildPythonPackage,
fetchFromGitHub
}:
buildPythonPackage {
pname = "anchor";
version = "3";
format = "setuptools";

src = fetchFromGitHub {
PassiveLemon marked this conversation as resolved.
Show resolved Hide resolved
owner = "justfoolingaround";
repo = "anchor";
# Using the commit hash because upstream does not have releases. https://github.com/justfoolingaround/anchor/issues/1
rev = "4cedb6a51877ed3a292cad61eb19013382915e86";
hash = "sha256-t75IFBSz6ncHRqXRxbrM9EQdr8xPXjSd9di+/y2LegE=";
};

pythonImportsCheck = [ "anchor" ];

meta = with lib; {
description = "Python library for scraping";
homepage = "https://github.com/justfoolingaround/anchor";
license = licenses.unfree;
maintainers = with maintainers; [ passivelemon ];
};
}
26 changes: 26 additions & 0 deletions pkgs/development/python-modules/anitopy/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ lib,
buildPythonPackage,
fetchFromGitHub
}:
buildPythonPackage rec {
pname = "anitopy";
version = "2.1.1";
format = "setuptools";

src = fetchFromGitHub {
owner = "igorcmoura";
repo = "anitopy";
rev = "v${version}";
hash = "sha256-xXEf7AJKg7grDmkKfFuC4Fk6QYFJtezClyfA3vq8TfQ=";
};

pythonImportsCheck = [ "anitopy" ];
doCheck = true;

PassiveLemon marked this conversation as resolved.
Show resolved Hide resolved
meta = with lib; {
description = "Python library for parsing anime video filenames";
homepage = "https://github.com/igorcmoura/anitopy";
license = licenses.mpl20;
maintainers = with maintainers; [ passivelemon ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42132,4 +42132,6 @@ with pkgs;
mdhtml = callPackage ../tools/text/mdhtml { };

insulator2 = callPackage ../applications/misc/insulator2 {};

animdl = python3Packages.callPackage ../applications/video/animdl { };
}
4 changes: 4 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,8 @@ self: super: with self; {

amqtt = callPackage ../development/python-modules/amqtt { };

anchor-kr = callPackage ../development/python-modules/anchor-kr { };

ancp-bids = callPackage ../development/python-modules/ancp-bids { };

android-backup = callPackage ../development/python-modules/android-backup { };
Expand All @@ -538,6 +540,8 @@ self: super: with self; {

aniso8601 = callPackage ../development/python-modules/aniso8601 { };

anitopy = callPackage ../development/python-modules/anitopy { };

annexremote = callPackage ../development/python-modules/annexremote { };

annotated-types = callPackage ../development/python-modules/annotated-types { };
Expand Down