nixpkgs/pkgs/tools/filesystems/sftpman/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
646 B
Nix
Raw Normal View History

2020-10-26 12:08:39 -04:00
{ lib, python3Packages, fetchFromGitHub }:
python3Packages.buildPythonApplication rec {
pname = "sftpman";
2022-06-02 20:04:59 -04:00
version = "1.2.2";
2020-10-26 12:08:39 -04:00
src = fetchFromGitHub {
owner = "spantaleev";
repo = pname;
rev = version;
2022-06-02 20:04:59 -04:00
hash = "sha256-YxqN4+u0nYUWehbyRhjddIo2sythH3E0fiPSyrUlWhM=";
2020-10-26 12:08:39 -04: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 ];
2023-11-23 16:09:35 -05:00
mainProgram = "sftpman";
2020-10-26 12:08:39 -04:00
};
}