1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00
nixpkgs/pkgs/development/libraries/sphinxbase/default.nix
Shea Levy ca116f76f9 Unmaintain a bunch of packages
Trying to take maintainership more seriously...

Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-21 22:34:41 -05:00

35 lines
723 B
Nix

{ stdenv
, fetchurl
, bison
, pkgconfig
, multipleOutputs ? false #Uses incomplete features of nix!
}:
stdenv.mkDerivation (rec {
name = "sphinxbase-0.7";
src = fetchurl {
url = "mirror://sourceforge/cmusphinx/${name}.tar.gz";
sha256 = "1v3kfzw42ahxmr002i6wqigs832958vgghrv5dd62zazajdbk71q";
};
buildInputs = [ pkgconfig bison ];
meta = {
description = "Support Library for Pocketsphinx";
homepage = http://cmusphinx.sourceforge.net;
license = "free-non-copyleft";
};
} // (stdenv.lib.optionalAttrs multipleOutputs {
outputs = [ "out" "lib" "headers" ];
postInstall = ''
mkdir -p $lib
cp -av $out/lib* $lib
mkdir -p $headers
cp -av $out/include $headers
'';
}))