2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook, gettext, makeWrapper
|
2020-04-24 23:36:52 +00:00
|
|
|
, alsaLib, libjack2, tk, fftw
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "puredata";
|
2020-05-03 17:38:23 +00:00
|
|
|
version = "0.50-2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://msp.ucsd.edu/Software/pd-${version}.src.tar.gz";
|
2020-05-03 17:38:23 +00:00
|
|
|
sha256 = "0dz6r6jy0zfs1xy1xspnrxxks8kddi9c7pxz4vpg2ygwv83ghpg5";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook gettext makeWrapper ];
|
|
|
|
|
|
|
|
buildInputs = [ alsaLib libjack2 fftw ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-alsa"
|
|
|
|
"--enable-jack"
|
|
|
|
"--enable-fftw"
|
|
|
|
"--disable-portaudio"
|
|
|
|
"--disable-oss"
|
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/pd --prefix PATH : ${tk}/bin
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = ''A real-time graphical programming environment for
|
|
|
|
audio, video, and graphical processing'';
|
|
|
|
homepage = "http://puredata.info";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
}
|