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

35 lines
889 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";
2022-02-12 23:15:26 +00:00
version = "6.2.07";
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}";
2022-02-12 23:15:26 +00:00
sha256 = "sha256-MM8uC1+d1P7aZI460fCcHWtE7+xfJV1ZFj2cdp/b1rY=";
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
};
}