summary refs log tree commit diff
path: root/pkgs/tools/filesystems
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2020-11-26 02:10:09 +0100
committerGitHub <noreply@github.com>2020-11-26 02:10:09 +0100
commitb5edb50fe7d52a1e299b6b28a41b2a2cddb2aab8 (patch)
treed5bf77f1fae75532a0c7d70c73e6f5a7746ee421 /pkgs/tools/filesystems
parent9b3868b960315a82795463a97e95863998ba523b (diff)
parent5475bdc4b1d29c7b42aa7fa77f0a7edbc90860ac (diff)
downloadnixpkgs-b5edb50fe7d52a1e299b6b28a41b2a2cddb2aab8.tar
nixpkgs-b5edb50fe7d52a1e299b6b28a41b2a2cddb2aab8.tar.gz
nixpkgs-b5edb50fe7d52a1e299b6b28a41b2a2cddb2aab8.tar.bz2
nixpkgs-b5edb50fe7d52a1e299b6b28a41b2a2cddb2aab8.tar.lz
nixpkgs-b5edb50fe7d52a1e299b6b28a41b2a2cddb2aab8.tar.xz
nixpkgs-b5edb50fe7d52a1e299b6b28a41b2a2cddb2aab8.tar.zst
nixpkgs-b5edb50fe7d52a1e299b6b28a41b2a2cddb2aab8.zip
Merge pull request #101774 from contrun/sftpman
sftpman: init at 1.1.3
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r--pkgs/tools/filesystems/sftpman/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/sftpman/default.nix b/pkgs/tools/filesystems/sftpman/default.nix
new file mode 100644
index 00000000000..e89012b76f6
--- /dev/null
+++ b/pkgs/tools/filesystems/sftpman/default.nix
@@ -0,0 +1,25 @@
+{ lib, python3Packages, fetchFromGitHub }:
+
+python3Packages.buildPythonApplication rec {
+  pname = "sftpman";
+  version = "1.1.3";
+
+  src = fetchFromGitHub {
+    owner = "spantaleev";
+    repo = pname;
+    rev = version;
+    sha256 = "04awwwfw51fi1q18xdysp54jyhr0rhb4kfyrgv0vhhrlpwwyhnqy";
+  };
+
+  checkPhase = ''
+    $out/bin/sftpman help
+  '';
+
+  meta = with lib; {
+    homepage = "https://github.com/spantaleev/sftpman";
+    description = "Application that handles sshfs/sftp file systems mounting";
+    license = licenses.gpl3;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [ contrun ];
+  };
+}