1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 formencode, 7 pastedeploy, 8 paste, 9 pydispatcher, 10 pythonOlder, 11}: 12 13buildPythonPackage rec { 14 pname = "sqlobject"; 15 version = "3.11.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 pname = "SQLObject"; 22 inherit version; 23 hash = "sha256-QrGyrM6e1cxCtF4GxoivXU/Gj2H8VnG7EFcgimLfdng="; 24 }; 25 26 propagatedBuildInputs = [ 27 formencode 28 paste 29 pastedeploy 30 pydispatcher 31 ]; 32 33 nativeCheckInputs = [ pytestCheckHook ]; 34 35 disabledTests = [ 36 # https://github.com/sqlobject/sqlobject/issues/179 37 "test_fail" 38 ]; 39 40 pythonImportsCheck = [ "sqlobject" ]; 41 42 meta = with lib; { 43 description = "Object Relational Manager for providing an object interface to your database"; 44 homepage = "https://www.sqlobject.org/"; 45 changelog = "https://github.com/sqlobject/sqlobject/blob/${version}/docs/News.rst"; 46 license = licenses.lgpl21Only; 47 maintainers = with maintainers; [ ]; 48 }; 49}