summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2022-09-12 05:20:16 -0400
committerGitHub <noreply@github.com>2022-09-12 11:20:16 +0200
commitf7fbfc54b341b8bda3e30cb196c1b71e2ec3f68a (patch)
tree55b24c122b2043806928b77aaebbcad36ef1224a
parent0bc9dbe6f81003d4793460636d3147b6dfb33c82 (diff)
downloadspack-f7fbfc54b341b8bda3e30cb196c1b71e2ec3f68a.tar.gz
spack-f7fbfc54b341b8bda3e30cb196c1b71e2ec3f68a.tar.bz2
spack-f7fbfc54b341b8bda3e30cb196c1b71e2ec3f68a.tar.xz
spack-f7fbfc54b341b8bda3e30cb196c1b71e2ec3f68a.zip
routinator: add new package (#32532)
-rw-r--r--var/spack/repos/builtin/packages/routinator/package.py26
1 files changed, 26 insertions, 0 deletions
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", ".")