summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/dicttoxml2/default.nix
blob: 377f64c6a1e6321cbfc8c580b669aa38776ccf67 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchPypi,
}:

buildPythonPackage rec {
  pname = "dicttoxml2";
  version = "2.1.0";
  format = "setuptools";

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

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "dicttoxml2" ];

  meta = {
    description = "Converts a Python dictionary or other native data type into a valid XML string";
    homepage = "https://pypi.org/project/dicttoxml2/";
    license = lib.licenses.gpl2Only;
    maintainers = with lib.maintainers; [ fab ];
  };
}