2020-11-30 08:33:03 +00:00
|
|
|
{ lib, python3Packages, fetchFromGitHub }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "sftpman";
|
2022-06-26 10:26:21 +00:00
|
|
|
version = "1.2.2";
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "spantaleev";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-06-26 10:26:21 +00:00
|
|
|
hash = "sha256-YxqN4+u0nYUWehbyRhjddIo2sythH3E0fiPSyrUlWhM=";
|
2020-11-30 08:33:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "sftpman";
|
2020-11-30 08:33:03 +00:00
|
|
|
};
|
|
|
|
}
|