9 oldest-supported-numpy,
21 buildPythonPackage rec {
26 src = fetchFromGitHub {
29 rev = "refs/tags/v${version}";
30 fetchSubmodules = true;
31 hash = "sha256-HGtoMfMQ5/2iEIFtik7mCrSxFnLXkSSx2W8wBul0+jk=";
35 substituteInPlace setup.py \
36 --replace "SYS_LIBSOXR = False" "SYS_LIBSOXR = True"
43 oldest-supported-numpy
48 buildInputs = [ libsoxr ];
50 pythonImportsCheck = [ "soxr" ];
52 nativeCheckInputs = [ pytestCheckHook ];
55 description = "High quality, one-dimensional sample-rate conversion library";
56 homepage = "https://github.com/dofuuz/python-soxr/tree/main";
57 license = licenses.lgpl21Plus;
58 maintainers = with maintainers; [ hexa ];