From 6ff0e43d4ef80b81599cb66432f80784deefc704 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 24 Jul 2022 13:30:24 +0200 Subject: [PATCH] gnu: Add python-types-orjson. * gnu/packages/python-xyz.scm (python-types-orjson): New variable. --- gnu/packages/python-xyz.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5eac85affe..60f2df85f1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30464,3 +30464,21 @@ (define-public python-rcslice slice file content line by line or column by column or a combination of both.") (license license:bsd-3))) + +(define-public python-types-orjson + (package + (name "python-types-orjson") + (version "3.6.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "types-orjson" version)) + (sha256 + (base32 + "0f66lf2qrl9d4vad42db3dmnzv89h4rr05r5zxx5qcl6kb3zr6ng")))) + (build-system python-build-system) + (home-page "https://github.com/python/typeshed") + (synopsis "Typing stubs for orjson") + (description "This is a PEP 561 type stub package for the @code{orjson} +package. It can be used by type-checking tools like mypy, PyCharm, pytype +etc. to check code that uses @code{orjson}.") + (license license:asl2.0)))