{ lib , stdenv , cmake , fetchFromGitHub }: stdenv.mkDerivation rec { pname = "sptk"; version = "4.0"; src = fetchFromGitHub { owner = "sp-nitech"; repo = "SPTK"; rev = "v${version}"; hash = "sha256-Be3Pbg+vt/P3FplZN7yBL+HVq/BmzaBcwKOBsbH7r9g="; }; nativeBuildInputs = [ cmake ]; doCheck = true; meta = with lib; { changelog = "https://github.com/sp-nitech/SPTK/releases/tag/v${version}"; description = "Suite of speech signal processing tools"; homepage = "https://github.com/sp-nitech/SPTK"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; }