forked from mirrors/nixpkgs
python310Packages.dicttoxml2: init at 2.0.0
This commit is contained in:
parent
7908242f92
commit
a1dab95d7e
32
pkgs/development/python-modules/dicttoxml2/default.nix
Normal file
32
pkgs/development/python-modules/dicttoxml2/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue