14 stdenv.mkDerivation rec {
18 src = fetchFromGitHub {
22 sha256 = "1i5chfnf3hcivwzni9z6cn9pb68qmwsx8bf4z7d29a5vig8kbhrv";
23 fetchSubmodules = true;
27 # Fix build against glibc-2.38.
29 name = "glibc-2.38.patch";
30 url = "https://github.com/brummer10/libxputty/commit/7eb70bf3f7bce0af9e1919d6c875cdb8efca734e.patch";
31 hash = "sha256-VspR0KJjBt4WOrnlo7rHw1oAYM1d2RSz6JhuAEfsO3M=";
33 extraPrefix = "libxputty/";
37 nativeBuildInputs = [ pkg-config ];
38 buildInputs = [ cairo libX11 libjack2 liblo libsigcxx zita-resampler fftwFloat ];
40 makeFlags = [ "PREFIX=$(out)" ];
42 enableParallelBuilding = true;
45 homepage = "https://github.com/brummer10/XTuner";
46 description = "Tuner for Jack Audio Connection Kit";
47 license = licenses.gpl2Plus;
48 maintainers = with maintainers; [ magnetophon ];
49 platforms = platforms.linux;
50 mainProgram = "xtuner";