From 7dd7190a576bdb8c5f504370f0ea0c3160562e59 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov Date: Wed, 10 Oct 2018 18:13:36 -0400 Subject: [PATCH] pythonPackages.DataModelDict: init at 0.9.4 --- .../python-modules/datamodeldict/default.nix | 27 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/python-modules/datamodeldict/default.nix 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 { };