792b51d22f
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
29 lines
600 B
Nix
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 ];
|
|
};
|
|
}
|