3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/praat/default.nix

35 lines
890 B
Nix
Raw Normal View History

2021-06-30 14:29:45 +01:00
{ lib, stdenv, fetchFromGitHub, pkg-config, wrapGAppsHook, alsa-lib, gtk3, libpulseaudio }:
2012-08-27 19:25:54 +01:00
2015-12-15 02:56:28 +00:00
stdenv.mkDerivation rec {
pname = "praat";
2021-06-30 14:29:45 +01:00
version = "6.1.50";
2014-03-07 13:59:51 +00:00
2021-06-30 14:29:45 +01:00
src = fetchFromGitHub {
owner = "praat";
repo = "praat";
rev = "v${version}";
sha256 = "11cw4292pml71hdnfy8y91blwyh45dyam1ywr09355zk44c5njpq";
2012-08-27 19:25:54 +01:00
};
configurePhase = ''
2021-06-30 14:29:45 +01:00
cp makefiles/makefile.defs.linux.pulse makefile.defs
2012-08-27 19:25:54 +01:00
'';
installPhase = ''
2021-06-30 14:29:45 +01:00
install -Dt $out/bin praat
2012-08-27 19:25:54 +01:00
'';
2021-06-30 14:29:45 +01:00
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
buildInputs = [ alsa-lib gtk3 libpulseaudio ];
2012-08-27 19:25:54 +01:00
2021-06-30 14:29:45 +01:00
enableParallelBuilding = true;
meta = with lib; {
2012-08-27 19:25:54 +01:00
description = "Doing phonetics by computer";
homepage = "https://www.fon.hum.uva.nl/praat/";
2021-06-30 14:29:45 +01:00
license = licenses.gpl2Plus; # Has some 3rd-party code in it though
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
2012-08-27 19:25:54 +01:00
};
}