diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-08-08 21:34:52 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-08-11 09:35:28 +0000 |
commit | 15e96bd4d24a0e8b2f8c9411d7f42e2fefb71e99 (patch) | |
tree | 7c159712eac5c88bf1eecad4bef124bbb20df8c4 /pkgs/tools/filesystems/sshfs-fuse | |
parent | 311304155fd2625ca7f53b267879993cfd64e2ff (diff) |
sshfs-fuse: use checkInputs, fix tests
Diffstat (limited to 'pkgs/tools/filesystems/sshfs-fuse')
-rw-r--r-- | pkgs/tools/filesystems/sshfs-fuse/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/sshfs-fuse/default.nix b/pkgs/tools/filesystems/sshfs-fuse/default.nix index 6d95d5ee12b52..b7cccae0f38d3 100644 --- a/pkgs/tools/filesystems/sshfs-fuse/default.nix +++ b/pkgs/tools/filesystems/sshfs-fuse/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, meson, pkgconfig, ninja, glib, fuse3 -, docutils +, docutils, which, python3Packages }: stdenv.mkDerivation rec { @@ -25,6 +25,12 @@ stdenv.mkDerivation rec { ln -sf $out/bin/sshfs $out/sbin/mount.sshfs ''; + checkInputs = [ which ] ++ (with python3Packages; [ python pytest ]); + + checkPhase = '' + python3 -m pytest test/ + ''; + meta = with stdenv.lib; { inherit (src.meta) homepage; description = "FUSE-based filesystem that allows remote filesystems to be mounted over SSH"; |