2014-03-07 17:59:51 +04:00
|
|
|
{ stdenv, fetchurl, alsaLib, gtk, pkgconfig }:
|
2012-08-27 22:25:54 +04:00
|
|
|
|
2015-09-01 12:12:36 +03:00
|
|
|
let version = "5417"; in
|
2012-08-27 22:25:54 +04:00
|
|
|
stdenv.mkDerivation {
|
2014-11-19 15:31:09 +03:00
|
|
|
name = "praat-${version}";
|
2014-03-07 17:59:51 +04:00
|
|
|
|
2012-08-27 22:25:54 +04:00
|
|
|
src = fetchurl {
|
2014-11-19 15:31:09 +03:00
|
|
|
url = "http://www.fon.hum.uva.nl/praat/praat${version}_sources.tar.gz";
|
2015-09-01 12:12:36 +03:00
|
|
|
sha256 = "1bspl963pb1s6k3cd9p3g5j518pxg6hkrann945lqsrvbzaa20kl";
|
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 = ''
|
2014-06-30 16:56:10 +04:00
|
|
|
mkdir -p $out/bin
|
2012-08-27 22:25:54 +04: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 08:19:00 +04:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus; # 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
|
|
|
};
|
|
|
|
}
|