(use-modules (gnu packages check) (gnu packages python-build) (gnu packages python-xyz) (guix build-system pyproject) (guix git-download) (guix gexp) ((guix licenses) #:prefix license:) (guix packages)) (define-public python-pymongo (package (name "python-pymongo") (version "4.16.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/mongodb/mongo-python-driver") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "192s9hbnpbra1qmar2md2szmbnvmzrnwwdp1zaiydzin1jj7k9wp")))) (build-system pyproject-build-system) (arguments (list #:tests? #f)) (native-inputs (list python-hatch-requirements-txt python-hatchling python-setuptools python-wheel)) (inputs (list python-dnspython)) (home-page "https://www.mongodb.org") (synopsis "PyMongo - the Official MongoDB Python driver") (description "@code{PyMongo} - the Official @code{MongoDB} Python driver.") (license license:asl2.0))) python-pymongo