Skip to content

Commit 56a8507

Browse files
committedJun 4, 2017
python.pkgs.aiofiles: init at 0.3.1
1 parent 8490c83 commit 56a8507

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{ lib
2+
, buildPythonPackage
3+
, fetchPypi
4+
, isPy33
5+
, pythonOlder
6+
, asyncio
7+
, singledispatch
8+
}:
9+
10+
buildPythonPackage rec {
11+
pname = "aiofiles";
12+
version = "0.3.1";
13+
name = "${pname}-${version}";
14+
15+
src = fetchPypi {
16+
inherit pname version;
17+
sha256 = "6c4936cea65175277183553dbc27d08b286a24ae5bd86f44fbe485dfcf77a14a";
18+
};
19+
20+
disabled = pythonOlder "3.3";
21+
22+
propagatedBuildInputs = lib.optionals isPy33 [ asyncio singledispatch ];
23+
24+
# No tests in archive
25+
doCheck = false;
26+
27+
meta = {
28+
description = "File support for asyncio";
29+
homepage = https://github.com/Tinche/aiofiles;
30+
license = with lib.licenses; [ asl20 ];
31+
maintainer = with lib.maintainers; [ fridh ];
32+
};
33+
}

‎pkgs/top-level/python-packages.nix

+2
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,8 @@ in {
600600
};
601601
};
602602

603+
aiofiles = callPackage ../development/python-modules/aiofiles { };
604+
603605
aiohttp = buildPythonPackage rec {
604606
name = "aiohttp-${version}";
605607
version = "1.1.6";

0 commit comments

Comments
 (0)
Please sign in to comment.