mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
35 lines
889 B
Nix
35 lines
889 B
Nix
{ lib, stdenv, fetchFromGitHub, pkg-config, wrapGAppsHook, alsa-lib, gtk3, libpulseaudio }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "praat";
|
|
version = "6.1.55";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "praat";
|
|
repo = "praat";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-PQVbrohIlmzKcG/8TzOBgyQWWaMH88voMNWAqEfyUWI=";
|
|
};
|
|
|
|
configurePhase = ''
|
|
cp makefiles/makefile.defs.linux.pulse makefile.defs
|
|
'';
|
|
|
|
installPhase = ''
|
|
install -Dt $out/bin praat
|
|
'';
|
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
|
buildInputs = [ alsa-lib gtk3 libpulseaudio ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Doing phonetics by computer";
|
|
homepage = "https://www.fon.hum.uva.nl/praat/";
|
|
license = licenses.gpl2Plus; # Has some 3rd-party code in it though
|
|
maintainers = with maintainers; [ orivej ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|