nixpkgs/pkgs/development/python-modules/nose2/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
683 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
2021-01-31 08:37:30 +00:00
, python
, six
2018-10-25 20:21:22 +00:00
, pythonOlder
, coverage
}:
buildPythonPackage rec {
pname = "nose2";
version = "0.11.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-bSCNfW7J+dVcdNrIHJOUvDkG2++BqMpUILK5t/jmnek=";
};
propagatedBuildInputs = [
coverage
six
];
2018-10-25 20:21:22 +00:00
2021-01-31 08:37:30 +00:00
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; [ ];
};
}