9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
30 lines
749 B
Nix
30 lines
749 B
Nix
{ lib, stdenv, fetchurl, alsaLib, gtk2, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "praat";
|
|
version = "6.0.43";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/praat/praat/archive/v${version}.tar.gz";
|
|
sha256 = "1l13bvnl7sv8v6s5z63201bhzavnj6bnqcj446akippsam13z4sf";
|
|
};
|
|
|
|
configurePhase = ''
|
|
cp makefiles/makefile.defs.linux.alsa makefile.defs
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp praat $out/bin
|
|
'';
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ alsaLib gtk2 ];
|
|
|
|
meta = {
|
|
description = "Doing phonetics by computer";
|
|
homepage = "https://www.fon.hum.uva.nl/praat/";
|
|
license = lib.licenses.gpl2Plus; # Has some 3rd-party code in it though
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|