Merge pull request #241541 from mweinelt/faster-fifo-init

python310Packages.faster-fifo: init at 1.4.5
This commit is contained in:
Martin Weinelt 2023-07-05 00:20:56 +02:00 committed by GitHub
commit fa3efb7a1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
# build-system
, cython
, setuptools
# tests
, numpy
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "faster-fifo";
version = "1.4.5";
format = "pyproject";
src = fetchFromGitHub {
owner = "alex-petrenko";
repo = "faster-fifo";
rev = "v${version}";
hash = "sha256-35kD+RWXwUXHG5leTVj4wY6hJAjDka69YczgSTIbCeg=";
};
nativeBuildInputs = [
cython
setuptools
];
pythonImportsCheck = [
"faster_fifo"
];
nativeCheckInputs = [
numpy
unittestCheckHook
];
meta = with lib; {
description = "Faster alternative to Python's multiprocessing.Queue (IPC FIFO queue";
homepage = "https://github.com/alex-petrenko/faster-fifo";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View File

@ -3540,6 +3540,8 @@ self: super: with self; {
fastentrypoints = callPackage ../development/python-modules/fastentrypoints { };
faster-fifo = callPackage ../development/python-modules/faster-fifo { };
faster-whisper = callPackage ../development/python-modules/faster-whisper { };
fastimport = callPackage ../development/python-modules/fastimport { };