Loading pkgs/applications/audio/ekho/default.nix +40 −24 Original line number Diff line number Diff line { lib, stdenv, fetchurl, pkg-config , libsndfile, libpulseaudio { lib , stdenv , fetchFromGitHub , pkg-config , autoconf , automake , libtool , libsndfile , libpulseaudio , espeak-ng , sonic , utf8cpp , AudioUnit }: let version = "5.8.2"; in stdenv.mkDerivation rec { stdenv.mkDerivation rec { pname = "ekho"; inherit version; version = "9.0"; src = fetchFromGitHub { owner = "hgneng"; repo = "ekho"; rev = "v${version}"; hash = "sha256-VYN9tR3BJXd3UA0V5vqQJNItJe1e1knZ+S7tLeaeYYk="; }; preConfigure = '' ./autogen.sh ''; CXXFLAGS = [ "-O0" "-I${lib.getDev utf8cpp}/include/utf8cpp" ]; nativeBuildInputs = [ pkg-config autoconf automake libtool ]; buildInputs = [ libsndfile libpulseaudio espeak-ng sonic utf8cpp ] ++ lib.optionals stdenv.isDarwin [ AudioUnit ]; meta = with lib; { description = "Chinese text-to-speech software"; Loading @@ -19,21 +49,7 @@ in stdenv.mkDerivation rec { Yuan Dynasty) and Korean (in trial). ''; license = licenses.gpl2Plus; platforms = platforms.linux; hydraPlatforms = []; platforms = platforms.linux ++ platforms.darwin; maintainers = with maintainers; [ aaronjheng ]; }; src = fetchurl { url = "mirror://sourceforge/e-guidedog/Ekho/${version}/${pname}-${version}.tar.xz"; sha256 = "0ym6lpcpsvwvsiwlzkl1509a2hljwcw7synngrmqjq1n49ww00nj"; }; preConfigure = with lib; '' NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE ${optionalString stdenv.is64bit "-D_x86_64"}" NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -DEKHO_DATA_PATH=\"$out/share/ekho-data\"" ''; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libsndfile libpulseaudio ]; } pkgs/top-level/all-packages.nix +3 −1 Original line number Diff line number Diff line Loading @@ -31310,7 +31310,9 @@ with pkgs; oed = callPackage ../applications/editors/oed { }; ekho = callPackage ../applications/audio/ekho { }; ekho = callPackage ../applications/audio/ekho { inherit (darwin.apple_sdk.frameworks) AudioUnit; }; electron-cash = libsForQt5.callPackage ../applications/misc/electron-cash { }; Loading
pkgs/applications/audio/ekho/default.nix +40 −24 Original line number Diff line number Diff line { lib, stdenv, fetchurl, pkg-config , libsndfile, libpulseaudio { lib , stdenv , fetchFromGitHub , pkg-config , autoconf , automake , libtool , libsndfile , libpulseaudio , espeak-ng , sonic , utf8cpp , AudioUnit }: let version = "5.8.2"; in stdenv.mkDerivation rec { stdenv.mkDerivation rec { pname = "ekho"; inherit version; version = "9.0"; src = fetchFromGitHub { owner = "hgneng"; repo = "ekho"; rev = "v${version}"; hash = "sha256-VYN9tR3BJXd3UA0V5vqQJNItJe1e1knZ+S7tLeaeYYk="; }; preConfigure = '' ./autogen.sh ''; CXXFLAGS = [ "-O0" "-I${lib.getDev utf8cpp}/include/utf8cpp" ]; nativeBuildInputs = [ pkg-config autoconf automake libtool ]; buildInputs = [ libsndfile libpulseaudio espeak-ng sonic utf8cpp ] ++ lib.optionals stdenv.isDarwin [ AudioUnit ]; meta = with lib; { description = "Chinese text-to-speech software"; Loading @@ -19,21 +49,7 @@ in stdenv.mkDerivation rec { Yuan Dynasty) and Korean (in trial). ''; license = licenses.gpl2Plus; platforms = platforms.linux; hydraPlatforms = []; platforms = platforms.linux ++ platforms.darwin; maintainers = with maintainers; [ aaronjheng ]; }; src = fetchurl { url = "mirror://sourceforge/e-guidedog/Ekho/${version}/${pname}-${version}.tar.xz"; sha256 = "0ym6lpcpsvwvsiwlzkl1509a2hljwcw7synngrmqjq1n49ww00nj"; }; preConfigure = with lib; '' NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE ${optionalString stdenv.is64bit "-D_x86_64"}" NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -DEKHO_DATA_PATH=\"$out/share/ekho-data\"" ''; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libsndfile libpulseaudio ]; }
pkgs/top-level/all-packages.nix +3 −1 Original line number Diff line number Diff line Loading @@ -31310,7 +31310,9 @@ with pkgs; oed = callPackage ../applications/editors/oed { }; ekho = callPackage ../applications/audio/ekho { }; ekho = callPackage ../applications/audio/ekho { inherit (darwin.apple_sdk.frameworks) AudioUnit; }; electron-cash = libsForQt5.callPackage ../applications/misc/electron-cash { };