pythonPackages.pyftpdlib: init at 1.5.4

This commit is contained in:
Chris Ostrouchov 2018-10-10 15:01:14 -04:00
parent 3287e88cf0
commit 77c1ca887b
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, mock
, psutil
, pyopenssl
, pysendfile
, python
}:
buildPythonPackage rec {
version = "1.5.4";
pname = "pyftpdlib";
src = fetchPypi {
inherit pname version;
sha256 = "e5fca613978743d41c3bfc68e25a811d646a3b8a9eee9eb07021daca89646a0f";
};
checkInputs = [ mock psutil ];
propagatedBuildInputs = [ pyopenssl pysendfile ];
checkPhase = ''
${python.interpreter} pyftpdlib/test/runner.py
'';
meta = with stdenv.lib; {
homepage = https://github.com/giampaolo/pyftpdlib/;
description = "Very fast asynchronous FTP server library";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -3857,6 +3857,8 @@ in {
pydotplus = callPackage ../development/python-modules/pydotplus { };
pyftpdlib = callPackage ../development/python-modules/pyftpdlib { };
pyfxa = callPackage ../development/python-modules/pyfxa { };
pyhomematic = callPackage ../development/python-modules/pyhomematic { };