python311Packages.pyring-buffer: init at 1.0.0

A pure python ring buffer for bytes
This commit is contained in:
Martin Weinelt 2023-12-27 17:40:25 +01:00
parent 2d216878fd
commit 9bc73ac7d4
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
# build-system
, setuptools
}:
buildPythonPackage rec {
pname = "pyring-buffer";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "rhasspy";
repo = "pyring-buffer";
rev = "382290312fa2ad5d75bd42c040a43e25dad9c8a7";
hash = "sha256-bHhcBU4tjFAyZ3/GjaP/hDXz2N73mCChTNYHsZyBCSM=";
};
nativeBuildInputs = [
setuptools
];
pythonImportsCheck = [
"pyring_buffer"
];
meta = with lib; {
description = "A pure Python ring buffer for bytes";
homepage = "https://github.com/rhasspy/pyring-buffer";
changelog = "https://github.com/rhasspy/pyring-buffer/blob/${src.rev}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ hexa ];
};
}

View File

@ -11512,6 +11512,8 @@ self: super: with self; {
pyric = callPackage ../development/python-modules/pyric { };
pyring-buffer = callPackage ../development/python-modules/pyring-buffer { };
pyrisco = callPackage ../development/python-modules/pyrisco { };
pyrituals = callPackage ../development/python-modules/pyrituals { };