Merge pull request #260105 from arkivm/init-arxiv-cleaner

arxiv-latex-cleaner: init at v1.0.1

authored by

markuskowa and committed by
GitHub
edcfe34e a68655c5

+36
+36
pkgs/by-name/ar/arxiv-latex-cleaner/package.nix
··· 1 + { lib 2 + , python3 3 + , python3Packages 4 + , fetchFromGitHub 5 + }: 6 + python3Packages.buildPythonApplication rec { 7 + pname = "arxiv-latex-cleaner"; 8 + version = "1.0.1"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "google-research"; 12 + repo = "arxiv-latex-cleaner"; 13 + rev = "v${version}"; 14 + hash = "sha256-1IWSDKEoAM4hBKAEEcPq7X89WYDprifDL2GTEJQtdcQ="; 15 + }; 16 + 17 + propagatedBuildInputs = with python3Packages; [ 18 + pillow 19 + pyyaml 20 + regex 21 + absl-py 22 + ]; 23 + 24 + checkPhase = '' 25 + runHook preCheck 26 + ${python3.interpreter} -m unittest arxiv_latex_cleaner.tests.arxiv_latex_cleaner_test 27 + runHook postCheck 28 + ''; 29 + 30 + meta = with lib; { 31 + homepage = "https://github.com/google-research/arxiv-latex-cleaner"; 32 + description = "Easily clean the LaTeX code of your paper to submit to arXiv"; 33 + license = licenses.asl20; 34 + maintainers = with maintainers; [ arkivm ]; 35 + }; 36 + }