diff --git a/pkgs/development/python-modules/datamodeldict/default.nix b/pkgs/development/python-modules/datamodeldict/default.nix new file mode 100644 index 000000000000..9aac803ccae1 --- /dev/null +++ b/pkgs/development/python-modules/datamodeldict/default.nix @@ -0,0 +1,27 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, xmltodict +}: + +buildPythonPackage rec { + version = "0.9.4"; + pname = "DataModelDict"; + + src = fetchPypi { + inherit pname version; + sha256 = "97d8e999e000cf69c48e57b1a72eb45a27d83576a38c6cd8550c230b018be7af"; + }; + + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c292c06fc3a7..dcddc42d1771 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -284,6 +284,8 @@ in { btchip = callPackage ../development/python-modules/btchip { }; + datamodeldict = callPackage ../development/python-modules/datamodeldict { }; + dbf = callPackage ../development/python-modules/dbf { }; dbfread = callPackage ../development/python-modules/dbfread { };