oxide-rs: new-package
This commit is contained in:
parent
3c64821c64
commit
022ae8503a
@ -50,6 +50,17 @@ class CargoBuilder(BuilderWithDefaults):
|
|||||||
|
|
||||||
phases = ("build", "install")
|
phases = ("build", "install")
|
||||||
|
|
||||||
|
#: Names associated with package methods in the old build-system format
|
||||||
|
legacy_methods = ("check", "installcheck")
|
||||||
|
|
||||||
|
#: Names associated with package attributes in the old build-system format
|
||||||
|
legacy_attributes = (
|
||||||
|
"build_args",
|
||||||
|
"check_args",
|
||||||
|
"build_directory",
|
||||||
|
"install_time_test_callbacks",
|
||||||
|
)
|
||||||
|
|
||||||
#: Callback names for install-time test
|
#: Callback names for install-time test
|
||||||
install_time_test_callbacks = ["check"]
|
install_time_test_callbacks = ["check"]
|
||||||
|
|
||||||
|
21
var/spack/repos/builtin/packages/oxide-rs/package.py
Normal file
21
var/spack/repos/builtin/packages/oxide-rs/package.py
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# 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 OxideRs(CargoPackage):
|
||||||
|
"""The Oxide CLI"""
|
||||||
|
|
||||||
|
homepage = "https://github.com/oxidecomputer/oxide.rs"
|
||||||
|
git = "https://github.com/oxidecomputer/oxide.rs.git"
|
||||||
|
|
||||||
|
maintainers("alecbcs")
|
||||||
|
|
||||||
|
license("MPL-2.0", checked_by="alecbcs")
|
||||||
|
|
||||||
|
version("0.9.0", tag="v0.9.0+20241204.0.0", commit="cb25407df4e8bb4f33eb3b110d271cd8cd6dc16d")
|
||||||
|
|
||||||
|
build_directory = "cli"
|
Loading…
Reference in New Issue
Block a user