depot/third_party/nixpkgs/pkgs/development/python-modules/xmltodict/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

28 lines
603 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "xmltodict";
version = "0.13.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-NBWVpIjj4BqFqdiRHYkS/ZIu3l/sxNzkN+tLbI0DflY=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "xmltodict" ];
meta = with lib; {
description = "Makes working with XML feel like you are working with JSON";
homepage = "https://github.com/martinblech/xmltodict";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}