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) | |
download | nixpkgs-15e96bd4d24a0e8b2f8c9411d7f42e2fefb71e99.tar nixpkgs-15e96bd4d24a0e8b2f8c9411d7f42e2fefb71e99.tar.gz nixpkgs-15e96bd4d24a0e8b2f8c9411d7f42e2fefb71e99.tar.bz2 nixpkgs-15e96bd4d24a0e8b2f8c9411d7f42e2fefb71e99.tar.lz nixpkgs-15e96bd4d24a0e8b2f8c9411d7f42e2fefb71e99.tar.xz nixpkgs-15e96bd4d24a0e8b2f8c9411d7f42e2fefb71e99.tar.zst nixpkgs-15e96bd4d24a0e8b2f8c9411d7f42e2fefb71e99.zip |
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 6d95d5ee12b..b7cccae0f38 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"; |