spack/var/spack/repos/builtin/packages/py-hatch-nodejs-version/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

19 lines
681 B
Python

# 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 PyHatchNodejsVersion(PythonPackage):
"""Hatch plugin for versioning from a package.json file."""
homepage = "https://github.com/agoose77/hatch-nodejs-version"
pypi = "hatch_nodejs_version/hatch_nodejs_version-0.3.1.tar.gz"
version("0.3.1", sha256="0e55fd713d92c5c1ccfee778efecaa780fd8bcd276d4ca7aff9f6791f6f76d9c")
depends_on("python@3.7:", type=("build", "run"))
depends_on("py-hatchling@0.21:", type=("build", "run"))