From 4551a76c2cbe16116038a082fd814c3635c6dafb Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Mon, 4 Apr 2011 18:50:39 +0000 Subject: [PATCH] Add the pocketsphinx voice recognition library svn path=/nixpkgs/trunk/; revision=26686 --- .../libraries/pocketsphinx/default.nix | 21 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/libraries/pocketsphinx/default.nix diff --git a/pkgs/development/libraries/pocketsphinx/default.nix b/pkgs/development/libraries/pocketsphinx/default.nix new file mode 100644 index 000000000000..ec26d7bb35c9 --- /dev/null +++ b/pkgs/development/libraries/pocketsphinx/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, sphinxbase, pkgconfig }: + +stdenv.mkDerivation rec { + name = "pocketsphinx-0.6.1"; + + src = fetchurl { + url = "mirror://sourceforge/cmusphinx/${name}.tar.gz"; + sha256 = "1nnw7p3inplsgx0dkvgllri2bfzry2dd7mc9q4l47p11z2jflvvv"; + }; + + propagatedBuildInputs = [ sphinxbase ]; + + buildInputs = [ pkgconfig ]; + + meta = { + description = "Voice recognition library written in C"; + homepage = http://cmusphinx.sourceforge.net; + license = "free-non-copyleft"; + maintainers = [ stdenv.lib.maintainers.shlevy ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ba23268edb87..7ba8f90eb7e3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4024,6 +4024,8 @@ let plib = callPackage ../development/libraries/plib { }; + pocketsphinx = callPackage ../development/libraries/pocketsphinx { }; + podofo = callPackage ../development/libraries/podofo { }; polkit = callPackage ../development/libraries/polkit { };