depot/third_party/nixpkgs/pkgs/development/python-modules/nose2/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

41 lines
683 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python
, six
, pythonOlder
, coverage
}:
buildPythonPackage rec {
pname = "nose2";
version = "0.12.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-lW55ub1VjuCLYgDAWtLHZGW344YMDAU3aGCJKFwyARM=";
};
propagatedBuildInputs = [
coverage
six
];
checkPhase = ''
${python.interpreter} -m unittest
'';
pythonImportsCheck = [
"nose2"
];
meta = with lib; {
description = "Test runner for Python";
homepage = "https://github.com/nose-devs/nose2";
license = licenses.bsd0;
maintainers = with maintainers; [ ];
};
}