about summary refs log tree commit diff
path: root/pkgs/development/python-modules/para/default.nix
blob: 765672d7a3626fdf820d4d6a5eb19dc85e7de9dd (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
{ lib
, buildPythonPackage
, fetchPypi
, nose
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "para";
  version = "0.0.8";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-RsMjKunY6p2IbP0IzdESiSICvthkX0C2JVWXukz+8hc=";
  };

  nativeCheckInputs = [
    nose
    pytestCheckHook
  ];

  pythonImportsCheck = [ "para" ];

  meta = with lib; {
    description = "A set utilities that ake advantage of python's 'multiprocessing' module to distribute CPU-intensive tasks";
    homepage = "https://pypi.org/project/para";
    license = licenses.mit;
    maintainers = with maintainers; [ GaetanLepage ];
  };
}