1{ lib
2, buildPythonPackage
3, fetchPypi
4, mock
5, psutil
6, pyopenssl
7, pysendfile
8}:
9
10buildPythonPackage rec {
11 version = "1.5.6";
12 pname = "pyftpdlib";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "0pnv2byzmzg84q5nmmhn1xafvfil85qa5y52bj455br93zc5b9px";
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 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}