python3Packages.nose3: init at 1.3.8
This commit is contained in:
parent
7f8a16b9f5
commit
424242721c
35
pkgs/development/python-modules/nose3/default.nix
Normal file
35
pkgs/development/python-modules/nose3/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, coverage
|
||||
, fetchPypi
|
||||
, isPyPy
|
||||
, python
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nose3";
|
||||
version = "1.3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-diquIsrbiYsAudT0u7n46H+ODd5sSaiM0MVU9OWSW3Y=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ coverage ];
|
||||
|
||||
# PyPy hangs for unknwon reason
|
||||
# darwin fails an assertion and I didn't find a way to find skip that test
|
||||
doCheck = !isPyPy && !stdenv.isDarwin;
|
||||
|
||||
checkPhase = ''
|
||||
${python.pythonForBuild.interpreter} selftest.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fork of nose v1 not using lib2to3 for compatibility with Python 3";
|
||||
homepage = "https://github.com/jayvdb/nose3";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -6858,9 +6858,11 @@ self: super: with self; {
|
||||
|
||||
normality = callPackage ../development/python-modules/normality { };
|
||||
|
||||
nose = callPackage ../development/python-modules/nose { };
|
||||
|
||||
nose2 = callPackage ../development/python-modules/nose2 { };
|
||||
|
||||
nose = callPackage ../development/python-modules/nose { };
|
||||
nose3 = callPackage ../development/python-modules/nose3 { };
|
||||
|
||||
nose-cov = callPackage ../development/python-modules/nose-cov { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user