summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/arrayqueues/default.nix
blob: 4d7e03fd691383436b457c63b4fbff7af5f0b5a1 (plain)
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,
  fetchFromGitHub,
  numpy,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "arrayqueues";
  version = "1.4.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "portugueslab";
    repo = "arrayqueues";
    tag = "v${version}";
    hash = "sha256-tqIfpkwbJNd9jMe0YvAWz9Z8rOO80qxVM2ZcJFeAmwo=";
  };

  build-system = [ setuptools ];

  dependencies = [ numpy ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "arrayqueues" ];

  meta = {
    homepage = "https://github.com/portugueslab/arrayqueues";
    description = "Multiprocessing queues for numpy arrays using shared memory";
    changelog = "https://github.com/portugueslab/arrayqueues/releases/tag/${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ tbenst ];
  };
}