git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.defusedxml: add meta
commit9001fbc439737a68d9fdb2dc12e1114bd4c4d906 authorFabian Affolter <mail@fabian-affolter.ch> dateSat 6 Mar 2021, 14:12 (6 years ago) parenta2100d3
1 file changed+16−2
pkgs/development/python-modules/defusedxml/default.nix+16−2
pkgs/development/python-modules/defusedxml/default.nix+16−2
@@ -1,11 +1,25 @@
1−{ buildPythonPackage, fetchPypi }:
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, pythonOlder
5+}:
26
37buildPythonPackage rec {
48 pname = "defusedxml";
59 version = "0.7.0";
10+ disabled = pythonOlder "3.6";
611
712 src = fetchPypi {
813 inherit pname version;
9− sha256 = "sha256-hrFdnjxjneefTLOK7/6jKB9ir/eN3n15jhNSxjv6bqA=";
14+ sha256 = "183fz8xwclhkirwpvpldyypn47r8lgzfz2mk9jgyg7b37jg5vcc6";
15+ };
16+
17+ pythonImportsCheck = [ "defusedxml" ];
18+
19+ meta = with lib; {
20+ description = "Python module to defuse XML issues";
21+ homepage = "https://github.com/tiran/defusedxml";
22+ license = licenses.psfl;
23+ maintainers = with maintainers; [ fab ];
1024 };
1125}