1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, numpy
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "aubio";
10 version = "0.4.9";
11
12 src = fetchFromGitHub {
13 owner = pname;
14 repo = pname;
15 rev = version;
16 sha256 = "0fhxikvlr010nbh02g455d5y8bq6j5yw180cdh4gsd0hb43y3z26";
17 };
18
19 propagatedBuildInputs = [
20 numpy
21 ];
22
23 checkInputs = [
24 pytestCheckHook
25 ];
26
27 pythonImportsCheck = [ "aubio" ];
28
29 meta = with lib; {
30 description = "a library for audio and music analysis";
31 homepage = "https://aubio.org";
32 license = licenses.gpl3;
33 maintainers = with maintainers; [ hexa ];
34 };
35}