in-formant: init at 2021-06-30

ckie e694aebd f584ae37

+47
+45
pkgs/applications/audio/in-formant/default.nix
···
··· 1 + { stdenv, cmake, lib, fetchFromGitHub, qt5, fftw, libtorch-bin, portaudio, eigen 2 + , xorg, pkg-config, autoPatchelfHook, soxr 3 + }: 4 + 5 + stdenv.mkDerivation rec { 6 + pname = "in-formant"; 7 + version = "2021-06-30"; 8 + 9 + # no Qt6 yet, so we're stuck in the last Qt5-supporting commit: https://github.com/NixOS/nixpkgs/issues/108008 10 + src = fetchFromGitHub { 11 + owner = "in-formant"; 12 + repo = "in-formant"; 13 + rev = "e28e628cf5ff0949a7b046d220cc884f6035f31a"; 14 + sha256 = "sha256-YvtV0wGUNmI/+GGxrIfTk/l8tqUsWgc/LAI17X+AWGI="; 15 + fetchSubmodules = true; 16 + }; 17 + 18 + nativeBuildInputs = [ cmake pkg-config qt5.wrapQtAppsHook autoPatchelfHook ]; 19 + 20 + buildInputs = [ 21 + qt5.qtbase 22 + qt5.qtquickcontrols 23 + qt5.qtquickcontrols2 24 + qt5.qtcharts 25 + fftw 26 + libtorch-bin 27 + portaudio 28 + eigen 29 + xorg.libxcb 30 + soxr 31 + ]; 32 + 33 + installPhase = '' 34 + mkdir -p $out/bin 35 + cp in-formant $out/bin 36 + ''; 37 + 38 + meta = with lib; { 39 + description = "A real-time pitch and formant tracking software"; 40 + homepage = "https://github.com/in-formant/in-formant"; 41 + license = licenses.asl20; 42 + platforms = platforms.linux; 43 + maintainers = with maintainers; [ ckie ]; 44 + }; 45 + }
+2
pkgs/top-level/all-packages.nix
··· 6279 6280 imgurbash2 = callPackage ../tools/graphics/imgurbash2 { }; 6281 6282 inadyn = callPackage ../tools/networking/inadyn { }; 6283 6284 incron = callPackage ../tools/system/incron { };
··· 6279 6280 imgurbash2 = callPackage ../tools/graphics/imgurbash2 { }; 6281 6282 + in-formant = callPackage ../applications/audio/in-formant { }; 6283 + 6284 inadyn = callPackage ../tools/networking/inadyn { }; 6285 6286 incron = callPackage ../tools/system/incron { };