summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-avro-json-serializer/package.py
blob: 24bd623179d77dc0fe13bc2cada2e6f7a63eba80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class PyAvroJsonSerializer(PythonPackage):
    """Serializes data into a JSON format using AVRO schema."""

    homepage = "https://github.com/linkedin/python-avro-json-serializer"
    pypi = "avro_json_serializer/avro_json_serializer-0.4.tar.gz"

    version('0.4',  sha256='f9dac2dac92036c5dd5aba8c716545fc0a0630cc365a51ab15bc2ac47eac28f1')

    depends_on('py-setuptools', type='build')
    depends_on('py-simplejson', type=('build', 'run'))
    depends_on('py-avro', type=('build', 'run'))