2016-09-11 23:24:51 +02:00
|
|
|
{ stdenv, fetchurl, alsaLib, gtk2, pkgconfig }:
|
2012-08-27 20:25:54 +02:00
|
|
|
|
2015-12-15 03:56:28 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-11-19 13:31:09 +01:00
|
|
|
name = "praat-${version}";
|
2018-08-24 09:59:48 +02:00
|
|
|
version = "6.0.42";
|
2014-03-07 14:59:51 +01:00
|
|
|
|
2012-08-27 20:25:54 +02:00
|
|
|
src = fetchurl {
|
2015-12-15 03:56:28 +01:00
|
|
|
url = "https://github.com/praat/praat/archive/v${version}.tar.gz";
|
2018-08-24 09:59:48 +02:00
|
|
|
sha256 = "1llcj1cq4k60lnr6jkdshd4l9nkg9yc2xmaqiinqryxrb58jmpcv";
|
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
|
|
|
|
'';
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ alsaLib gtk2 ];
|
2012-08-27 20:25:54 +02:00
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|