nixpkgs/pkgs/applications/audio/praat/default.nix

29 lines
700 B
Nix
Raw Normal View History

2014-03-07 14:59:51 +01:00
{ stdenv, fetchurl, alsaLib, gtk, pkgconfig }:
2012-08-27 20:25:54 +02:00
stdenv.mkDerivation {
2014-03-07 14:59:51 +01:00
name = "praat-5365";
2012-08-27 20:25:54 +02:00
src = fetchurl {
2014-03-07 14:59:51 +01:00
url = http://www.fon.hum.uva.nl/praat/praat5365_sources.tar.gz;
sha256 = "1w3mcq0mipx88i7ckhvzhmdj0p67nhppnn7kbkp21d01yyyz5rgq";
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 = ''
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 = 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
};
}