(define-module (python-packages python-papis) #:use-module (guix packages) #:use-module (gnu packages) #:use-module (gnu packages python-check) #:use-module (gnu packages check) #:use-module (gnu packages sphinx) #:use-module (gnu packages openstack) #:use-module (gnu packages xml) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages python-build) ; #:use-module (gnu packages build-tools) #:use-module (guix download) #:use-module (guix build-system pyproject) ; #:use-module (guix build-system python) #:use-module (guix licenses) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:export (python-papis) ) ;; a garder (define-public python-types-pygments (package (name "python-types-pygments") (version "2.21.0.20260819") (source (origin (method url-fetch) (uri (pypi-uri "types_pygments" version)) (sha256 (base32 "16z8yx6csv53mliqc5g19305162x7cahmqs3r20vc22v24kwpq38")))) (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; no tests (native-inputs (list python-setuptools)) (home-page "https://github.com/python/typeshed") (synopsis "Typing stubs for Pygments") (description "Typing stubs for Pygments") (license #f))) ;; a garder (define-public python-types-html5lib (package (name "python-types-html5lib") (version "1.1.11.20260518") (source (origin (method url-fetch) (uri (pypi-uri "types_html5lib" version)) (sha256 (base32 "1yp8xbcd8bkkidmn3ycamyg1yl1b7hra9v409ifdc68irf3w0csg")))) (build-system pyproject-build-system) (propagated-inputs (list python-types-webencodings)) (arguments (list #:tests? #f)) ; no tests (native-inputs (list python-wheel python-setuptools)) (home-page "https://github.com/python/typeshed") (synopsis "Typing stubs for html5lib") (description "Typing stubs for html5lib") (license #f))) ;; a garder (define-public python-types-beautifulsoup4 (package (name "python-types-beautifulsoup4") (version "4.12.0.20250516") (source (origin (method url-fetch) (uri (pypi-uri "types_beautifulsoup4" version)) (sha256 (base32 "0zj1gg3mqhaknmfpvyz60z2lbjd0p25dm4nzd8lxcw1vndrxs6da")))) (build-system pyproject-build-system) (propagated-inputs (list python-types-html5lib)) (arguments (list #:tests? #f)) ; no tests (native-inputs (list python-setuptools)) (home-page "https://github.com/python/typeshed") (synopsis "Typing stubs for beautifulsoup4") (description "Typing stubs for beautifulsoup4") (license #f))) (define-public python-types-webencodings (package (name "python-types-webencodings") (version "0.6.0.20260827") (source (origin (method url-fetch) (uri (pypi-uri "types_webencodings" version)) (sha256 (base32 "0hfg0i7jjnz3dkngc1xfg2jmn96w51zi6yf4zccd7q0s2ilcxa5p")))) (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; no tests (native-inputs (list python-setuptools)) (home-page "https://github.com/python/typeshed") (synopsis "Typing stubs for webencodings") (description "Typing stubs for webencodings.") (license #f))) (define-public python-sphinx-lint (package (name "python-sphinx-lint") (version "1.0.2") (source (origin (method url-fetch) (uri (pypi-uri "sphinx_lint" version)) (sha256 (base32 "0d8x6x5nb4gqia1rrnmdjax8l7cvvgbkglmadq0b0l7p8hpw2zsf")))) (build-system pyproject-build-system) (propagated-inputs (list python-polib python-regex)) (native-inputs (list python-hatch-vcs python-hatchling python-pytest)) (home-page #f) (synopsis "Check for stylistic and formal issues in .rst and .py files included in the documentation.") (description "Check for stylistic and formal issues in .rst and .py files included in the documentation.") (license #f))) (define-public python-ruff (package (name "python-ruff") (version "0.16.5") (source (origin (method url-fetch) (uri (pypi-uri "ruff" version)) (sha256 (base32 "02q4yww9j670lcv15b4ac4yyr49f97wwk0h0vggb7jpvkw7m120v")))) (build-system pyproject-build-system) (native-inputs (list maturin python-puccinialin)) (home-page "https://docs.astral.sh/ruff") (synopsis "An extremely fast Python linter and code formatter, written in Rust.") (description "An extremely fast Python linter and code formatter, written in Rust.") (license #f))) (define-public python-papis (package (name "python-papis") (version "0.16.0") (source (origin (method url-fetch) (uri (pypi-uri "papis" version)) (sha256 (base32 "0x1w0lwq5ksskmrd8chn6c7mlchzjyzc0626n4fvsl5zfy843km7")))) (build-system pyproject-build-system) (arguments `(#:tests? #f #:phases (modify-phases %standard-phases (delete 'sanity-check)))) (propagated-inputs (list python-arxiv python-beautifulsoup4 python-bibtexparser python-click python-colorama python-dominate python-filetype python-habanero python-lark python-lxml python-platformdirs python-prompt-toolkit python-pygments python-doi python-slugify python-pyyaml python-requests)) (native-inputs (list python-hatchling python-pytest ruff python-sphinx-lint python-types-beautifulsoup4 python-types-docutils python-types-pygments python-types-pyyaml python-types-requests)) (home-page #f) (synopsis "Powerful and highly extensible command-line based document and bibliography manager") (description "Powerful and highly extensible command-line based document and bibliography manager.") (license #f)))