File tree 2 files changed +35
-0
lines changed
development/python-modules/aiofiles
2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change 600
600
};
601
601
};
602
602
603
+ aiofiles = callPackage ../development/python-modules/aiofiles { };
604
+
603
605
aiohttp = buildPythonPackage rec {
604
606
name = "aiohttp-${version}";
605
607
version = "1.1.6";
You can’t perform that action at this time.
0 commit comments