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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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-24 18:07:07 +00:00
version = "6.2.09";
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-24 18:07:07 +00:00
sha256 = "sha256-BhsbTFwxgWwMwe1ow0ppVsLjfMC7QMA/fq09Utwe+KA=";
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
};
}