about summary refs log tree commit diff
path: root/pkgs/development/python-modules/xmljson/default.nix
blob: 441a0e571dc2a149d8bcdecf6312042401d804ed (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
{ buildPythonPackage
, fetchPypi
, lib
, lxml
}:

buildPythonPackage rec {
  pname = "xmljson";
  version = "0.2.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "b4158e66aa1e62ee39f7f80eb2fe4f767670ba3c0d5de9804420dc53427fdec8";
  };

  nativeCheckInputs = [
    lxml
  ];

  meta = with lib; {
    description = "Converts XML into dictionary structures and vice-versa";
    mainProgram = "xml2json";
    homepage = "https://github.com/sanand0/xmljson";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ rakesh4g ];
  };
}