summary refs log tree commit diff
path: root/pkgs/development/python-modules/dict2xml/default.nix
blob: a51ec5303cd2e41323a71e3b2eed77a44340147f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
}:

buildPythonPackage rec {
  pname = "dict2xml";
  version = "1.7.1";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-ZgCqMx8X7uODNhH3GJmkOnZhLKdVoVdpzyBJLEsaoBY=";
  };

  pythonImportsCheck = [
    "dict2xml"
  ];

  meta = with lib; {
    description = "Library to convert a Python dictionary into an XML string";
    homepage = "https://github.com/delfick/python-dict2xml";
    license = licenses.mit;
    maintainers = with maintainers; [ johnazoidberg ];
  };
}