python.pkgs.aiofiles: init at 0.3.1
This commit is contained in:
parent
8490c83f23
commit
56a850701b
33
pkgs/development/python-modules/aiofiles/default.nix
Normal file
33
pkgs/development/python-modules/aiofiles/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -600,6 +600,8 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
aiofiles = callPackage ../development/python-modules/aiofiles { };
|
||||
|
||||
aiohttp = buildPythonPackage rec {
|
||||
name = "aiohttp-${version}";
|
||||
version = "1.1.6";
|
||||
|
Loading…
Reference in New Issue
Block a user