btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / development / python-modules / xmltodict / default.nix
blob0000eea5f405823e117bcd5ed2375e4aca5ce39a
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytestCheckHook,
6 }:
8 buildPythonPackage rec {
9   pname = "xmltodict";
10   version = "0.13.0";
11   format = "setuptools";
13   src = fetchPypi {
14     inherit pname version;
15     hash = "sha256-NBWVpIjj4BqFqdiRHYkS/ZIu3l/sxNzkN+tLbI0DflY=";
16   };
18   nativeCheckInputs = [ pytestCheckHook ];
20   pythonImportsCheck = [ "xmltodict" ];
22   meta = with lib; {
23     description = "Makes working with XML feel like you are working with JSON";
24     homepage = "https://github.com/martinblech/xmltodict";
25     license = licenses.mit;
26     maintainers = [ ];
27   };