aboutsummaryrefslogtreecommitdiff
path: root/packages/pymongo.scm
blob: 0502c4a77a03764a3daf5284d5f992aadcee80ca (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
(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