mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 12:07:47 +03:00
python3Packages.pytest-tornasync: init at 0.6.0.post2
This commit is contained in:
parent
2ae6d1fed6
commit
786d9a39ac
38
pkgs/development/python-modules/pytest-tornasync/default.nix
Normal file
38
pkgs/development/python-modules/pytest-tornasync/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
|
||||
, pytest, tornado }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-tornasync";
|
||||
version = "0.6.0.post2";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eukaryote";
|
||||
repo = pname;
|
||||
# upstream does not keep git tags in sync with pypy releases
|
||||
# https://github.com/eukaryote/pytest-tornasync/issues/9
|
||||
rev = "c5f013f1f727f1ca1fcf8cc748bba7f4a2d79e56";
|
||||
sha256 = "04cg1cfrr55dbi8nljkpcsc103i5c6p0nr46vjr0bnxgkxx03x36";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pytest
|
||||
tornado
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
tornado
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "py.test plugin for testing Python 3.5+ Tornado code";
|
||||
homepage = "https://github.com/eukaryote/pytest-tornasync";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
@ -1420,6 +1420,8 @@ in {
|
||||
|
||||
pytest-tornado = callPackage ../development/python-modules/pytest-tornado { };
|
||||
|
||||
pytest-tornasync = callPackage ../development/python-modules/pytest-tornasync { };
|
||||
|
||||
pytest-trio = callPackage ../development/python-modules/pytest-trio { };
|
||||
|
||||
pytest-twisted = callPackage ../development/python-modules/pytest-twisted { };
|
||||
|
Loading…
Reference in New Issue
Block a user