depot/third_party/nixpkgs/pkgs/development/python-modules/datamodeldict/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

38 lines
749 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; [ ];
};
}