commit
360e8008f2
|
@ -5426,6 +5426,53 @@ let
|
|||
};
|
||||
|
||||
|
||||
|
||||
librosa = buildPythonPackage rec {
|
||||
name = "librosa-${version}";
|
||||
version = "0.4.0";
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/l/librosa/librosa-0.4.0.tar.gz";
|
||||
md5 = "8149a70a5a5783c3cceeb69de3e07458";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self;
|
||||
[ joblib matplotlib six scikitlearn decorator audioread samplerate ];
|
||||
};
|
||||
|
||||
joblib = buildPythonPackage rec {
|
||||
name = "joblib-${version}";
|
||||
version = "0.9.0b4";
|
||||
src = pkgs.fetchurl {
|
||||
url = https://pypi.python.org/packages/source/j/joblib/joblib-0.9.0b4.tar.gz;
|
||||
md5 = "e0d79a085d4773c7a61cd38b4fb6dad5";
|
||||
};
|
||||
};
|
||||
|
||||
samplerate = buildPythonPackage rec {
|
||||
name = "scikits.samplerate-${version}";
|
||||
version = "0.3.3";
|
||||
src = pkgs.fetchgit {
|
||||
url = https://github.com/ThomasLecocq/samplerate;
|
||||
rev = "7edb22b23f5aa8e7342aea0b538bdd0434988510";
|
||||
sha256 = "ec2a09819c38028283505090ee9839963d3557e73f6e8eb3348ff8884d0d67ed";
|
||||
};
|
||||
buildInputs = with self; [ pkgs.libsamplerate ];
|
||||
|
||||
propagatedBuildInputs = with self; [ numpy ];
|
||||
|
||||
|
||||
preConfigure = ''
|
||||
cat > site.cfg << END
|
||||
[samplerate]
|
||||
library_dirs=${pkgs.libsamplerate}/lib
|
||||
include_dirs=${pkgs.libsamplerate}/include
|
||||
END
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
|
||||
hypatia = buildPythonPackage rec {
|
||||
name = "hypatia-0.3";
|
||||
|
||||
|
|
Loading…
Reference in a new issue