Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyring-buffer / default.nix
blob6a5c709f617eaa7db3c3e27e6080debdbf72a15d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
5 # build-system
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "pyring-buffer";
11   version = "1.0.0";
12   pyproject = true;
14   src = fetchFromGitHub {
15     owner = "rhasspy";
16     repo = "pyring-buffer";
17     rev = "382290312fa2ad5d75bd42c040a43e25dad9c8a7";
18     hash = "sha256-bHhcBU4tjFAyZ3/GjaP/hDXz2N73mCChTNYHsZyBCSM=";
19   };
21   nativeBuildInputs = [
22     setuptools
23   ];
25   pythonImportsCheck = [
26     "pyring_buffer"
27   ];
29   meta = with lib; {
30     description = "A pure Python ring buffer for bytes";
31     homepage = "https://github.com/rhasspy/pyring-buffer";
32     changelog = "https://github.com/rhasspy/pyring-buffer/blob/${src.rev}/CHANGELOG.md";
33     license = licenses.asl20;
34     maintainers = with maintainers; [ hexa ];
35   };