Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 60 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ lib, buildPythonPackage, fetchPypi, pythonOlder
# build-system, setuptools
# optional-dependencies, coverage
# tests, unittestCheckHook}:
buildPythonPackage rec { pname = "nose2"; version = "0.14.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { inherit pname version; hash = "sha256-XCjXcKC5pwKGK9bDdVuizS95lN1RjJguXOKY1/N0ZqQ="; };
nativeBuildInputs = [ setuptools ];
passthru.optional-dependencies = { coverage = [ coverage ]; };
pythonImportsCheck = [ "nose2" ];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [ unittestCheckHook ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
preCheck = '' # https://github.com/nose-devs/nose2/issues/588 substituteInPlace nose2/tests/functional/test_junitxml_plugin.py \ --replace "test_skip_reason_in_message" "dont_test_skip_reason_in_message" '';
meta = with lib; { description = "Test runner for Python"; homepage = "https://github.com/nose-devs/nose2"; license = licenses.bsd0; maintainers = with maintainers; [ ]; };}