about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aiofiles/default.nix
blob: d0808a1cc3105bd21b7e0920cfab9b9f4c906bf5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, buildPythonPackage
, fetchPypi
, isPy33
, pythonOlder
, asyncio
, singledispatch
}:

buildPythonPackage rec {
  pname = "aiofiles";
  version = "0.3.2";
  name = "${pname}-${version}";

  src = fetchPypi {
    inherit pname version;
    sha256 = "852a493a877b73e11823bfd4e8e5ef2610d70d12c9eaed961bcd9124d8de8c10";
  };

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