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.
36 lines
883 B
Nix
36 lines
883 B
Nix
# alsaLib vorbis-tools python can be made optional
|
|
|
|
{ stdenv, fetchurl, python, tcl, tk, vorbis-tools, pkg-config, xlibsWrapper }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "snack-2.2.10";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.speech.kth.se/snack/dist/snack2.2.10.tar.gz";
|
|
sha256 = "07p89jv9qnjqkszws9sssq93ayvwpdnkcxrvyicbm4mb8x2pdzjb";
|
|
};
|
|
|
|
configureFlags = [ "--with-tcl=${tcl}/lib" "--with-tk=${tk}/lib" ];
|
|
|
|
postUnpack = ''sourceRoot="$sourceRoot/unix"'';
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ python tcl tk vorbis-tools xlibsWrapper ];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
postInstall = "aoeu";
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
make install DESTDIR="$out"
|
|
'';
|
|
|
|
meta = {
|
|
description = "The Snack Sound Toolkit (Tcl)";
|
|
homepage = "http://www.speech.kth.se/snack/";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
broken = true;
|
|
};
|
|
}
|