1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/aiofiles/default.nix
2017-06-04 12:24:44 +02:00

33 lines
689 B
Nix

{ 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 ];
};
}