1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, xmltodict 6}: 7 8buildPythonPackage rec { 9 pname = "datamodeldict"; 10 version = "0.9.9"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 pname = "DataModelDict"; 17 inherit version; 18 hash = "sha256-DadBRsc8qEu9PWgMNllGS2ESKL7kgBLDhg4yDr87WRk="; 19 }; 20 21 propagatedBuildInputs = [ 22 xmltodict 23 ]; 24 25 # no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ 29 "DataModelDict" 30 ]; 31 32 meta = with lib; { 33 description = "Class allowing for data models equivalently represented as Python dictionaries, JSON, and XML"; 34 homepage = "https://github.com/usnistgov/DataModelDict/"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ ]; 37 }; 38}