1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 numpy, 6 pytestCheckHook, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "arrayqueues"; 12 version = "1.4.1"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "portugueslab"; 17 repo = "arrayqueues"; 18 tag = "v${version}"; 19 hash = "sha256-tqIfpkwbJNd9jMe0YvAWz9Z8rOO80qxVM2ZcJFeAmwo="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ numpy ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "arrayqueues" ]; 29 30 meta = { 31 homepage = "https://github.com/portugueslab/arrayqueues"; 32 description = "Multiprocessing queues for numpy arrays using shared memory"; 33 changelog = "https://github.com/portugueslab/arrayqueues/releases/tag/${version}"; 34 license = lib.licenses.mit; 35 maintainers = with lib.maintainers; [ tbenst ]; 36 }; 37}