mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
39 lines
758 B
Nix
39 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 ];
|
|
};
|
|
}
|