mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
Module and CLI tool to quickly convert xml text or files into json https://github.com/shanahanjrs/xmltojson
36 lines
724 B
Nix
36 lines
724 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|