From 3d957ef33b5603d025935b4950a423ddc5054f40 Mon Sep 17 00:00:00 2001 From: Armeen Mahdian Date: Sun, 24 Apr 2022 15:07:21 -0500 Subject: [PATCH 1/3] parlatype: remove --- pkgs/applications/audio/parlatype/default.nix | 66 ------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 - 3 files changed, 1 insertion(+), 68 deletions(-) delete mode 100644 pkgs/applications/audio/parlatype/default.nix diff --git a/pkgs/applications/audio/parlatype/default.nix b/pkgs/applications/audio/parlatype/default.nix deleted file mode 100644 index c1bb1102bf1b..000000000000 --- a/pkgs/applications/audio/parlatype/default.nix +++ /dev/null @@ -1,66 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config, meson, gtk3, at-spi2-core, dbus, gst_all_1, sphinxbase, pocketsphinx, ninja, gettext, appstream-glib, python3, glib, gobject-introspection, gsettings-desktop-schemas, itstool, wrapGAppsHook, hicolor-icon-theme }: - -stdenv.mkDerivation rec { - pname = "parlatype"; - version = "2.1"; - - src = fetchFromGitHub { - owner = "gkarsay"; - repo = pname; - rev = "v${version}"; - sha256 = "1k53q0kbwpnbgyr0lmfzf5sm4f93d8nbjrzdz9pdhzpxgihndg25"; - }; - - nativeBuildInputs = [ - pkg-config - meson - ninja - gettext - appstream-glib - python3 - gobject-introspection - itstool - wrapGAppsHook - ]; - - buildInputs = [ - gtk3 - at-spi2-core - dbus - gst_all_1.gstreamer - gst_all_1.gst-plugins-base - gst_all_1.gst-plugins-good - gst_all_1.gst-plugins-bad - gst_all_1.gst-plugins-ugly - gst_all_1.gst-libav - sphinxbase - pocketsphinx - glib - gsettings-desktop-schemas - hicolor-icon-theme - ]; - - postPatch = '' - chmod +x data/meson_post_install.py - patchShebangs data/meson_post_install.py - ''; - - doCheck = false; - - buildPhase = '' - export GST_PLUGIN_SYSTEM_PATH_1_0="$out/lib/gstreamer-1.0/:$GST_PLUGIN_SYSTEM_PATH_1_0" - ''; - - meta = with lib; { - description = "GNOME audio player for transcription"; - longDescription = '' - Parlatype is a minimal audio player for manual speech transcription, written for the GNOME desktop environment. - It plays audio sources to transcribe them in your favourite text application. - It’s intended to be useful for journalists, students, scientists and whoever needs to transcribe audio files. - ''; - homepage = "https://gkarsay.github.io/parlatype/"; - license = licenses.gpl3Plus; - maintainers = [ maintainers.melchips ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 6a42ebc5b5be..e30d78aa9179 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -912,6 +912,7 @@ mapAliases ({ paperless-ng = paperless-ngx; # Added 2022-04-11 parity = openethereum; # Added 2020-08-01 parity-ui = throw "parity-ui was removed because it was broken and unmaintained by upstream"; # Added 2022-01-10 + parlatype = throw "parlatype has been removed: unmaintained"; # Added 2022-04-24 parquet-cpp = throw "'parquet-cpp' has been renamed to/replaced by 'arrow-cpp'"; # Converted to throw 2022-02-22 patchmatrix = throw "'patchmatrix' has been renamed to/replaced by 'open-music-kontrollers.patchmatrix'"; # Added 2022-03-09 pass-otp = throw "'pass-otp' has been renamed to/replaced by 'pass.withExtensions'"; # Converted to throw 2022-02-22 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b9fef9911001..2ded3578cae9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -28642,8 +28642,6 @@ with pkgs; paraview = libsForQt5.callPackage ../applications/graphics/paraview { }; - parlatype = callPackage ../applications/audio/parlatype { }; - packet = callPackage ../development/tools/packet { }; packet-sd = callPackage ../development/tools/packet-sd { }; From 33207688a35841a0625c1d98034c6a1e607e1a97 Mon Sep 17 00:00:00 2001 From: Armeen Mahdian Date: Sun, 24 Apr 2022 15:09:08 -0500 Subject: [PATCH 2/3] pocketsphinx: remove --- .../libraries/pocketsphinx/default.nix | 48 ------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 - 3 files changed, 1 insertion(+), 50 deletions(-) delete mode 100644 pkgs/development/libraries/pocketsphinx/default.nix diff --git a/pkgs/development/libraries/pocketsphinx/default.nix b/pkgs/development/libraries/pocketsphinx/default.nix deleted file mode 100644 index fadc14240831..000000000000 --- a/pkgs/development/libraries/pocketsphinx/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ lib, stdenv -, fetchurl -, sphinxbase -, pkg-config -, python27 # >= 2.6 -, swig2 # 2.0 -}: - -stdenv.mkDerivation rec { - pname = "pocketsphinx"; - version = "5prealpha"; - - src = fetchurl { - url = "mirror://sourceforge/cmusphinx/pocketsphinx-${version}.tar.gz"; - sha256 = "1n9yazzdgvpqgnfzsbl96ch9cirayh74jmpjf7svs4i7grabanzg"; - }; - - propagatedBuildInputs = [ sphinxbase ]; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ python27 swig2 ]; - - meta = { - description = "Voice recognition library written in C"; - homepage = "http://cmusphinx.sourceforge.net"; - license = lib.licenses.free; - platforms = lib.platforms.linux; - }; -} - -/* Example usage: - - -1. - -$ cat << EOF > vocabulary.txt -oh mighty computer /1e-40/ -hello world /1e-30/ -EOF - -2. - -$ pocketsphinx_continuous -inmic yes -kws vocabulary.txt 2> /dev/null -# after you say "hello world": -hello world -... - -*/ diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index e30d78aa9179..b3c161679bff 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -999,6 +999,7 @@ mapAliases ({ plexpy = throw "'plexpy' has been renamed to/replaced by 'tautulli'"; # Converted to throw 2022-02-22 pltScheme = racket; # just to be sure pmtools = throw "'pmtools' has been renamed to/replaced by 'acpica-tools'"; # Converted to throw 2022-02-22 + pocketsphinx = throw "pocketsphinx has been removed: unmaintained"; # Added 2022-04-24 polarssl = throw "'polarssl' has been renamed to/replaced by 'mbedtls'"; # Converted to throw 2022-02-22 polysh = throw "polysh has been removed from nixpkgs as the upstream has abandoned the project"; # Added 2022-01-01 poppler_qt5 = throw "'poppler_qt5' has been renamed to/replaced by 'libsForQt5.poppler'"; # Converted to throw 2022-02-22 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2ded3578cae9..004cdb60bb1b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19929,8 +19929,6 @@ with pkgs; plib = callPackage ../development/libraries/plib { }; - pocketsphinx = callPackage ../development/libraries/pocketsphinx { }; - poco = callPackage ../development/libraries/poco { }; podofo = callPackage ../development/libraries/podofo { }; From 9a9735fd9a19cf3c6f80e8f4c531d8f04bee2093 Mon Sep 17 00:00:00 2001 From: Armeen Mahdian Date: Sun, 24 Apr 2022 15:23:04 -0500 Subject: [PATCH 3/3] sphinxbase: remove --- .../libraries/sphinxbase/default.nix | 40 ------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 - 3 files changed, 1 insertion(+), 42 deletions(-) delete mode 100644 pkgs/development/libraries/sphinxbase/default.nix diff --git a/pkgs/development/libraries/sphinxbase/default.nix b/pkgs/development/libraries/sphinxbase/default.nix deleted file mode 100644 index 43a70c50fed4..000000000000 --- a/pkgs/development/libraries/sphinxbase/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib, stdenv -, fetchurl -, bison -, pkg-config -, python27 # >= 2.6 -, swig2 # 2.0 -, multipleOutputs ? false #Uses incomplete features of nix! -}: - -stdenv.mkDerivation (rec { - pname = "sphinxbase"; - version = "5prealpha"; - - src = fetchurl { - url = "mirror://sourceforge/cmusphinx/sphinxbase-${version}.tar.gz"; - sha256 = "0vr4k8pv5a8nvq9yja7kl13b5lh0f9vha8fc8znqnm8bwmcxnazp"; - }; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ swig2 python27 bison ]; - - meta = { - description = "Support Library for Pocketsphinx"; - homepage = "http://cmusphinx.sourceforge.net"; - license = lib.licenses.bsd2; - platforms = lib.platforms.unix; - maintainers = with lib.maintainers; [ ]; - }; - -} // (lib.optionalAttrs multipleOutputs { - outputs = [ "out" "lib" "headers" ]; - - postInstall = '' - mkdir -p $lib - cp -av $out/lib* $lib - - mkdir -p $headers - cp -av $out/include $headers - ''; -})) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index b3c161679bff..c7b3c44dc0df 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1199,6 +1199,7 @@ mapAliases ({ spectral = neochat; # Added 2020-12-27 speech_tools = throw "'speech_tools' has been renamed to/replaced by 'speech-tools'"; # Converted to throw 2022-02-22 speedtest_cli = throw "'speedtest_cli' has been renamed to/replaced by 'speedtest-cli'"; # Converted to throw 2022-02-22 + sphinxbase = throw "sphinxbase has been removed: unmaintained"; # Added 2022-04-24 spice_gtk = throw "'spice_gtk' has been renamed to/replaced by 'spice-gtk'"; # Converted to throw 2022-02-22 spice_protocol = throw "'spice_protocol' has been renamed to/replaced by 'spice-protocol'"; # Converted to throw 2022-02-22 spidermonkey_1_8_5 = throw "spidermonkey_1_8_5 has been removed, because it is based on Firefox 4.0 from 2011"; # added 2021-05-03 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 004cdb60bb1b..62d806a97478 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20556,8 +20556,6 @@ with pkgs; sphinx-serve = with python3Packages; toPythonApplication sphinx-serve; - sphinxbase = callPackage ../development/libraries/sphinxbase { }; - sphinxsearch = callPackage ../servers/search/sphinxsearch { }; spice = callPackage ../development/libraries/spice { };