python3Packages.aiojobs: 0.2.2 -> 0.3.0
This commit is contained in:
parent
3191d4f0af
commit
74812d6386
|
@ -1,22 +1,22 @@
|
||||||
{ buildPythonPackage
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy27
|
, pythonOlder
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, pytest-aiohttp
|
, pytest-aiohttp
|
||||||
, pygments
|
, pygments
|
||||||
, lib
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiojobs";
|
pname = "aiojobs";
|
||||||
version = "0.2.2";
|
version = "0.3.0";
|
||||||
format = "flit";
|
format = "flit";
|
||||||
disabled = isPy27;
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "01a0msjh4w58fd7jplmblh0hwgpzwjs5xkgqz3d0p5yv3cykwjwf";
|
sha256 = "sha256-9mMdQtxDCPfYg6u9cNTpdvP8w1o7oejq5dSvSUCh4MM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -28,13 +28,11 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
pytest-aiohttp
|
pytest-aiohttp
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
pythonImportsCheck = [ "aiojobs" ];
|
||||||
pytest tests
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/aio-libs/aiojobs";
|
homepage = "https://github.com/aio-libs/aiojobs";
|
||||||
|
|
Loading…
Reference in a new issue