2014-03-07 13:59:51 +00:00
|
|
|
{ stdenv, fetchurl, alsaLib, gtk, pkgconfig }:
|
2012-08-27 19:25:54 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-03-07 13:59:51 +00:00
|
|
|
name = "praat-5365";
|
|
|
|
|
2012-08-27 19:25:54 +01:00
|
|
|
src = fetchurl {
|
2014-03-07 13:59:51 +00:00
|
|
|
url = http://www.fon.hum.uva.nl/praat/praat5365_sources.tar.gz;
|
|
|
|
sha256 = "1w3mcq0mipx88i7ckhvzhmdj0p67nhppnn7kbkp21d01yyyz5rgq";
|
2012-08-27 19:25:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
configurePhase = ''
|
2014-03-07 13:59:51 +00:00
|
|
|
cp makefiles/makefile.defs.linux.alsa makefile.defs
|
2012-08-27 19:25:54 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
ensureDir $out/bin
|
|
|
|
cp praat $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ alsaLib gtk pkgconfig ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Doing phonetics by computer";
|
|
|
|
homepage = http://www.fon.hum.uva.nl/praat/;
|
|
|
|
license = "GPLv2+"; # Has some 3rd-party code in it though
|
2014-03-07 14:01:13 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-08-27 19:25:54 +01:00
|
|
|
};
|
|
|
|
}
|