1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 # build-system 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "pyring-buffer"; 12 version = "1.0.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "rhasspy"; 17 repo = "pyring-buffer"; 18 rev = "382290312fa2ad5d75bd42c040a43e25dad9c8a7"; 19 hash = "sha256-bHhcBU4tjFAyZ3/GjaP/hDXz2N73mCChTNYHsZyBCSM="; 20 }; 21 22 nativeBuildInputs = [ setuptools ]; 23 24 pythonImportsCheck = [ "pyring_buffer" ]; 25 26 meta = with lib; { 27 description = "A pure Python ring buffer for bytes"; 28 homepage = "https://github.com/rhasspy/pyring-buffer"; 29 changelog = "https://github.com/rhasspy/pyring-buffer/blob/${src.rev}/CHANGELOG.md"; 30 license = licenses.asl20; 31 maintainers = with maintainers; [ hexa ]; 32 }; 33}