10 # optional-dependencies
17 buildPythonPackage rec {
22 disabled = pythonOlder "3.8";
25 inherit pname version;
26 hash = "sha256-NncPUZ31vs08v+C+5Ku/v5ufa0604DNh0oK378/E8N8=";
29 nativeBuildInputs = [ setuptools ];
31 optional-dependencies = {
32 coverage = [ coverage ];
35 pythonImportsCheck = [ "nose2" ];
37 __darwinAllowLocalNetworking = true;
41 ] ++ lib.flatten (lib.attrValues optional-dependencies);
44 changelog = "https://github.com/nose-devs/nose2/blob/${version}/docs/changelog.rst";
45 description = "Test runner for Python";
46 mainProgram = "nose2";
47 homepage = "https://github.com/nose-devs/nose2";
48 license = licenses.bsd0;