mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-03 19:17:38 +03:00
commit
6e83548b0e
@ -1,30 +1,34 @@
|
|||||||
{ lib, stdenv, fetchurl, alsa-lib, gtk2, pkg-config }:
|
{ lib, stdenv, fetchFromGitHub, pkg-config, wrapGAppsHook, alsa-lib, gtk3, libpulseaudio }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "praat";
|
pname = "praat";
|
||||||
version = "6.0.43";
|
version = "6.1.50";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/praat/praat/archive/v${version}.tar.gz";
|
owner = "praat";
|
||||||
sha256 = "1l13bvnl7sv8v6s5z63201bhzavnj6bnqcj446akippsam13z4sf";
|
repo = "praat";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "11cw4292pml71hdnfy8y91blwyh45dyam1ywr09355zk44c5njpq";
|
||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
cp makefiles/makefile.defs.linux.alsa makefile.defs
|
cp makefiles/makefile.defs.linux.pulse makefile.defs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
install -Dt $out/bin praat
|
||||||
cp praat $out/bin
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
||||||
buildInputs = [ alsa-lib gtk2 ];
|
buildInputs = [ alsa-lib gtk3 libpulseaudio ];
|
||||||
|
|
||||||
meta = {
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "Doing phonetics by computer";
|
description = "Doing phonetics by computer";
|
||||||
homepage = "https://www.fon.hum.uva.nl/praat/";
|
homepage = "https://www.fon.hum.uva.nl/praat/";
|
||||||
license = lib.licenses.gpl2Plus; # Has some 3rd-party code in it though
|
license = licenses.gpl2Plus; # Has some 3rd-party code in it though
|
||||||
platforms = lib.platforms.linux;
|
maintainers = with maintainers; [ orivej ];
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user