1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 10:31:36 +00:00
nixpkgs/pkgs/applications/audio/praat/default.nix

30 lines
734 B
Nix
Raw Normal View History

2014-03-07 13:59:51 +00:00
{ stdenv, fetchurl, alsaLib, gtk, pkgconfig }:
2012-08-27 19:25:54 +01:00
2015-12-15 02:56:28 +00:00
stdenv.mkDerivation rec {
2014-11-19 12:31:09 +00:00
name = "praat-${version}";
2015-12-15 02:56:28 +00:00
version = "5.4.17";
2014-03-07 13:59:51 +00:00
2012-08-27 19:25:54 +01:00
src = fetchurl {
2015-12-15 02:56:28 +00:00
url = "https://github.com/praat/praat/archive/v${version}.tar.gz";
sha256 = "0s2hrksghg686059vc90h3ywhd2702pqcvy99icw27q5mdk6dqsx";
2012-08-27 19:25:54 +01:00
};
configurePhase = ''
2014-03-07 13:59:51 +00:00
cp makefiles/makefile.defs.linux.alsa makefile.defs
2012-08-27 19:25:54 +01:00
'';
installPhase = ''
mkdir -p $out/bin
2012-08-27 19:25:54 +01:00
cp praat $out/bin
'';
buildInputs = [ alsaLib gtk 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
2014-03-07 14:01:13 +00:00
platforms = stdenv.lib.platforms.linux;
2012-08-27 19:25:54 +01:00
};
}