depot/third_party/nixpkgs/pkgs/development/python-modules/dicttoxml2/default.nix
Default email c6ca5b8f13 Project import generated by Copybara.
GitOrigin-RevId: e4d49de45a3b5dbcb881656b4e3986e666141ea9
2022-07-18 18:21:45 +02:00

32 lines
657 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "dicttoxml2";
version = "2.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-8/Zbv8WxDP5Bn4hgd7hTstmYv7amTlTxhQoKvzYrG/I=";
};
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"dicttoxml2"
];
meta = with lib;{
description = "Converts a Python dictionary or other native data type into a valid XML string";
homepage = "https://pypi.org/project/dicttoxml2/";
license = licenses.gpl2Only;
maintainers = with maintainers; [ fab ];
};
}