python312Packages.bindep: 2.12.0 -> 2.13.0 (#395030)

authored by Sandro and committed by GitHub da25f94f 6a8f6223

+21 -6
+21 -6
pkgs/development/python-modules/bindep/default.nix
··· 3 3 buildPythonPackage, 4 4 distro, 5 5 fetchPypi, 6 + fixtures, 7 + libredirect, 6 8 packaging, 7 9 parsley, 8 10 pbr, 9 - setuptools, 11 + pytestCheckHook, 12 + testtools, 10 13 }: 11 14 12 15 buildPythonPackage rec { 13 16 pname = "bindep"; 14 - version = "2.12.0"; 17 + version = "2.13.0"; 15 18 pyproject = true; 16 19 17 20 src = fetchPypi { 18 21 inherit pname version; 19 - hash = "sha256-wGtR5tC6OWWq2PPCXwpXS+D4AboHyxp4SV2olUZ952A="; 22 + hash = "sha256-33VkdT5YMDO7ETM4FQ13JUAUW00YmkgB7FaiW17eUFA="; 20 23 }; 21 24 22 25 env.PBR_VERSION = version; 23 26 24 27 build-system = [ 25 28 pbr 26 - setuptools 27 29 ]; 28 30 29 31 dependencies = [ ··· 33 35 distro 34 36 ]; 35 37 36 - # Checks moved to 'passthru.tests' to workaround infinite recursion 37 - doCheck = false; 38 + nativeCheckInputs = [ 39 + fixtures 40 + libredirect.hook 41 + pytestCheckHook 42 + testtools 43 + ]; 44 + 45 + preCheck = '' 46 + echo "ID=nixos 47 + " > os-release 48 + export NIX_REDIRECTS=/etc/os-release=$(realpath os-release) 49 + export PATH=$PATH:$out/bin 50 + ''; 51 + 52 + pytestFlagsArray = [ "-s" ]; 38 53 39 54 pythonImportsCheck = [ "bindep" ]; 40 55