nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 28 lines 608 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5}: 6 7buildPythonPackage rec { 8 pname = "dicttoxml2"; 9 version = "2.1.0"; 10 format = "setuptools"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-Z8tynzN911KAjAIbcMjfijT4S54RGl26o34ADur01GI="; 15 }; 16 17 # Module has no tests 18 doCheck = false; 19 20 pythonImportsCheck = [ "dicttoxml2" ]; 21 22 meta = { 23 description = "Converts a Python dictionary or other native data type into a valid XML string"; 24 homepage = "https://pypi.org/project/dicttoxml2/"; 25 license = lib.licenses.gpl2Only; 26 maintainers = with lib.maintainers; [ fab ]; 27 }; 28}