1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

pythonPackages.curio: init at 0.9

This commit is contained in:
Mario Rodas 2019-05-22 23:23:41 -05:00
parent c90867d36a
commit 62bd8f6d24
No known key found for this signature in database
GPG key ID: 4C4BEFD7B18DC5E8
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, pytest
, sphinx
}:
buildPythonPackage rec {
pname = "curio";
version = "0.9";
src = fetchPypi {
inherit pname version;
sha256 = "51d1a7b49b4f8dd1486ac785c72d522962e93ccfdcfc1f818f5c7553a307b5ef";
};
disabled = !isPy3k;
checkInputs = [ pytest sphinx ];
# test_aside_basic times out,
# test_aside_cancel fails because modifies PYTHONPATH and cant find pytest
checkPhase = ''
pytest --deselect tests/test_task.py::test_aside_basic --deselect tests/test_task.py::test_aside_cancel
'';
meta = with lib; {
homepage = "https://github.com/dabeaz/curio";
description = "Library for performing concurrent I/O with coroutines in Python 3";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
};
}

View file

@ -335,6 +335,8 @@ in {
cozy = callPackage ../development/python-modules/cozy { };
curio = callPackage ../development/python-modules/curio { };
dendropy = callPackage ../development/python-modules/dendropy { };
dependency-injector = callPackage ../development/python-modules/dependency-injector { };