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