mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 06:05:13 +00:00
34 lines
688 B
Nix
34 lines
688 B
Nix
|
{ 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 ];
|
||
|
};
|
||
|
}
|