1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, mock
5, psutil
6, pyopenssl
7, pysendfile
8}:
9
10buildPythonPackage rec {
11 version = "1.5.5";
12 pname = "pyftpdlib";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "1adf1c03d1508749e7c2f26dc9850ec0ef834318d725b7ae5ac91698f5c86752";
17 };
18
19 checkInputs = [ mock psutil ];
20 propagatedBuildInputs = [ pyopenssl pysendfile ];
21
22 # impure filesystem-related tests cause timeouts
23 # on Hydra: https://hydra.nixos.org/build/84374861
24 doCheck = false;
25
26 meta = with stdenv.lib; {
27 homepage = https://github.com/giampaolo/pyftpdlib/;
28 description = "Very fast asynchronous FTP server library";
29 license = licenses.mit;
30 maintainers = [ maintainers.costrouc ];
31 };
32}