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