Skip to content

Commit

Permalink
py-dataclasses-json: add new package (spack#39493)
Browse files Browse the repository at this point in the history
* [py-dataclasses-json] New package

* [py-dataclasses-json] limiting py-poetry-core versions
  • Loading branch information
qwertos authored Sep 2, 2023
1 parent 260e735 commit d367b42
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions var/spack/repos/builtin/packages/py-dataclasses-json/package.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2013-2023 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.package import *


class PyDataclassesJson(PythonPackage):
"""Easily serialize dataclasses to and from JSON."""

homepage = "https://github.com/lidatong/dataclasses-json"
pypi = "dataclasses_json/dataclasses_json-0.5.12.tar.gz"

version("0.5.12", sha256="70e28da52e36f4be6b724e1f1e77fbcd19e0e0a6bf9a4c4c6e5abf713d4dab5a")

depends_on("[email protected]:3.11", type=("build", "run"))
depends_on("[email protected]:", type="build")
depends_on("[email protected]:0", type=("build", "run"))
depends_on("[email protected]:3", type=("build", "run"))

0 comments on commit d367b42

Please sign in to comment.