Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / defusedxml / default.nix
blobe2e7de205c8ce87b8dcf4600b4905d9251b9ef88
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , python
5 }:
7 buildPythonPackage rec {
8   pname = "defusedxml";
9   version = "0.7.1";
10   format = "setuptools";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69";
15   };
17   checkPhase = ''
18     ${python.interpreter} tests.py
19   '';
21   pythonImportsCheck = [ "defusedxml" ];
23   meta = with lib; {
24     description = "Python module to defuse XML issues";
25     homepage = "https://github.com/tiran/defusedxml";
26     license = licenses.psfl;
27     maintainers = with maintainers; [ fab ];
28   };