nixpkgs/pkgs/development/python-modules/dict2xml/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
600 B
Nix
Raw Normal View History

{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
}:
2019-09-14 14:36:06 +00:00
buildPythonPackage rec {
pname = "dict2xml";
version = "1.7.1";
format = "setuptools";
disabled = pythonOlder "3.7";
2019-09-14 14:36:06 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-ZgCqMx8X7uODNhH3GJmkOnZhLKdVoVdpzyBJLEsaoBY=";
2019-09-14 14:36:06 +00:00
};
pythonImportsCheck = [
"dict2xml"
];
2019-09-14 14:36:06 +00:00
meta = with lib; {
description = "Library to convert a Python dictionary into an XML string";
2019-09-14 14:36:06 +00:00
homepage = "https://github.com/delfick/python-dict2xml";
license = licenses.mit;
maintainers = with maintainers; [ johnazoidberg ];
};
}