Merge staging into closure-size

This commit is contained in:
Vladimír Čunát
2015-05-05 11:49:03 +02:00
869 changed files with 36249 additions and 30352 deletions
+10 -4
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, ncurses, openssl, pcre, boost, judy, bison, libxml2
{ stdenv, fetchurl, cmake, ncurses, zlib, openssl, pcre, boost, judy, bison, libxml2
, libaio, libevent, groff, jemalloc, perl, fixDarwinDylibNames
}:
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "04ckq67qgkghh7yzrbzwidk7wn7yjml15gzj2c5p1hs2k7lr9lww";
};
buildInputs = [ cmake ncurses openssl pcre libxml2 boost judy bison libevent ]
buildInputs = [ cmake ncurses openssl zlib pcre libxml2 boost judy bison libevent ]
++ stdenv.lib.optionals stdenv.isLinux [ jemalloc libaio ]
++ stdenv.lib.optionals stdenv.isDarwin [ perl fixDarwinDylibNames ];
@@ -81,9 +81,10 @@ stdenv.mkDerivation rec {
--replace basedir=\"\" basedir=\"$out\"
# Remove superfluous files
rm -r $out/mysql-test $out/sql-bench $out/data
rm -r $out/mysql-test $out/sql-bench $out/data # Don't need testing data
rm $out/share/man/man1/mysql-test-run.pl.1
rm $out/bin/rcmysql
rm $out/bin/rcmysql # Not needed with nixos units
rm $out/bin/mysqlbug # Encodes a path to gcc and not really useful
find $out/bin -name \*test\* -exec rm {} \;
# Separate libs and includes into their own derivation
@@ -91,6 +92,11 @@ stdenv.mkDerivation rec {
mv $out/lib $lib
mv $out/include $lib
# Fix the mysql_config
sed -i $out/bin/mysql_config \
-e 's,-lz,-L${zlib}/lib -lz,g' \
-e 's,-lssl,-L${openssl}/lib -lssl,g'
# Add mysql_config to libs since configure scripts use it
mkdir -p $lib/bin
cp $out/bin/mysql_config $lib/bin
+1 -1
View File
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = http://pgpool.net/mediawiki/index.php;
description = "a middleware that works between postgresql servers and postgresql clients.";
description = "A middleware that works between postgresql servers and postgresql clients";
license = licenses.free;
platforms = platforms.linux;
maintainers = with maintainers; [ wkennington ];