-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
python311Packages.arxiv-latex-cleaner: init at 1.0.5 #301137
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,55 @@ | ||||||
{ lib | ||||||
, buildPythonPackage | ||||||
, setuptools-scm | ||||||
, pythonOlder | ||||||
, pythonRelaxDepsHook | ||||||
, fetchFromGitHub | ||||||
, pytestCheckHook | ||||||
, absl-py | ||||||
, pillow | ||||||
, pyyaml | ||||||
, regex | ||||||
}: | ||||||
|
||||||
buildPythonPackage rec { | ||||||
pname = "arxiv-latex-cleaner"; | ||||||
version = "1.0.5"; | ||||||
format = "pyproject"; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
disabled = pythonOlder "3.9"; | ||||||
|
||||||
src = fetchFromGitHub { | ||||||
owner = "google-research"; | ||||||
repo = "arxiv-latex-cleaner"; | ||||||
rev = "refs/tags/v${version}"; | ||||||
hash = "sha256-Yxp8XtlISVZfEjCEJ/EXsIGMCHDPOwPcjkJxECeXvYk="; | ||||||
}; | ||||||
|
||||||
nativeBuildInputs = [ | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
setuptools-scm | ||||||
pythonRelaxDepsHook | ||||||
]; | ||||||
|
||||||
propagatedBuildInputs = [ | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
absl-py | ||||||
pillow | ||||||
pyyaml | ||||||
regex | ||||||
]; | ||||||
|
||||||
nativeCheckInputs = [ | ||||||
pytestCheckHook | ||||||
]; | ||||||
|
||||||
pythonRelaxDeps = [ "absl_py" ]; | ||||||
|
||||||
pythonImportsCheck = [ "arxiv_latex_cleaner" ]; | ||||||
|
||||||
meta = { | ||||||
description = "This tool allows you to easily clean the LaTeX code of your paper to submit to arXiv."; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
homepage = "https://github.com/google-research/arxiv-latex-cleaner"; | ||||||
downloadPage = "https://github.com/google-research/arxiv-latex-cleaner/releases"; | ||||||
license = lib.licenses.asl20; | ||||||
maintainers = with lib.maintainers; [ chrispattison ]; | ||||||
}; | ||||||
} |
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
@@ -1,3 +1,4 @@ | ||||
|
||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
# This file contains the Python packages set. | ||||
# Each attribute is a Python library or a helper function. | ||||
# Expressions for Python libraries are supposed to be in `pkgs/development/python-modules/<name>/default.nix`. | ||||
|
@@ -765,6 +766,8 @@ self: super: with self; { | |||
|
||||
arviz = callPackage ../development/python-modules/arviz { }; | ||||
|
||||
arxiv-latex-cleaner = callPackage ../development/python-modules/arxiv-latex-cleaner { }; | ||||
|
||||
arxiv2bib = callPackage ../development/python-modules/arxiv2bib { }; | ||||
|
||||
asana = callPackage ../development/python-modules/asana { }; | ||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.