summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/sshfs/package.py
blob: 36dc287f873d5b1ae86795c21ab35a6fe9a690cc (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
# 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 Sshfs(MesonPackage):
    """SSHFS allows you to mount a remote filesystem using SFTP."""

    homepage = "https://github.com/libfuse/sshfs"
    url = "https://github.com/libfuse/sshfs/releases/download/sshfs-3.7.1/sshfs-3.7.1.tar.xz"
    git = "https://github.com/libfuse/sshfs.git"

    maintainers("haampie")

    license("GPL-2.0-or-later")

    version("3.7.1", sha256="fe5d3436d61b46974889e0c4515899c21a9d67851e3793c209989f72353d7750")

    depends_on("glib")
    depends_on("fuse@3.1.0:")

    # used for libfuse; when libfuse is external, make sure that pkgconfig is
    # external too, since spack's pkgconfig might not be able to locate libfuse.
    depends_on("pkgconfig", type="build")