3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.dicttoxml2: init at 2.0.0

This commit is contained in:
Fabian Affolter 2022-07-15 11:05:53 +02:00
parent 7908242f92
commit a1dab95d7e
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ 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 ];
};
}

View file

@ -2280,6 +2280,8 @@ in {
dicttoxml = callPackage ../development/python-modules/dicttoxml { };
dicttoxml2 = callPackage ../development/python-modules/dicttoxml2 { };
diff-cover = callPackage ../development/python-modules/diff-cover { };
diff-match-patch = callPackage ../development/python-modules/diff-match-patch { };