depot/third_party/nixpkgs/pkgs/development/python-modules/librosa/default.nix

35 lines
647 B
Nix
Raw Normal View History

{ 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;
};
}