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

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

26 lines
617 B
Nix
Raw Normal View History

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