2014-03-07 13:59:51 +00:00
|
|
|
{ stdenv, fetchurl, alsaLib, gtk, pkgconfig }:
|
2012-08-27 18:25:54 +00:00
|
|
|
|
2014-11-19 12:31:09 +00:00
|
|
|
let version = "5401"; in
|
2012-08-27 18:25:54 +00:00
|
|
|
stdenv.mkDerivation {
|
2014-11-19 12:31:09 +00:00
|
|
|
name = "praat-${version}";
|
2014-03-07 13:59:51 +00:00
|
|
|
|
2012-08-27 18:25:54 +00:00
|
|
|
src = fetchurl {
|
2014-11-19 12:31:09 +00:00
|
|
|
url = "http://www.fon.hum.uva.nl/praat/praat${version}_sources.tar.gz";
|
|
|
|
sha256 = "1hx0simc0hp5w5scyaiw8h8lrpafra4h1zy1jn1kzb0299yd06n3";
|
2012-08-27 18:25:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configurePhase = ''
|
2014-03-07 13:59:51 +00:00
|
|
|
cp makefiles/makefile.defs.linux.alsa makefile.defs
|
2012-08-27 18:25:54 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2014-06-30 12:56:10 +00:00
|
|
|
mkdir -p $out/bin
|
2012-08-27 18:25:54 +00: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 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus; # Has some 3rd-party code in it though
|
2014-03-07 14:01:13 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-08-27 18:25:54 +00:00
|
|
|
};
|
|
|
|
}
|