2017-08-12 07:04:44 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2023-12-02 22:59:49 +00:00
|
|
|
flit-core,
|
2017-08-12 07:04:44 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "audioread";
|
2023-12-02 22:59:49 +00:00
|
|
|
version = "3.0.1";
|
|
|
|
pyproject = true;
|
2017-08-12 07:04:44 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-12-02 22:59:49 +00:00
|
|
|
hash = "sha256-rFRgpUmMSL3y6OdnQCWDpNzRP0QU0ob0LOQ3nos1Bm0=";
|
2017-08-12 07:04:44 +00:00
|
|
|
};
|
|
|
|
|
2023-12-02 22:59:49 +00:00
|
|
|
nativeBuildInputs = [ flit-core ];
|
|
|
|
|
2017-08-12 07:04:44 +00:00
|
|
|
# No tests, need to disable or py3k breaks
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Cross-platform audio decoding";
|
|
|
|
homepage = "https://github.com/sampsyo/audioread";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
2019-06-15 08:15:12 +00:00
|
|
|
}
|