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

31 lines
755 B
Nix
Raw Normal View History

{ stdenv, fetchurl, alsaLib, gtk2, pkgconfig }:
2012-08-27 22:25:54 +04:00
2015-12-15 05:56:28 +03:00
stdenv.mkDerivation rec {
pname = "praat";
version = "6.0.43";
2014-03-07 17:59:51 +04:00
2012-08-27 22:25:54 +04:00
src = fetchurl {
2015-12-15 05:56:28 +03:00
url = "https://github.com/praat/praat/archive/v${version}.tar.gz";
sha256 = "1l13bvnl7sv8v6s5z63201bhzavnj6bnqcj446akippsam13z4sf";
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 = ''
mkdir -p $out/bin
2012-08-27 22:25:54 +04:00
cp praat $out/bin
'';
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ alsaLib gtk2 ];
2012-08-27 22:25:54 +04:00
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 18:01:13 +04:00
platforms = stdenv.lib.platforms.linux;
2012-08-27 22:25:54 +04:00
};
}