2014-03-07 17:59:51 +04:00
|
|
|
{ stdenv, fetchurl, alsaLib, gtk, pkgconfig }:
|
2012-08-27 22:25:54 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-03-07 17:59:51 +04:00
|
|
|
name = "praat-5365";
|
|
|
|
|
2012-08-27 22:25:54 +04:00
|
|
|
src = fetchurl {
|
2014-03-07 17:59:51 +04:00
|
|
|
url = http://www.fon.hum.uva.nl/praat/praat5365_sources.tar.gz;
|
|
|
|
sha256 = "1w3mcq0mipx88i7ckhvzhmdj0p67nhppnn7kbkp21d01yyyz5rgq";
|
2012-08-27 22:25:54 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
configurePhase = ''
|
2014-03-07 17:59:51 +04:00
|
|
|
cp makefiles/makefile.defs.linux.alsa makefile.defs
|
2012-08-27 22:25:54 +04: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 18:01:13 +04:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-08-27 22:25:54 +04:00
|
|
|
};
|
|
|
|
}
|