pythonPackages.pysftp: refactor move to python-modules
This commit is contained in:
committed by
Frederik Rietdijk
parent
aa553f98c0
commit
f3a01ad2c9
31
pkgs/development/python-modules/pysftp/default.nix
Normal file
31
pkgs/development/python-modules/pysftp/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPyPy
|
||||
, paramiko
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysftp";
|
||||
version = "0.2.9";
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0jl5qix5cxzrv4lb8rfpjkpcghbkacnxkb006ikn7mkl5s05mxgv";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ paramiko ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://bitbucket.org/dundeemt/pysftp;
|
||||
description = "A friendly face on SFTP";
|
||||
license = licenses.mit;
|
||||
longDescription = ''
|
||||
A simple interface to SFTP. The module offers high level abstractions
|
||||
and task based routines to handle your SFTP needs. Checkout the Cook
|
||||
Book, in the docs, to see what pysftp can do for you.
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user