From f7fbfc54b341b8bda3e30cb196c1b71e2ec3f68a Mon Sep 17 00:00:00 2001 From: Andrew W Elble Date: Mon, 12 Sep 2022 05:20:16 -0400 Subject: routinator: add new package (#32532) --- .../repos/builtin/packages/routinator/package.py | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 var/spack/repos/builtin/packages/routinator/package.py diff --git a/var/spack/repos/builtin/packages/routinator/package.py b/var/spack/repos/builtin/packages/routinator/package.py new file mode 100644 index 0000000000..c3dec353fd --- /dev/null +++ b/var/spack/repos/builtin/packages/routinator/package.py @@ -0,0 +1,26 @@ +# Copyright 2013-2022 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.11.2", + sha256="00f825c53168592da0285e8dbd228018e77248d458214a2c0f86cd0ca45438f5", + ) + + depends_on("rust@1.56:") + + def install(self, spec, prefix): + cargo = which("cargo") + cargo("install", "--root", prefix, "--path", ".") -- cgit v1.2.3-70-g09d2