timbreID: 0.6.0 -> 0.7.0

This commit is contained in:
Bart Brouns 2017-12-07 13:42:37 +01:00
parent 11d0cccf56
commit c6fd8415a6
2 changed files with 21 additions and 9 deletions

View File

@ -1,30 +1,40 @@
{ stdenv, fetchurl, unzip, puredata }: { stdenv, fetchurl, unzip, puredata, fftw }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.6.0"; version = "0.7.0";
name = "timbreid-${version}"; name = "timbreid-${version}";
src = fetchurl { src = fetchurl {
url = "http://williambrent.conflations.com/pd/timbreID-${version}-src.zip"; url = "http://williambrent.conflations.com/pd/timbreID-${version}-src.zip";
sha256 = "02rnkb0vpjxrr60c3hryv7zhyjpci2mi9dk27kjxpj5zp26gjk0p"; sha256 = "14k2xk5zrzrw1zprdbwx45hrlc7ck8vq4drpd3l455i5r8yk4y6b";
}; };
buildInputs = [ unzip puredata ]; buildInputs = [ unzip puredata fftw ];
unpackPhase = '' unpackPhase = ''
mkdir source
cd source
unzip $src unzip $src
mv timbreID-0.6.0-src/tID/* .
rm -rf timbreID-0.6.0-src/tID/
rm -rf timbreID-0.6.0-src/INSTALL.txt
''; '';
buildPhase = ''
make tIDLib.o all
'';
installPhase = '' installPhase = ''
mkdir -p $out/ mkdir -p $out/
cp -r *.pd $out/ cp -r *.pd $out/
cp -r *.pd_linux $out/ cp -r *.pd_linux $out/
cp -r *.wav $out/ cp -r audio/ $out/
cp -r data/ $out/
cp -r doc/ $out/
''; '';
postFixup = ''
mv $out/share/doc/ $out/
rm -rf $out/share/
'';
meta = { meta = {
description = "A collection of audio feature analysis externals for puredata"; description = "A collection of audio feature analysis externals for puredata";
homepage = http://williambrent.conflations.com/pages/research.html; homepage = http://williambrent.conflations.com/pages/research.html;

View File

@ -16982,7 +16982,9 @@ with pkgs;
gtk = gtk3; gtk = gtk3;
}; };
timbreid = callPackage ../applications/audio/pd-plugins/timbreid { }; timbreid = callPackage ../applications/audio/pd-plugins/timbreid {
fftw = fftwSinglePrec;
};
timescaledb = callPackage ../servers/sql/postgresql/timescaledb {}; timescaledb = callPackage ../servers/sql/postgresql/timescaledb {};