aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/dict2xml/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/dict2xml/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/dict2xml/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/dict2xml/default.nix b/nixpkgs/pkgs/development/python-modules/dict2xml/default.nix
new file mode 100644
index 00000000000..88cbee2649d
--- /dev/null
+++ b/nixpkgs/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 ];
+ };
+}