~ruther/guix-local

5024f061e4ca4939567e6ba667499b6713952b21 — Ricardo Wurmus 1 year, 4 months ago ff0d592
gnu: Add python-devpi-server.

* gnu/packages/python-web.scm (python-devpi-server): New variable.

Change-Id: I5ca0e39595f2081f4a71bc0bc71106cac1508ce4
1 files changed, 48 insertions(+), 0 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +48 -0
@@ 168,6 168,54 @@
devpi-client and others.")
    (license license:expat)))

(define-public python-devpi-server
  (package
    (name "python-devpi-server")
    (version "6.14.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "devpi-server" version))
       (sha256
        (base32 "08smfjhnvqj68fp45gzqm9axjcgnksc0z31v48llivnzlxwf8cmr"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:test-flags
      ;; These all fail with: "module 'py' has no attribute 'io'"
      '(list "--ignore=test_devpi_server/test_importexport.py"
             "--ignore=test_devpi_server/test_main.py"
             "--ignore=test_devpi_server/test_genconfig.py")))
    (propagated-inputs (list python-argon2-cffi
                             python-attrs
                             python-defusedxml
                             python-devpi-common
                             python-httpx
                             python-itsdangerous
                             python-lazy
                             python-legacy-cgi
                             python-passlib
                             python-platformdirs
                             python-pluggy
                             python-py
                             python-pyramid
                             python-repoze-lru
                             python-ruamel.yaml
                             python-strictyaml
                             python-waitress))
    (native-inputs
     (list python-execnet
           python-pytest
           python-pytest-timeout
           python-setuptools
           python-webtest
           python-wheel))
    (home-page "https://devpi.net")
    (synopsis "Pypi.org caching server")
    (description "This package implements a reliable private and pypi.org
caching server.")
    (license license:expat)))

(define-public python-huggingface-hub
  (package
    (name "python-huggingface-hub")