My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/nose2/default.nix

41 lines
683 B

{ lib
, buildPythonPackage
, fetchPypi
, python
, six
, 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
];
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; [ ];
};
}