python3Packages.pytest-trio: init at 0.6.0
This commit is contained in:
parent
c253216595
commit
2ae6d1fed6
|
@ -0,0 +1,39 @@
|
||||||
|
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||||
|
, trio, async_generator, hypothesis, outcome, pytest, pytestcov }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-trio";
|
||||||
|
version = "0.6.0";
|
||||||
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "python-trio";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "09v2031yxm8ryhq12205ldcck76n3wwqhjjsgfmn6dxfiqb0vbw9";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
trio
|
||||||
|
async_generator
|
||||||
|
outcome
|
||||||
|
pytest
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest
|
||||||
|
pytestcov
|
||||||
|
hypothesis
|
||||||
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Pytest plugin for trio";
|
||||||
|
homepage = "https://github.com/python-trio/pytest-trio";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ hexa ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1420,6 +1420,8 @@ in {
|
||||||
|
|
||||||
pytest-tornado = callPackage ../development/python-modules/pytest-tornado { };
|
pytest-tornado = callPackage ../development/python-modules/pytest-tornado { };
|
||||||
|
|
||||||
|
pytest-trio = callPackage ../development/python-modules/pytest-trio { };
|
||||||
|
|
||||||
pytest-twisted = callPackage ../development/python-modules/pytest-twisted { };
|
pytest-twisted = callPackage ../development/python-modules/pytest-twisted { };
|
||||||
|
|
||||||
pytest-xprocess = callPackage ../development/python-modules/pytest-xprocess { };
|
pytest-xprocess = callPackage ../development/python-modules/pytest-xprocess { };
|
||||||
|
|
Loading…
Reference in New Issue