summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-rtoml/package.py
blob: 496201ea242fb7a7c0ab1d6c1ed337d892e83ce2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 PyRtoml(PythonPackage):
    """A better TOML library for python implemented in rust."""

    homepage = "https://github.com/samuelcolvin/rtoml"
    pypi = "rtoml/rtoml-0.9.0.tar.gz"

    license("MIT")

    version("0.9.0", sha256="113f2e133d152d9424269c475b4a7d0679987078b543e88fcb16c870dc2c460d")

    depends_on("rust", type="build")
    depends_on("py-maturin@0.13", type="build")