pythonPackages.pytest-relaxed: init at 1.1.4
This commit is contained in:
parent
6f5142e48e
commit
e8c6b66e75
37
pkgs/development/python-modules/pytest-relaxed/default.nix
Normal file
37
pkgs/development/python-modules/pytest-relaxed/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytest
|
||||||
|
, six
|
||||||
|
, decorator
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "1.1.4";
|
||||||
|
pname = "pytest-relaxed";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "511ac473252baa67d5451f7864516e2e8f1acedf0cef71f79d2ed916ee04e146";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ pytest six decorator ];
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i "s/pytest>=3,<3.3/pytest/g" setup.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
# skip tests due to dir requirements
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://pytest-relaxed.readthedocs.io/;
|
||||||
|
description = "Relaxed test discovery/organization for pytest";
|
||||||
|
license = licenses.bsd0;
|
||||||
|
maintainers = [ maintainers.costrouc ];
|
||||||
|
};
|
||||||
|
}
|
@ -1937,6 +1937,8 @@ in {
|
|||||||
|
|
||||||
pytest-rerunfailures = callPackage ../development/python-modules/pytest-rerunfailures { };
|
pytest-rerunfailures = callPackage ../development/python-modules/pytest-rerunfailures { };
|
||||||
|
|
||||||
|
pytest-relaxed = callPackage ../development/python-modules/pytest-relaxed { };
|
||||||
|
|
||||||
pytest-flake8 = callPackage ../development/python-modules/pytest-flake8 { };
|
pytest-flake8 = callPackage ../development/python-modules/pytest-flake8 { };
|
||||||
|
|
||||||
pytestflakes = callPackage ../development/python-modules/pytest-flakes { };
|
pytestflakes = callPackage ../development/python-modules/pytest-flakes { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user