Merge branch 'master' into staging
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
|
||||
callPackage ./generic.nix (args // {
|
||||
baseVersion = "1.10";
|
||||
revision = "13";
|
||||
sha256 = "144vl65z7bys43sxgb09mbisyf2nmh49wh0d957y0ksa9cyrgv13";
|
||||
revision = "14";
|
||||
sha256 = "072czy26vfjcqjww4qccsd29fzkb6mb8czamr4x76rdi9lwhpv8h";
|
||||
extraConfigureFlags = "--with-gnump";
|
||||
postPatch = ''
|
||||
sed -e 's@lang_flags "@&--std=c++11 @' -i src/build-data/cc/{gcc,clang}.txt
|
||||
'';
|
||||
})
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
callPackage ./generic.nix (args // {
|
||||
baseVersion = "1.11";
|
||||
revision = "32";
|
||||
sha256 = "0b4wgqyv6accsdh7fgr9as34r38f8r9024i6s3vhah6wiah7kddn";
|
||||
revision = "34";
|
||||
sha256 = "05hzffp0dxac7414a84z0fgv980cnfx55ch2y4vpg5nvin7m9bar";
|
||||
openssl = null;
|
||||
postPatch = "sed '1i#include <cmath>' -i src/tests/test_bigint.cpp";
|
||||
})
|
||||
|
||||
@@ -1,22 +1,21 @@
|
||||
{ fetchurl, stdenv, unzip }:
|
||||
{ fetchurl, fetchFromGitHub, stdenv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "crypto++-${version}";
|
||||
majorVersion = "5.6";
|
||||
version = "${majorVersion}.4";
|
||||
version = "${majorVersion}.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/cryptopp/cryptopp564.zip";
|
||||
sha256 = "1msar24a38rxzq0xgmjf09hzaw2lv6s48vnbbhfrf5awn1vh6hxy";
|
||||
src = fetchFromGitHub {
|
||||
owner = "weidai11";
|
||||
repo = "cryptopp";
|
||||
rev = "CRYPTOPP_5_6_5";
|
||||
sha256 = "1yk7jyf4va9425cg05llskpls2jm7n3jwy2hj5jm74zkr4mwpvl7";
|
||||
};
|
||||
|
||||
patches = with stdenv;
|
||||
lib.optional (system != "i686-cygwin") ./dll.patch
|
||||
++ lib.optional isDarwin ./GNUmakefile-darwin.patch;
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
configurePhase = let
|
||||
marchflags =
|
||||
|
||||
@@ -3,18 +3,17 @@
|
||||
|
||||
let
|
||||
ver_maj = "2.36";
|
||||
ver_min = "0";
|
||||
ver_min = "2";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gdk-pixbuf-${ver_maj}.${ver_min}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gdk-pixbuf/${ver_maj}/${name}.tar.xz";
|
||||
sha256 = "85ab52ce9f2c26327141b3dcf21cca3da6a3f8de84b95fa1e727d8871a23245c";
|
||||
sha256 = "3a082ad67d68b55970aed0b2034a06618167be98a42d5c70de736756b45d325d";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
outputBin = "dev";
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
@@ -27,14 +26,21 @@ stdenv.mkDerivation rec {
|
||||
|
||||
propagatedBuildInputs = [ glib libtiff libjpeg libpng jasper ];
|
||||
|
||||
configureFlags = "--with-libjasper --with-x11"
|
||||
+ stdenv.lib.optionalString (gobjectIntrospection != null) " --enable-introspection=yes"
|
||||
;
|
||||
|
||||
# on darwin, tests don't link
|
||||
preBuild = stdenv.lib.optionalString (stdenv.isDarwin && !doCheck) ''
|
||||
substituteInPlace Makefile --replace "docs tests" "docs"
|
||||
'';
|
||||
|
||||
configureFlags = "--with-libjasper --with-x11"
|
||||
+ stdenv.lib.optionalString (gobjectIntrospection != null) " --enable-introspection=yes"
|
||||
;
|
||||
postInstall =
|
||||
# All except one utility seem to be only useful during building.
|
||||
''
|
||||
moveToOutput "bin" "$dev"
|
||||
moveToOutput "bin/gdk-pixbuf-thumbnailer" "$out"
|
||||
'';
|
||||
|
||||
# The tests take an excessive amount of time (> 1.5 hours) and memory (> 6 GB).
|
||||
inherit (doCheck);
|
||||
|
||||
@@ -38,9 +38,13 @@ stdenv.mkDerivation rec {
|
||||
++ optional xineramaSupport libXinerama
|
||||
++ optionals cupsSupport [ cups ];
|
||||
|
||||
configureFlags = if stdenv.isDarwin
|
||||
then "--disable-glibtest --disable-introspection --disable-visibility"
|
||||
else "--with-xinput=yes";
|
||||
configureFlags = [
|
||||
"--with-xinput=yes"
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [
|
||||
"--disable-glibtest"
|
||||
"--disable-introspection"
|
||||
"--disable-visibility"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
moveToOutput share/gtk-2.0/demo "$devdoc"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchsvn, autoconf, automake, libsndfile, libtool, pkgconfig }:
|
||||
{ stdenv, fetchsvn, autoconf, automake, libsndfile, libtool, pkgconfig, libuuid }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libgig-svn-${version}";
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0i7sj3zm6banl5avjdxblx0mlbxxzbsbr4x5hsl2fhrdsv5dnxhc";
|
||||
};
|
||||
|
||||
buildInputs = [ autoconf automake libsndfile libtool pkgconfig ];
|
||||
buildInputs = [ autoconf automake libsndfile libtool pkgconfig libuuid ];
|
||||
|
||||
preConfigure = "make -f Makefile.cvs";
|
||||
|
||||
|
||||
@@ -3,16 +3,18 @@
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libivykis-${version}";
|
||||
|
||||
version = "0.39";
|
||||
version = "0.40";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/libivykis/${version}/ivykis-${version}.tar.gz";
|
||||
sha256 = "11d7sjbhcll932rlvx9sf3vk60b5bazmjf4vlr4qd9cz0cashizz";
|
||||
sha256 = "1rn32dijv0pn9y2mbdg1n7al4h4i5pwwhhihr9pyakwyb6qgmqxj";
|
||||
};
|
||||
|
||||
buildInputs = [ autoreconfHook pkgconfig file protobufc ];
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ file protobufc ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://libivykis.sourceforge.net/";
|
||||
description = ''
|
||||
A thin wrapper over various OS'es implementation of I/O readiness
|
||||
notification facilities
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
{stdenv, fetchurl, m4}:
|
||||
{ stdenv, fetchurl, m4 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libmilter-8.14.8";
|
||||
|
||||
name = "libmilter-${version}";
|
||||
version = "8.15.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.14.8.tar.gz";
|
||||
sha256 = "1zmhzkj3gzx8022hsrysr3nzlcmv1qisb5i4jbx91661bw96ksq2";
|
||||
url = "ftp://ftp.sendmail.org/pub/sendmail/sendmail.${version}.tar.gz";
|
||||
sha256 = "0fdl9ndmspqspdlmghzxlaqk56j3yajk52d7jxcg21b7sxglpy94";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
buildPhase = ''
|
||||
mkdir -p $out/lib
|
||||
cd libmilter
|
||||
cat > a.m4 <<EOF
|
||||
@@ -29,10 +30,12 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
patches = [ ./install.patch ./sharedlib.patch];
|
||||
|
||||
buildInputs = [m4];
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
buildInputs = [ m4 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Sendmail Milter mail filtering API library";
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ fpletz ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libstrophe-${version}";
|
||||
version = "0.8.8";
|
||||
version = "0.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "strophe";
|
||||
repo = "libstrophe";
|
||||
rev = version;
|
||||
sha256 = "1xzyqqf99r0jfd0g3v0zwc68sac6y25v1d4m365zpc14l02midis";
|
||||
sha256 = "099iv13c03y1dsn2ngdhfx2cnax0aj2gfh00w55hlzpvmjm8dsml";
|
||||
};
|
||||
|
||||
buildInputs = [ automake autoconf openssl expat libtool pkgconfig check ];
|
||||
@@ -27,8 +27,8 @@ stdenv.mkDerivation rec {
|
||||
runs well on both Linux, Unix, and Windows based platforms.
|
||||
'';
|
||||
homepage = http://strophe.im/libstrophe/;
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
license = with stdenv.lib.licenses; [gpl3 mit];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.devhell ];
|
||||
maintainers = with stdenv.lib.maintainers; [devhell flosse];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,16 +1,22 @@
|
||||
{ stdenv, fetchurl, sphinxbase, pkgconfig }:
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, sphinxbase
|
||||
, pkgconfig
|
||||
, python27 # >= 2.6
|
||||
, swig2 # 2.0
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pocketsphinx-0.8";
|
||||
name = "pocketsphinx-5prealpha";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/cmusphinx/${name}.tar.gz";
|
||||
sha256 = "0ynf5ik4ib2d3ha3r4i8ywpr2dz5i6v51hmfl8kgzj4i7l44qk47";
|
||||
sha256 = "1n9yazzdgvpqgnfzsbl96ch9cirayh74jmpjf7svs4i7grabanzg";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ sphinxbase ];
|
||||
|
||||
buildInputs = [ pkgconfig ];
|
||||
buildInputs = [ pkgconfig python27 swig2 ];
|
||||
|
||||
meta = {
|
||||
description = "Voice recognition library written in C";
|
||||
@@ -19,3 +25,22 @@ stdenv.mkDerivation rec {
|
||||
platforms = stdenv.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
|
||||
...
|
||||
|
||||
*/
|
||||
|
||||
29
pkgs/development/libraries/qwt/6_qt4.nix
Normal file
29
pkgs/development/libraries/qwt/6_qt4.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchurl, qt4, qmake4Hook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qwt-6.1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/qwt/${name}.tar.bz2";
|
||||
sha256 = "031x4hz1jpbirv9k35rqb52bb9mf2w7qav89qv1yfw1r3n6z221b";
|
||||
};
|
||||
|
||||
buildInputs = [ qt4 ];
|
||||
nativeBuildInputs = [ qmake4Hook ];
|
||||
|
||||
postPatch = ''
|
||||
sed -e "s|QWT_INSTALL_PREFIX.*=.*|QWT_INSTALL_PREFIX = $out|g" -i qwtconfig.pri
|
||||
'';
|
||||
|
||||
qmakeFlags = [ "-after doc.path=$out/share/doc/${name}" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Qt widgets for technical applications";
|
||||
homepage = http://qwt.sourceforge.net/;
|
||||
# LGPL 2.1 plus a few exceptions (more liberal)
|
||||
license = stdenv.lib.licenses.qwt;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
branch = "6";
|
||||
};
|
||||
}
|
||||
@@ -2,18 +2,20 @@
|
||||
, fetchurl
|
||||
, bison
|
||||
, pkgconfig
|
||||
, python27 # >= 2.6
|
||||
, swig2 # 2.0
|
||||
, multipleOutputs ? false #Uses incomplete features of nix!
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
name = "sphinxbase-0.8";
|
||||
name = "sphinxbase-5prealpha";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/cmusphinx/${name}.tar.gz";
|
||||
sha256 = "1a3c91g6rcfb2k8qyfhnd7s68ds6pxwv61xfp0ai1arbhx28jw2m";
|
||||
sha256 = "0vr4k8pv5a8nvq9yja7kl13b5lh0f9vha8fc8znqnm8bwmcxnazp";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig bison ];
|
||||
buildInputs = [ swig2 python27 pkgconfig bison ];
|
||||
|
||||
meta = {
|
||||
description = "Support Library for Pocketsphinx";
|
||||
|
||||
Reference in New Issue
Block a user