2016-09-11 14:24:51 -07:00
|
|
|
{ stdenv, fetchurl, alsaLib, gtk2, pkgconfig }:
|
2012-08-27 11:25:54 -07:00
|
|
|
|
2015-12-14 18:56:28 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "praat";
|
2018-09-20 14:55:54 -07:00
|
|
|
version = "6.0.43";
|
2014-03-07 05:59:51 -08:00
|
|
|
|
2012-08-27 11:25:54 -07:00
|
|
|
src = fetchurl {
|
2015-12-14 18:56:28 -08:00
|
|
|
url = "https://github.com/praat/praat/archive/v${version}.tar.gz";
|
2018-09-20 14:55:54 -07:00
|
|
|
sha256 = "1l13bvnl7sv8v6s5z63201bhzavnj6bnqcj446akippsam13z4sf";
|
2012-08-27 11:25:54 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
configurePhase = ''
|
2014-03-07 05:59:51 -08:00
|
|
|
cp makefiles/makefile.defs.linux.alsa makefile.defs
|
2012-08-27 11:25:54 -07:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2014-06-30 05:56:10 -07:00
|
|
|
mkdir -p $out/bin
|
2012-08-27 11:25:54 -07:00
|
|
|
cp praat $out/bin
|
|
|
|
'';
|
|
|
|
|
2017-09-05 14:26:13 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ alsaLib gtk2 ];
|
2012-08-27 11:25:54 -07:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Doing phonetics by computer";
|
2020-10-02 00:58:50 -07:00
|
|
|
homepage = "https://www.fon.hum.uva.nl/praat/";
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus; # Has some 3rd-party code in it though
|
2014-03-07 06:01:13 -08:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-08-27 11:25:54 -07:00
|
|
|
};
|
|
|
|
}
|