2013-04-05 23:41:53 +00:00
|
|
|
{ stdenv, fetchurl, alsaLib, autoconf, automake, fftw, gettext, glib
|
|
|
|
, jackaudio, libX11, libtool, makeWrapper, pkgconfig, tcl, tk
|
|
|
|
}:
|
2011-04-07 20:54:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "puredata-${version}";
|
2013-04-05 23:41:53 +00:00
|
|
|
version = "0.44-0";
|
2011-04-07 20:54:33 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/pure-data/pd-${version}.src.tar.gz";
|
2013-04-05 23:41:53 +00:00
|
|
|
sha256 = "031bvqfnlpfx0y5n0l5rmslziqc6jgmk99x1prgh1rmhjhjdnijw";
|
2011-04-07 20:54:33 +00:00
|
|
|
};
|
|
|
|
|
2013-04-05 23:41:53 +00:00
|
|
|
buildInputs = [
|
|
|
|
alsaLib autoconf automake fftw gettext glib jackaudio libX11
|
|
|
|
libtool makeWrapper pkgconfig tcl tk
|
|
|
|
];
|
2011-04-07 20:54:33 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2013-04-05 23:41:53 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/pd --prefix PATH : ${tk}/bin
|
|
|
|
'';
|
|
|
|
|
2011-04-07 20:54:33 +00:00
|
|
|
meta = with stdenv.lib; {
|
2013-04-05 23:41:53 +00:00
|
|
|
description = ''A real-time graphical programming environment for
|
2011-04-07 20:54:33 +00:00
|
|
|
audio, video, and graphical processing'';
|
|
|
|
homepage = http://puredata.info;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
}
|