blob: 0b2bd94baab4a7558a58237fa69b590f4c5c721b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# 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 Routinator(Package):
"""An RPKI Validator and RTR server written in Rust"""
homepage = "https://nlnetlabs.nl/projects/rpki/about/"
url = "https://github.com/NLnetLabs/routinator/archive/refs/tags/v0.11.2.tar.gz"
maintainers("aweits")
version("0.12.1", sha256="8150fe544f89205bb2d65bca46388f055cf13971d3163fe17508bf231f9ab8bc")
version(
"0.11.2",
sha256="00f825c53168592da0285e8dbd228018e77248d458214a2c0f86cd0ca45438f5",
deprecated=True,
)
depends_on("rust@1.56:", when="@0.11.2")
depends_on("rust@1.63:", when="@0.12.1")
def install(self, spec, prefix):
cargo = which("cargo")
cargo("install", "--root", prefix, "--path", ".")
|