1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4 5# build-system 6, cython 7, setuptools 8 9# tests 10, numpy 11, unittestCheckHook 12}: 13 14buildPythonPackage rec { 15 pname = "faster-fifo"; 16 version = "1.4.5"; 17 format = "pyproject"; 18 19 src = fetchFromGitHub { 20 owner = "alex-petrenko"; 21 repo = "faster-fifo"; 22 rev = "v${version}"; 23 hash = "sha256-35kD+RWXwUXHG5leTVj4wY6hJAjDka69YczgSTIbCeg="; 24 }; 25 26 nativeBuildInputs = [ 27 cython 28 setuptools 29 ]; 30 31 pythonImportsCheck = [ 32 "faster_fifo" 33 ]; 34 35 nativeCheckInputs = [ 36 numpy 37 unittestCheckHook 38 ]; 39 40 meta = with lib; { 41 description = "Faster alternative to Python's multiprocessing.Queue (IPC FIFO queue"; 42 homepage = "https://github.com/alex-petrenko/faster-fifo"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ hexa ]; 45 }; 46}