summaryrefslogtreecommitdiff
path: root/crn/packages/python-xyz.scm
blob: db5ad46894dc2853cd805a9701a0d74257abe0f8 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
(define-module (crn packages python-xyz))
(use-modules (crn packages)
	     (guix build utils)
	     (guix download)
	     (guix gexp)
	     (guix packages)
	     (guix licenses)
	     (guix build-system python)
	     (guix build-system pyproject)
	     ((gnu packages) #:prefix gnu:)
	     (gnu packages check)
	     (gnu packages python-build)
	     (gnu packages python-check)
	     (gnu packages python-xyz)
	     (gnu packages python-web))

(define-public python-typeguard
  (package
    (name "python-typeguard")
    (version "2.13.3")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "typeguard" version))
              (sha256
               (base32
                "1i5qzcyw2715h1g1hvj7fxykck2bkxyshpngjr3nfcx1lf6smv80"))
	      (patches (search-patches "typeguard-version.patch"))))
    (build-system python-build-system)
    (native-inputs (list python-mypy python-pytest python-typing-extensions))
    (home-page "")
    (synopsis "Run-time type checker for Python")
    (description "Run-time type checker for Python")
    (license expat)))

(define-public python-lsprotocol
  (package
    (name "python-lsprotocol")
    (version "2022.0.0a10")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "lsprotocol" version))
              (sha256
               (base32
		"0l1wg3hp5agvy8dy5345bq7yll7xxxji4xp37sgrgv54nxq8gmrc"))))
    (build-system pyproject-build-system)
    (native-inputs (list python-flit-core))
    (inputs (list python-attrs))
    (propagated-inputs (list python-attrs python-cattrs))
    (home-page "")
    (synopsis "Python implementation of the Language Server Protocol.")
    (description "Python implementation of the Language Server Protocol.")
    (license expat)
    (arguments
     (list #:phases
	   #~(modify-phases %standard-phases
	     (delete 'check))))))

(define-public python-gls
  (package
   (name "python-gls")
   (version "1.0.1")
   (source (origin
	    (method url-fetch)
	    (uri "https://files.pythonhosted.org/packages/8e/27/58ff0f76b379fc11a1d03e8d4b4e96fd0abb463d27709a7fb4193bcdbbc4/pygls-1.0.1.tar.gz")
	    (sha256
             (base32
              "1clcnx1s9knh6dgmf4ykrca7yq19w6kjphsvfmffp426pgfrivpk"))))
   (build-system python-build-system)
   (native-inputs (list python-toml python-setuptools-scm python-wheel python-typeguard))
   (propagated-inputs (list python-lsprotocol))
   (home-page "https://github.com/openlawlibrary/pygls")
   (synopsis "A pythonic generic lanuage server.")
   (description "pygls (pronounced like \"pie glass\") is a pythonic generic implementation of the Language Server Protocol for use as a foundation for writing your own Language Servers in just a few lines of code.")
   (license asl2.0)
   (arguments
    (list
     #:phases
     #~(modify-phases %standard-phases
		      (delete 'check))))))

(define-public python-attrs
  (package
  (name "python-attrs")
  (version "22.2.0")
  (source (origin
            (method url-fetch)
            (uri (pypi-uri "attrs" version))
            (sha256
             (base32
              "16az31ccld8s3xj7q1iw6a402sf92lfpvcwdyq1kr6815zy7n8n9"))))
  (build-system python-build-system)
  (native-inputs (list 
                       python-cloudpickle
                       python-hypothesis
                       python-mypy
                       python-pympler
                       python-zope-interface))
  (home-page "https://www.attrs.org/")
  (synopsis "Classes Without Boilerplate")
  (description "Classes Without Boilerplate")
  (license expat)
  (arguments
   (list #:phases
	 #~(modify-phases %standard-phases
			  (delete 'check))))))

(define-public python-cattrs
(package
  (name "python-cattrs")
  (version "22.2.0")
  (source (origin
            (method url-fetch)
            (uri (pypi-uri "cattrs" version))
            (sha256
             (base32
              "0vfggbggsdni4hdis17xr8z9cnyw5klnrdp7avv3qhlr4djdbvph"))))
  (build-system python-build-system)
  (propagated-inputs (list python-attrs python-exceptiongroup
                           python-typing-extensions))
  (home-page "https://github.com/python-attrs/cattrs")
  (synopsis "Composable complex class support for attrs and dataclasses.")
  (description "Composable complex class support for attrs and dataclasses.")
  (license expat)))