2018-10-10 20:01:14 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, mock
|
|
|
|
, psutil
|
|
|
|
, pyopenssl
|
|
|
|
, pysendfile
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-02-21 06:30:30 +00:00
|
|
|
version = "1.5.6";
|
2018-10-10 20:01:14 +01:00
|
|
|
pname = "pyftpdlib";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-02-21 06:30:30 +00:00
|
|
|
sha256 = "0pnv2byzmzg84q5nmmhn1xafvfil85qa5y52bj455br93zc5b9px";
|
2018-10-10 20:01:14 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ mock psutil ];
|
|
|
|
propagatedBuildInputs = [ pyopenssl pysendfile ];
|
|
|
|
|
2018-11-26 01:25:26 +00:00
|
|
|
# impure filesystem-related tests cause timeouts
|
|
|
|
# on Hydra: https://hydra.nixos.org/build/84374861
|
|
|
|
doCheck = false;
|
2018-10-10 20:01:14 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/giampaolo/pyftpdlib/";
|
2018-10-10 20:01:14 +01:00
|
|
|
description = "Very fast asynchronous FTP server library";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|