summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorRick van Schijndel <Mindavi@users.noreply.github.com>2022-04-24 22:42:30 +0200
committerGitHub <noreply@github.com>2022-04-24 22:42:30 +0200
commit4f61af421a95d2d552e8c828458570a323b675cb (patch)
tree64bd2ccda8a61485f4e10c287f770c0fbd9b75ba /pkgs/development
parent87d34a6b8982e901b8e50096b8e79ebc0e66cda0 (diff)
parent9a9735fd9a19cf3c6f80e8f4c531d8f04bee2093 (diff)
downloadnixpkgs-4f61af421a95d2d552e8c828458570a323b675cb.tar
nixpkgs-4f61af421a95d2d552e8c828458570a323b675cb.tar.gz
nixpkgs-4f61af421a95d2d552e8c828458570a323b675cb.tar.bz2
nixpkgs-4f61af421a95d2d552e8c828458570a323b675cb.tar.lz
nixpkgs-4f61af421a95d2d552e8c828458570a323b675cb.tar.xz
nixpkgs-4f61af421a95d2d552e8c828458570a323b675cb.tar.zst
nixpkgs-4f61af421a95d2d552e8c828458570a323b675cb.zip
Merge pull request #170124 from armeenm/remove-pocketsphinx
pocketsphinx/sphinxbase/parlatype: remove
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/pocketsphinx/default.nix48
-rw-r--r--pkgs/development/libraries/sphinxbase/default.nix40
2 files changed, 0 insertions, 88 deletions
diff --git a/pkgs/development/libraries/pocketsphinx/default.nix b/pkgs/development/libraries/pocketsphinx/default.nix
deleted file mode 100644
index fadc1424083..00000000000
--- 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/development/libraries/sphinxbase/default.nix b/pkgs/development/libraries/sphinxbase/default.nix
deleted file mode 100644
index 43a70c50fed..00000000000
--- 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
-  '';
-}))