21 stdenv.mkDerivation rec {
23 version = "unstable-2022-09-15";
25 src = fetchFromGitHub {
28 rev = "e0606feecff70f0fd4226ff8f116e46817dd7462";
29 hash = "sha256-/4eKny9M2e8Lb9LOiKBj9QLE00CAaD+2ZAwn48lnvKQ=";
30 fetchSubmodules = true;
34 # Ignore the freetype sources bundled as a submodule:
35 # /nix/store/…-harfbuzz-7.0.0/lib/libharfbuzz.so.0: undefined reference to `FT_Get_Transform'
36 ./0001-Avoid-using-vendored-dependencies-we-have-in-nixpkgs.patch
39 nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook autoPatchelfHook ];
57 cp in-formant $out/bin
58 install -Dm444 $src/dist-res/in-formant.desktop -t $out/share/applications
59 install -Dm444 $src/dist-res/in-formant.png -t $out/share/icons/hicolor/512x512/apps
63 description = "Real-time pitch and formant tracking software";
64 mainProgram = "in-formant";
65 homepage = "https://github.com/in-formant/in-formant";
66 license = licenses.asl20;
67 # currently broken on i686-linux and aarch64-linux due to other nixpkgs dependencies
68 platforms = [ "x86_64-linux" ];