1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-22 16:26:48 -04:00
nixpkgs/pkgs/applications/audio/praat/default.nix

29 lines
680 B
Nix
Raw Normal View History

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