Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / nose2 / default.nix
blobb49900e1576f04577018811cfa0ec413e475dfb8
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , python
5 , six
6 , pythonOlder
7 , coverage
8 }:
10 buildPythonPackage rec {
11   pname = "nose2";
12   version = "0.14.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.8";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-XCjXcKC5pwKGK9bDdVuizS95lN1RjJguXOKY1/N0ZqQ=";
20   };
22   propagatedBuildInputs = [
23     coverage
24     six
25   ];
27   __darwinAllowLocalNetworking = true;
29   checkPhase = ''
30     ${python.interpreter} -m unittest
31   '';
33   pythonImportsCheck = [
34     "nose2"
35   ];
37   meta = with lib; {
38     description = "Test runner for Python";
39     homepage = "https://github.com/nose-devs/nose2";
40     license = licenses.bsd0;
41     maintainers = with maintainers; [ ];
42   };