sendme: new package (#49133)

* add sendme package

* style fix

* add docstring for test function

* changed maintainer string, run test after install

* removed redundant test

* Follow the common package license header format

Co-authored-by: Alec Scott <hi@alecbcs.com>

---------

Co-authored-by: Alec Scott <hi@alecbcs.com>
This commit is contained in:
Ritwik Patil 2025-02-27 08:59:09 -08:00 committed by GitHub
parent 2dea0073b2
commit 24abc3294a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,21 @@
# Copyright Spack Project Developers. See COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class Sendme(CargoPackage):
"""A cli tool to send directories over the network, with NAT hole punching"""
homepage = "https://www.iroh.computer/sendme"
git = "https://github.com/n0-computer/sendme.git"
maintainers("draguve")
license("Apache-2.0 OR MIT")
version("main", branch="main")
version("0.23.0", tag="v0.23.0", commit="39f6111d8c3a973ea1f54a3c47aad07014de854b")
sanity_check_is_file = [join_path("bin", "sendme")]