From 509ea2888aa6b25457c4904210d80e17e6d2e3a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cillian=20de=20R=C3=B3iste?= Date: Sat, 6 Apr 2013 01:41:53 +0200 Subject: [PATCH] PureData: Update to 0.44, add support for JACK and fix wrapper --- pkgs/applications/audio/puredata/default.nix | 21 +++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/audio/puredata/default.nix b/pkgs/applications/audio/puredata/default.nix index e2563b8fe06f..b1df008398db 100644 --- a/pkgs/applications/audio/puredata/default.nix +++ b/pkgs/applications/audio/puredata/default.nix @@ -1,24 +1,31 @@ -{ stdenv, fetchurl, alsaLib, autoconf, automake, fftw, gettext, glib, -libX11, libtool, tcl, tk }: +{ stdenv, fetchurl, alsaLib, autoconf, automake, fftw, gettext, glib +, jackaudio, libX11, libtool, makeWrapper, pkgconfig, tcl, tk +}: stdenv.mkDerivation rec { name = "puredata-${version}"; - version = "0.43-0"; + version = "0.44-0"; src = fetchurl { url = "mirror://sourceforge/pure-data/pd-${version}.src.tar.gz"; - sha256 = "1qfq7x8vj12kr0cdrnbvmxfhc03flicc6vcc8bz6hwrrakwciyz2"; + sha256 = "031bvqfnlpfx0y5n0l5rmslziqc6jgmk99x1prgh1rmhjhjdnijw"; }; - buildInputs = [ alsaLib autoconf automake fftw gettext glib libX11 - libtool tcl tk ]; + buildInputs = [ + alsaLib autoconf automake fftw gettext glib jackaudio libX11 + libtool makeWrapper pkgconfig tcl tk + ]; preConfigure = '' ./autogen.sh ''; + postInstall = '' + wrapProgram $out/bin/pd --prefix PATH : ${tk}/bin + ''; + meta = with stdenv.lib; { - description = ''Real-time graphical programming environment for + description = ''A real-time graphical programming environment for audio, video, and graphical processing''; homepage = http://puredata.info; license = licenses.bsd3;