2018-10-11 00:13:36 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, xmltodict
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-11-11 14:47:24 +01:00
|
|
|
version = "0.9.5";
|
2018-10-11 00:13:36 +02:00
|
|
|
pname = "DataModelDict";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-11 14:47:24 +01:00
|
|
|
sha256 = "afa15c137c09e7d937e31c8956fd8092be0251c9869a6b7c1d0f81c0901bc47d";
|
2018-10-11 00:13:36 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ xmltodict ];
|
|
|
|
|
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/usnistgov/DataModelDict/;
|
|
|
|
description = "Class allowing for data models equivalently represented as Python dictionaries, JSON, and XML";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|