2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-10 23:13:36 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, xmltodict
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-10-15 22:04:12 +01:00
|
|
|
version = "0.9.7";
|
2018-10-10 23:13:36 +01:00
|
|
|
pname = "DataModelDict";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-15 22:04:12 +01:00
|
|
|
sha256 = "b1be7573cb4401aa250fd00f2e6392543f6f2498f8e02f6313595aa220e5c99e";
|
2018-10-10 23:13:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ xmltodict ];
|
|
|
|
|
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/usnistgov/DataModelDict/";
|
2018-10-10 23:13:36 +01:00
|
|
|
description = "Class allowing for data models equivalently represented as Python dictionaries, JSON, and XML";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|