Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 33 lines 736 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, mock 5, psutil 6, pyopenssl 7, pysendfile 8, python 9}: 10 11buildPythonPackage rec { 12 version = "1.5.4"; 13 pname = "pyftpdlib"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "e5fca613978743d41c3bfc68e25a811d646a3b8a9eee9eb07021daca89646a0f"; 18 }; 19 20 checkInputs = [ mock psutil ]; 21 propagatedBuildInputs = [ pyopenssl pysendfile ]; 22 23 # impure filesystem-related tests cause timeouts 24 # on Hydra: https://hydra.nixos.org/build/84374861 25 doCheck = false; 26 27 meta = with stdenv.lib; { 28 homepage = https://github.com/giampaolo/pyftpdlib/; 29 description = "Very fast asynchronous FTP server library"; 30 license = licenses.mit; 31 maintainers = [ maintainers.costrouc ]; 32 }; 33}