Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / faster-fifo / default.nix
blob1d77707b6aa55016143d183592cc87df77ce3775
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
5 # build-system
6 , cython
7 , setuptools
9 # tests
10 , numpy
11 , unittestCheckHook
14 buildPythonPackage rec {
15   pname = "faster-fifo";
16   version = "1.4.5";
17   format = "pyproject";
19   src = fetchFromGitHub {
20     owner = "alex-petrenko";
21     repo = "faster-fifo";
22     rev = "v${version}";
23     hash = "sha256-35kD+RWXwUXHG5leTVj4wY6hJAjDka69YczgSTIbCeg=";
24   };
26   nativeBuildInputs = [
27     cython
28     setuptools
29   ];
31   pythonImportsCheck = [
32     "faster_fifo"
33   ];
35   nativeCheckInputs = [
36     numpy
37     unittestCheckHook
38   ];
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   };