Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
901 B · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchPypi, mock, psutil, pyopenssl, pysendfile, pythonOlder}:
buildPythonPackage rec { pname = "pyftpdlib"; version = "1.5.9"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-Mj1MQvFAau203xj69oD2TzLAgP9m9sJgkLpZL1v8Sg8="; };
propagatedBuildInputs = [ pysendfile ];
passthru.optional-dependencies = { ssl = [ pyopenssl ]; };
nativeCheckInputs = [ mock psutil ];
# Impure filesystem-related tests cause timeouts # on Hydra: https://hydra.nixos.org/build/84374861 doCheck = false;
pythonImportsCheck = [ "pyftpdlib" ];
meta = with lib; { description = "Asynchronous FTP server library"; homepage = "https://github.com/giampaolo/pyftpdlib/"; license = licenses.mit; maintainers = with maintainers; [ ]; };}