mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #240329 from PassiveLemon/animdl-pr
This commit is contained in:
commit
d35201a893
@ -13949,6 +13949,18 @@
|
||||
githubId = 6931743;
|
||||
name = "pasqui23";
|
||||
};
|
||||
passivelemon = {
|
||||
email = "jeremyseber@gmail.com";
|
||||
github = "PassiveLemon";
|
||||
githubId = 72527881;
|
||||
name = "PassiveLemon";
|
||||
};
|
||||
patricksjackson = {
|
||||
email = "patrick@jackson.dev";
|
||||
github = "patricksjackson";
|
||||
githubId = 160646;
|
||||
name = "Patrick Jackson";
|
||||
};
|
||||
patryk27 = {
|
||||
email = "pwychowaniec@pm.me";
|
||||
github = "Patryk27";
|
||||
|
63
pkgs/applications/video/animdl/default.nix
Normal file
63
pkgs/applications/video/animdl/default.nix
Normal file
@ -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" ];
|
||||
};
|
||||
}
|
26
pkgs/development/python-modules/anchor-kr/default.nix
Normal file
26
pkgs/development/python-modules/anchor-kr/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub
|
||||
}:
|
||||
buildPythonPackage {
|
||||
pname = "anchor";
|
||||
version = "3";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
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
pkgs/development/python-modules/anitopy/default.nix
Normal file
26
pkgs/development/python-modules/anitopy/default.nix
Normal file
@ -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;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for parsing anime video filenames";
|
||||
homepage = "https://github.com/igorcmoura/anitopy";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ passivelemon ];
|
||||
};
|
||||
}
|
@ -42132,4 +42132,6 @@ with pkgs;
|
||||
mdhtml = callPackage ../tools/text/mdhtml { };
|
||||
|
||||
insulator2 = callPackage ../applications/misc/insulator2 {};
|
||||
|
||||
animdl = python3Packages.callPackage ../applications/video/animdl { };
|
||||
}
|
||||
|
@ -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 { };
|
||||
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user