mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
35 lines
647 B
Nix
35 lines
647 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, joblib
|
|
, matplotlib
|
|
, six
|
|
, scikitlearn
|
|
, decorator
|
|
, audioread
|
|
, resampy
|
|
, soundfile
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "librosa";
|
|
version = "0.7.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "cca58a2d9a47e35be63a3ce36482d241453bfe9b14bde2005430f969bd7d013a";
|
|
};
|
|
|
|
propagatedBuildInputs = [ joblib matplotlib six scikitlearn decorator audioread resampy soundfile ];
|
|
|
|
# No tests
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Python module for audio and music processing";
|
|
homepage = "http://librosa.github.io/";
|
|
license = licenses.isc;
|
|
};
|
|
|
|
}
|