python.pkgs.aiofiles: init at 0.3.1

This commit is contained in:
Frederik Rietdijk 2017-06-04 12:24:32 +02:00
parent 8490c83f23
commit 56a850701b
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy33
, pythonOlder
, asyncio
, singledispatch
}:
buildPythonPackage rec {
pname = "aiofiles";
version = "0.3.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "6c4936cea65175277183553dbc27d08b286a24ae5bd86f44fbe485dfcf77a14a";
};
disabled = pythonOlder "3.3";
propagatedBuildInputs = lib.optionals isPy33 [ asyncio singledispatch ];
# No tests in archive
doCheck = false;
meta = {
description = "File support for asyncio";
homepage = https://github.com/Tinche/aiofiles;
license = with lib.licenses; [ asl20 ];
maintainer = with lib.maintainers; [ fridh ];
};
}

View file

@ -600,6 +600,8 @@ in {
};
};
aiofiles = callPackage ../development/python-modules/aiofiles { };
aiohttp = buildPythonPackage rec {
name = "aiohttp-${version}";
version = "1.1.6";