Files
nixpkgs/pkgs/development/python-modules/pyring-buffer/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

34 lines
774 B
Nix

{
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 = "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 ];
};
}