summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/xmltojson/default.nix
blob: 7196b290eb623a7d535ea195cf20d4ca5888896b (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
29
30
31
32
33
34
35
36
{
  lib,
  buildPythonPackage,
  fetchPypi,
  poetry-core,
  xmltodict,
}:

buildPythonPackage rec {
  pname = "xmltojson";
  version = "2.0.3";
  pyproject = true;

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

  pythonRelaxDeps = [ "xmltodict" ];

  build-system = [ poetry-core ];

  dependencies = [ xmltodict ];

  pythonImportsCheck = [ "xmltojson" ];

  # Module has no tests
  doCheck = false;

  meta = {
    description = "Module and CLI tool to quickly convert xml text or files into json";
    homepage = "https://github.com/shanahanjrs/xmltojson";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
  };
}