summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2021-03-30 19:16:54 +0200
committerGitHub <noreply@github.com>2021-03-30 11:16:54 -0600
commit37b439152d9492ada99be880db99eaefa603924c (patch)
tree507448b53e8b9aa6b3bf88bdbc15492446def6bb
parent176c27f194af7bba28c365ed9954d75da082ac74 (diff)
downloadspack-37b439152d9492ada99be880db99eaefa603924c.tar.gz
spack-37b439152d9492ada99be880db99eaefa603924c.tar.bz2
spack-37b439152d9492ada99be880db99eaefa603924c.tar.xz
spack-37b439152d9492ada99be880db99eaefa603924c.zip
Add sshfs (#22636)
-rw-r--r--var/spack/repos/builtin/packages/sshfs/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/sshfs/package.py b/var/spack/repos/builtin/packages/sshfs/package.py
new file mode 100644
index 0000000000..6145b9a16e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/sshfs/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 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 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']
+
+ version('3.7.1', sha256='fe5d3436d61b46974889e0c4515899c21a9d67851e3793c209989f72353d7750')
+
+ depends_on('glib')
+ depends_on('libfuse@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')