nixpkgs/pkgs/applications/audio/praat/default.nix
Ryan Mulligan 7c77ab5100 praat: 5.4.17 -> 6.0.37
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/igl5hb1k2wwkms75y5vfs5cvd7a32i34-praat-6.0.37/bin/praat --help` got 0 exit code
- ran `/nix/store/igl5hb1k2wwkms75y5vfs5cvd7a32i34-praat-6.0.37/bin/praat help` got 0 exit code
- ran `/nix/store/igl5hb1k2wwkms75y5vfs5cvd7a32i34-praat-6.0.37/bin/praat --version` and found version 6.0.37
- found 6.0.37 with grep in /nix/store/igl5hb1k2wwkms75y5vfs5cvd7a32i34-praat-6.0.37
- found 6.0.37 in filename of file in /nix/store/igl5hb1k2wwkms75y5vfs5cvd7a32i34-praat-6.0.37
2018-03-01 15:56:32 +01:00

31 lines
763 B
Nix

{ stdenv, fetchurl, alsaLib, gtk2, pkgconfig }:
stdenv.mkDerivation rec {
name = "praat-${version}";
version = "6.0.37";
src = fetchurl {
url = "https://github.com/praat/praat/archive/v${version}.tar.gz";
sha256 = "1c675jfzcrwfn8lcswm5y5kmazkhnb0p4mzlf5sim57hms88ffjq";
};
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;
};
}