summary refs log blame commit diff
path: root/pkgs/development/python-modules/datamodeldict/default.nix
blob: 145342a60a3646913da577fc681d28bd2ba012b0 (plain) (tree)
1
2
3
4
5
6
7
8
9
     

                    
             



                        
                          
                    


                               

                   


                                                                 

    


                           



                  



                        
                    
                                                                                                                  
                                                             
                           
                                                 

    
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, xmltodict
}:

buildPythonPackage rec {
  pname = "datamodeldict";
  version = "0.9.9";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    pname = "DataModelDict";
    inherit version;
    hash = "sha256-DadBRsc8qEu9PWgMNllGS2ESKL7kgBLDhg4yDr87WRk=";
  };

  propagatedBuildInputs = [
    xmltodict
  ];

  # no tests
  doCheck = false;

  pythonImportsCheck = [
    "DataModelDict"
  ];

  meta = with lib; {
    description = "Class allowing for data models equivalently represented as Python dictionaries, JSON, and XML";
    homepage = "https://github.com/usnistgov/DataModelDict/";
    license = licenses.mit;
    maintainers = with maintainers; [ costrouc ];
  };
}