Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 689 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy33 5, pythonOlder 6, asyncio 7, singledispatch 8}: 9 10buildPythonPackage 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}