2020-11-30 08:33:03 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lib
|
|
|
|
, lxml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "xmljson";
|
|
|
|
version = "0.2.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "b4158e66aa1e62ee39f7f80eb2fe4f767670ba3c0d5de9804420dc53427fdec8";
|
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2020-11-30 08:33:03 +00:00
|
|
|
lxml
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Converts XML into dictionary structures and vice-versa";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "xml2json";
|
2020-11-30 08:33:03 +00:00
|
|
|
homepage = "https://github.com/sanand0/xmljson";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ rakesh4g ];
|
|
|
|
};
|
|
|
|
}
|