Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 40 lines 748 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 freezegun, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "ftputil"; 11 version = "5.1.0"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-6eYtP9MH75xS5Dsz/ZJ1n8lMBNi1F4+F9kGxg5BtQ1M="; 17 }; 18 19 nativeCheckInputs = [ 20 freezegun 21 pytestCheckHook 22 ]; 23 24 disabledTests = [ 25 # Tests require network access 26 "test_public_servers" 27 "test_real_ftp" 28 "test_set_parser" 29 "test_upload" 30 ]; 31 32 pythonImportsCheck = [ "ftputil" ]; 33 34 meta = { 35 description = "High-level FTP client library (virtual file system and more)"; 36 homepage = "https://ftputil.sschwarzer.net/"; 37 license = lib.licenses.bsd2; 38 maintainers = [ ]; 39 }; 40}