aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/tools/filesystems/sftpman/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/tools/filesystems/sftpman/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/tools/filesystems/sftpman/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/tools/filesystems/sftpman/default.nix b/infra/libkookie/nixpkgs/pkgs/tools/filesystems/sftpman/default.nix
new file mode 100644
index 000000000000..e89012b76f63
--- /dev/null
+++ b/infra/libkookie/nixpkgs/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 ];
+ };
+}