mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
98d3404f5c
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. These checks were done: - built on NixOS - ran `/nix/store/ip7a4lqz98n8dx635131vi3pijyv3kci-praat-6.0.38/bin/praat --help` got 0 exit code - ran `/nix/store/ip7a4lqz98n8dx635131vi3pijyv3kci-praat-6.0.38/bin/praat --version` and found version 6.0.38 - found 6.0.38 with grep in /nix/store/ip7a4lqz98n8dx635131vi3pijyv3kci-praat-6.0.38 - directory tree listing: https://gist.github.com/3cbb0648e4b084a658f6dd5b7c8ed3a4
31 lines
763 B
Nix
31 lines
763 B
Nix
{ stdenv, fetchurl, alsaLib, gtk2, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "praat-${version}";
|
|
version = "6.0.38";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/praat/praat/archive/v${version}.tar.gz";
|
|
sha256 = "1l01mdhd0kf6mnyrg8maydr56cpw4312gryk303kr0a4w0gwzhhc";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|