aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/tools/filesystems/sftpman/default.nix
blob: e89012b76f63834c35647990d41fb4a696a81ce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 ];
  };
}