nixpkgs/pkgs/development/python-modules/aiofiles/default.nix

33 lines
659 B
Nix
Raw Normal View History

2017-06-04 11:24:32 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, isPy33
, pythonOlder
, asyncio
, singledispatch
}:
buildPythonPackage rec {
pname = "aiofiles";
2018-08-13 08:21:45 +01:00
version = "0.4.0";
2017-06-04 11:24:32 +01:00
src = fetchPypi {
inherit pname version;
2018-08-13 08:21:45 +01:00
sha256 = "021ea0ba314a86027c166ecc4b4c07f2d40fc0f4b3a950d1868a0f2571c2bbee";
2017-06-04 11:24:32 +01:00
};
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 ];
maintainers = with lib.maintainers; [ fridh ];
2017-06-04 11:24:32 +01:00
};
}