python3Packages.spdx-tools: 0.6.1 -> 0.7.0a3

+9 -17
+9 -17
pkgs/development/python-modules/spdx-tools/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 + , click 3 4 , fetchPypi 4 - , fetchpatch 5 - , six 6 5 , pyyaml 7 6 , rdflib 8 7 , ply 9 8 , xmltodict 10 9 , pytestCheckHook 11 - , pythonAtLeast 10 + , pythonOlder 12 11 }: 12 + 13 13 buildPythonPackage rec { 14 14 pname = "spdx-tools"; 15 - version = "0.6.1"; 15 + version = "0.7.0a3"; 16 + 17 + disabled = pythonOlder "3.6"; 16 18 17 19 src = fetchPypi { 18 20 inherit pname version; 19 - sha256 = "9a1aaae051771e865705dd2fd374c3f73d0ad595c1056548466997551cbd7a81"; 21 + sha256 = "sha256-afV1W1n5ubHhqfLFpPO5fxaIy5TaZdw9eDy3JYOJ1oE="; 20 22 }; 21 23 22 - patches = lib.optionals (pythonAtLeast "3.9") [ 23 - # https://github.com/spdx/tools-python/pull/159 24 - # fixes tests on Python 3.9 25 - (fetchpatch { 26 - name = "drop-encoding-argument.patch"; 27 - url = "https://github.com/spdx/tools-python/commit/6c8b9a852f8a787122c0e2492126ee8aa52acff0.patch"; 28 - sha256 = "RhvLhexsQRjqYqJg10SAM53RsOW+R93G+mns8C9g5E8="; 29 - }) 30 - ]; 31 - 32 24 propagatedBuildInputs = [ 33 - six 25 + click 26 + ply 34 27 pyyaml 35 28 rdflib 36 - ply 37 29 xmltodict 38 30 ]; 39 31