python312Packages.scholarly: init at 1.7.11

This commit is contained in:
seth
2025-03-15 12:23:38 -04:00
committed by Seth Flynn
parent 3f66e7e71c
commit 75cf9bd326
2 changed files with 71 additions and 0 deletions
@@ -0,0 +1,69 @@
{
lib,
arrow,
beautifulsoup4,
bibtexparser,
buildPythonPackage,
deprecated,
fake-useragent,
fetchFromGitHub,
free-proxy,
httpx,
python-dotenv,
requests,
selenium,
setuptools,
sphinx-rtd-theme,
stem,
typing-extensions,
wheel,
}:
buildPythonPackage rec {
pname = "scholarly";
version = "1.7.11";
pyproject = true;
src = fetchFromGitHub {
owner = "scholarly-python-package";
repo = "scholarly";
tag = "v${version}";
hash = "sha256-yvew63tGwSjwseHK7wDqm26xiyCztUzxMqBpwwLD798=";
};
build-system = [
setuptools
wheel
];
dependencies = [
arrow
beautifulsoup4
bibtexparser
deprecated
fake-useragent
free-proxy
httpx
python-dotenv
requests
selenium
sphinx-rtd-theme
typing-extensions
];
optional-dependencies = {
tor = [ stem ];
};
nativeCheckInputs = lib.flatten (lib.attrValues optional-dependencies);
pythonImportsCheck = [ "scholarly" ];
meta = {
description = "Retrieve author and publication information from Google Scholar";
homepage = "https://scholarly.readthedocs.io/";
changelog = "https://github.com/scholarly-python-package/scholarly/releases/tag/${src.tag}";
license = lib.licenses.unlicense;
maintainers = with lib.maintainers; [ getchoo ];
};
}
+2
View File
@@ -14850,6 +14850,8 @@ self: super: with self; {
schiene = callPackage ../development/python-modules/schiene { };
scholarly = callPackage ../development/python-modules/scholarly { };
schwifty = callPackage ../development/python-modules/schwifty { };
scienceplots = callPackage ../development/python-modules/scienceplots { };