summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-avro-json-serializer/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-avro-json-serializer/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-avro-json-serializer/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-avro-json-serializer/package.py b/var/spack/repos/builtin/packages/py-avro-json-serializer/package.py
new file mode 100644
index 0000000000..52f98286e5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-avro-json-serializer/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2018 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"
+ url = "https://github.com/linkedin/python-avro-json-serializer/archive/0.4.tar.gz"
+
+ version('0.4', 'ee32f415e03820653cf8477bf5bfc779')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-simplejson', type=('build', 'run'))
+ depends_on('py-avro', type=('build', 'run'))