summary refs log tree commit diff
path: root/pkgs/development/python-modules/aioprocessing/default.nix
blob: b09accb38b749d35e28438007aa6dc4cadc44a73 (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
34
35
36
37
{ lib
, buildPythonPackage
, fetchPypi
, flit-core
, pythonOlder
}:

buildPythonPackage rec {
  pname = "aioprocessing";
  version = "2.0.1";
  format = "flit";

  disabled = pythonOlder "3.5";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-/gHHsaOMeBaGEdMEDnPZMDbDt8imSdY23J7Xo7ybG6I=";
  };

  nativeBuildInputs = [
    flit-core
  ];

  # Tests aren't included in pypi package
  doCheck = false;

  pythonImportsCheck = [
    "aioprocessing"
  ];

  meta = with lib; {
    description = "Library that integrates the multiprocessing module with asyncio";
    homepage = "https://github.com/dano/aioprocessing";
    license = licenses.bsd2;
    maintainers = with maintainers; [ uskudnik ];
  };
}