depot/third_party/nixpkgs/pkgs/development/python-modules/datamodeldict/default.nix
Default email 8e65f7f0cc Project import generated by Copybara.
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
2022-03-05 17:20:37 +01:00

38 lines
758 B
Nix

{ 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 ];
};
}