14 stdenv.mkDerivation rec {
19 url = "http://msp.ucsd.edu/Software/pd-${version}.src.tar.gz";
20 hash = "sha256-hcPUvTYgtAHntdWEeHoFIIKylMTE7us1g9dwnZP9BMI=";
23 nativeBuildInputs = [ autoreconfHook gettext makeWrapper ];
28 ] ++ lib.optionals stdenv.hostPlatform.isLinux [
30 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
38 ] ++ lib.optionals stdenv.hostPlatform.isLinux [
40 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
42 "--without-local-portaudio"
43 "--disable-jack-framework"
44 "--with-wish=${tk}/bin/wish8.6"
48 wrapProgram $out/bin/pd --prefix PATH : ${lib.makeBinPath [ tk ]}
52 description = ''A real-time graphical programming environment for audio, video, and graphical processing'';
53 homepage = "http://puredata.info";
54 license = licenses.bsd3;
55 platforms = platforms.linux ++ platforms.darwin;
56 maintainers = with maintainers; [ carlthome ];
58 changelog = "https://msp.puredata.info/Pd_documentation/x5.htm#s1";