nixpkgs/pkgs/applications/audio/praat/default.nix
R. RyanTM 3b2b9c5315 praat: 6.0.40 -> 6.0.42 (#45545)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/praat/versions.
2018-08-24 09:59:48 +02:00

31 lines
763 B
Nix

{ stdenv, fetchurl, alsaLib, gtk2, pkgconfig }:
stdenv.mkDerivation rec {
name = "praat-${version}";
version = "6.0.42";
src = fetchurl {
url = "https://github.com/praat/praat/archive/v${version}.tar.gz";
sha256 = "1llcj1cq4k60lnr6jkdshd4l9nkg9yc2xmaqiinqryxrb58jmpcv";
};
configurePhase = ''
cp makefiles/makefile.defs.linux.alsa makefile.defs
'';
installPhase = ''
mkdir -p $out/bin
cp praat $out/bin
'';
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ alsaLib gtk2 ];
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
platforms = stdenv.lib.platforms.linux;
};
}