mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
30 lines
736 B
Nix
30 lines
736 B
Nix
{ stdenv, fetchurl, alsaLib, gtk2, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "praat-${version}";
|
|
version = "5.4.17";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/praat/praat/archive/v${version}.tar.gz";
|
|
sha256 = "0s2hrksghg686059vc90h3ywhd2702pqcvy99icw27q5mdk6dqsx";
|
|
};
|
|
|
|
configurePhase = ''
|
|
cp makefiles/makefile.defs.linux.alsa makefile.defs
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp praat $out/bin
|
|
'';
|
|
|
|
buildInputs = [ alsaLib gtk2 pkgconfig ];
|
|
|
|
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;
|
|
};
|
|
}
|