depot/third_party/nixpkgs/pkgs/development/python-modules/dict2xml/default.nix
Default email 792b51d22f Project import generated by Copybara.
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
2022-02-20 05:27:41 +00:00

29 lines
600 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
}:
buildPythonPackage rec {
pname = "dict2xml";
version = "1.7.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ZgCqMx8X7uODNhH3GJmkOnZhLKdVoVdpzyBJLEsaoBY=";
};
pythonImportsCheck = [
"dict2xml"
];
meta = with lib; {
description = "Library to convert a Python dictionary into an XML string";
homepage = "https://github.com/delfick/python-dict2xml";
license = licenses.mit;
maintainers = with maintainers; [ johnazoidberg ];
};
}