diff --git a/pkgs/development/python-modules/dict2xml/default.nix b/pkgs/development/python-modules/dict2xml/default.nix new file mode 100644 index 000000000000..88cbee2649da --- /dev/null +++ b/pkgs/development/python-modules/dict2xml/default.nix @@ -0,0 +1,20 @@ +{ lib, fetchPypi, buildPythonPackage, six }: + +buildPythonPackage rec { + pname = "dict2xml"; + version = "1.6.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "17wsybqq0916i1yh7bpf2cmicldn7d0y2b9mzlgs503fkcpxda5w"; + }; + + propagatedBuildInputs = [ six ]; + + meta = with lib; { + description = "Super simple library to convert a Python dictionary into an xml string"; + homepage = "https://github.com/delfick/python-dict2xml"; + license = licenses.mit; + maintainers = with maintainers; [ johnazoidberg ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 70c24129196e..df85197fbbf7 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5727,6 +5727,8 @@ in { basemap = callPackage ../development/python-modules/basemap { }; + dict2xml = callPackage ../development/python-modules/dict2xml { }; + dicttoxml = callPackage ../development/python-modules/dicttoxml { }; markdown2 = callPackage ../development/python-modules/markdown2 { };