blob: 5648c0c24792ee3bdc71f7ed418a541c94cc1f04 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Copyright 2013-2024 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"
license("MIT")
version("0.3.1", sha256="0e55fd713d92c5c1ccfee778efecaa780fd8bcd276d4ca7aff9f6791f6f76d9c")
depends_on("python@3.7:", type=("build", "run"))
depends_on("py-hatchling@0.21:", type=("build", "run"))
|