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 { };