tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
treewide: libmysql -> mysql.connector-c
Robin Gloster
8 years ago
6903ea60
445e3d73
+55
-53
18 changed files
expand all
collapse all
unified
split
pkgs
applications
office
kexi
default.nix
development
compilers
gerbil
default.nix
neko
default.nix
libraries
cppdb
default.nix
kdb
default.nix
unixODBCDrivers
default.nix
wt
default.nix
tools
misc
sysbench
default.nix
games
zod
default.nix
servers
clickhouse
default.nix
freeradius
default.nix
mail
dovecot
default.nix
opensmtpd
extras.nix
tools
backup
bareos
default.nix
security
thc-hydra
default.nix
system
collectd
default.nix
rsyslog
default.nix
top-level
all-packages.nix
+2
-2
pkgs/applications/office/kexi/default.nix
···
4
breeze-icons, karchive, kcodecs, kcompletion, kconfig, kconfigwidgets, kcoreaddons,
5
kcrash, kguiaddons, ki18n, kiconthemes, kitemviews, kio, ktexteditor, ktextwidgets,
6
kwidgetsaddons, kxmlgui,
7
-
kdb, kproperty, kreport, lcms2, libmysql, marble, postgresql
8
}:
9
10
mkDerivation rec {
···
24
breeze-icons karchive kcodecs kcompletion kconfig kconfigwidgets kcoreaddons
25
kcrash kguiaddons ki18n kiconthemes kitemviews kio ktexteditor ktextwidgets
26
kwidgetsaddons kxmlgui
27
-
kdb kproperty kreport lcms2 libmysql marble postgresql
28
];
29
30
propagatedUserEnvPkgs = [ kproperty ];
···
4
breeze-icons, karchive, kcodecs, kcompletion, kconfig, kconfigwidgets, kcoreaddons,
5
kcrash, kguiaddons, ki18n, kiconthemes, kitemviews, kio, ktexteditor, ktextwidgets,
6
kwidgetsaddons, kxmlgui,
7
+
kdb, kproperty, kreport, lcms2, mysql, marble, postgresql
8
}:
9
10
mkDerivation rec {
···
24
breeze-icons karchive kcodecs kcompletion kconfig kconfigwidgets kcoreaddons
25
kcrash kguiaddons ki18n kiconthemes kitemviews kio ktexteditor ktextwidgets
26
kwidgetsaddons kxmlgui
27
+
kdb kproperty kreport lcms2 mysql.connector-c marble postgresql
28
];
29
30
propagatedUserEnvPkgs = [ kproperty ];
+4
-2
pkgs/development/compilers/gerbil/default.nix
···
1
{ stdenv, fetchurl, fetchgit, gambit,
2
coreutils, rsync, bash,
3
-
openssl, zlib, sqlite, libxml2, libyaml, libmysql, lmdb, leveldb }:
4
5
# TODO: distinct packages for gerbil-release and gerbil-devel
6
···
17
buildInputs = [
18
gambit
19
coreutils rsync bash
20
-
openssl zlib sqlite libxml2 libyaml libmysql lmdb leveldb
21
];
0
0
22
23
postPatch = ''
24
echo '(define (gerbil-version-string) "v${version}")' > src/gerbil/runtime/gx-version.scm
···
1
{ stdenv, fetchurl, fetchgit, gambit,
2
coreutils, rsync, bash,
3
+
openssl, zlib, sqlite, libxml2, libyaml, mysql, lmdb, leveldb }:
4
5
# TODO: distinct packages for gerbil-release and gerbil-devel
6
···
17
buildInputs = [
18
gambit
19
coreutils rsync bash
20
+
openssl zlib sqlite libxml2 libyaml mysql.connector-c lmdb leveldb
21
];
22
+
23
+
NIX_CFLAGS_COMPILE = [ "-I${mysql.connector-c}/include/mysql" "-L${mysql.connector-c}/lib/mysql" ];
24
25
postPatch = ''
26
echo '(define (gerbil-version-string) "v${version}")' > src/gerbil/runtime/gx-version.scm
+2
-2
pkgs/development/compilers/neko/default.nix
···
1
{ stdenv, fetchurl, boehmgc, zlib, sqlite, pcre, cmake, pkgconfig
2
-
, git, apacheHttpd, apr, aprutil, mariadb, mbedtls, openssl, pkgs, gtk2, libpthreadstubs
3
}:
4
5
stdenv.mkDerivation rec {
···
14
nativeBuildInputs = [ cmake pkgconfig git ];
15
buildInputs =
16
[ boehmgc zlib sqlite pcre apacheHttpd apr aprutil
17
-
mariadb.client mbedtls openssl libpthreadstubs ]
18
++ stdenv.lib.optional stdenv.isLinux gtk2
19
++ stdenv.lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.Security
20
pkgs.darwin.apple_sdk.frameworks.Carbon];
···
1
{ stdenv, fetchurl, boehmgc, zlib, sqlite, pcre, cmake, pkgconfig
2
+
, git, apacheHttpd, apr, aprutil, mysql, mbedtls, openssl, pkgs, gtk2, libpthreadstubs
3
}:
4
5
stdenv.mkDerivation rec {
···
14
nativeBuildInputs = [ cmake pkgconfig git ];
15
buildInputs =
16
[ boehmgc zlib sqlite pcre apacheHttpd apr aprutil
17
+
mysql.connector-c mbedtls openssl libpthreadstubs ]
18
++ stdenv.lib.optional stdenv.isLinux gtk2
19
++ stdenv.lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.Security
20
pkgs.darwin.apple_sdk.frameworks.Carbon];
+3
-3
pkgs/development/libraries/cppdb/default.nix
···
1
-
{ stdenv, fetchurl, cmake, sqlite, libmysql, postgresql, unixODBC }:
2
3
stdenv.mkDerivation rec {
4
name = "cppdb";
···
11
12
enableParallelBuilding = true;
13
14
-
buildInputs = [ cmake sqlite libmysql postgresql unixODBC ];
15
16
cmakeFlags = [ "--no-warn-unused-cli" ];
0
17
18
meta = with stdenv.lib; {
19
homepage = http://cppcms.com/sql/cppdb/;
···
23
maintainers = [ maintainers.juliendehos ];
24
};
25
}
26
-
···
1
+
{ stdenv, fetchurl, cmake, sqlite, mysql, postgresql, unixODBC }:
2
3
stdenv.mkDerivation rec {
4
name = "cppdb";
···
11
12
enableParallelBuilding = true;
13
14
+
buildInputs = [ cmake sqlite mysql.connector-c postgresql unixODBC ];
15
16
cmakeFlags = [ "--no-warn-unused-cli" ];
17
+
NIX_CFLAGS_COMPILE = [ "-I${mysql.connector-c}/include/mysql" "-L${mysql.connector-c}/lib/mysql" ];
18
19
meta = with stdenv.lib; {
20
homepage = http://cppcms.com/sql/cppdb/;
···
24
maintainers = [ maintainers.juliendehos ];
25
};
26
}
0
+2
-2
pkgs/development/libraries/kdb/default.nix
···
1
{
2
mkDerivation, lib, fetchurl,
3
extra-cmake-modules,
4
-
qtbase, qttranslations, kcoreaddons, python2, sqlite, postgresql, libmysql
5
}:
6
7
mkDerivation rec {
···
16
17
nativeBuildInputs = [ extra-cmake-modules ];
18
19
-
buildInputs = [ qttranslations kcoreaddons python2 sqlite postgresql libmysql ];
20
21
propagatedBuildInputs = [ qtbase ];
22
···
1
{
2
mkDerivation, lib, fetchurl,
3
extra-cmake-modules,
4
+
qtbase, qttranslations, kcoreaddons, python2, sqlite, postgresql, mysql
5
}:
6
7
mkDerivation rec {
···
16
17
nativeBuildInputs = [ extra-cmake-modules ];
18
19
+
buildInputs = [ qttranslations kcoreaddons python2 sqlite postgresql mysql.connector-c ];
20
21
propagatedBuildInputs = [ qtbase ];
22
-8
pkgs/development/libraries/unixODBCDrivers/default.nix
···
43
"-DMARIADB_INCLUDE_DIR=${mariadb.connector-c}/include/mariadb"
44
];
45
46
-
preConfigure = ''
47
-
sed -i \
48
-
-e 's,mariadb_config,mysql_config,g' \
49
-
-e 's,libmariadbclient,libmysqlclient,g' \
50
-
cmake/FindMariaDB.cmake
51
-
'';
52
-
53
passthru = {
54
fancyName = "MariaDB";
55
driver = "lib/libmyodbc3-3.51.12.so";
···
60
homepage = https://downloads.mariadb.org/connector-odbc/;
61
license = licenses.gpl2;
62
platforms = platforms.linux;
63
-
broken = true;
64
};
65
};
66
···
43
"-DMARIADB_INCLUDE_DIR=${mariadb.connector-c}/include/mariadb"
44
];
45
0
0
0
0
0
0
0
46
passthru = {
47
fancyName = "MariaDB";
48
driver = "lib/libmyodbc3-3.51.12.so";
···
53
homepage = https://downloads.mariadb.org/connector-odbc/;
54
license = licenses.gpl2;
55
platforms = platforms.linux;
0
56
};
57
};
58
+3
-3
pkgs/development/libraries/wt/default.nix
···
1
{ stdenv, fetchFromGitHub, cmake, boost, pkgconfig, doxygen, qt48Full, libharu
2
-
, pango, fcgi, firebird, libmysql, postgresql, graphicsmagick, glew, openssl
3
, pcre
4
}:
5
···
19
nativeBuildInputs = [ pkgconfig ];
20
buildInputs = [
21
cmake boost doxygen qt48Full libharu
22
-
pango fcgi firebird libmysql postgresql graphicsmagick glew
23
openssl pcre
24
];
25
···
27
"-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick"
28
"-DWT_CPP_11_MODE=-std=c++11"
29
"-DGM_PREFIX=${graphicsmagick}"
30
-
"-DMYSQL_PREFIX=${libmysql}"
31
"--no-warn-unused-cli"
32
];
33
···
1
{ stdenv, fetchFromGitHub, cmake, boost, pkgconfig, doxygen, qt48Full, libharu
2
+
, pango, fcgi, firebird, mysql, postgresql, graphicsmagick, glew, openssl
3
, pcre
4
}:
5
···
19
nativeBuildInputs = [ pkgconfig ];
20
buildInputs = [
21
cmake boost doxygen qt48Full libharu
22
+
pango fcgi firebird mysql.connector-c postgresql graphicsmagick glew
23
openssl pcre
24
];
25
···
27
"-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick"
28
"-DWT_CPP_11_MODE=-std=c++11"
29
"-DGM_PREFIX=${graphicsmagick}"
30
+
"-DMYSQL_PREFIX=${mysql.connector-c}"
31
"--no-warn-unused-cli"
32
];
33
+3
-3
pkgs/development/tools/misc/sysbench/default.nix
···
1
-
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, vim, libmysql,
2
-
libaio }:
3
4
stdenv.mkDerivation rec {
5
name = "sysbench-1.0.6";
6
7
nativeBuildInputs = [ autoreconfHook pkgconfig ];
8
-
buildInputs = [ vim libmysql libaio ];
9
10
src = fetchFromGitHub {
11
owner = "akopytov";
···
1
+
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, vim, mysql
2
+
, libaio }:
3
4
stdenv.mkDerivation rec {
5
name = "sysbench-1.0.6";
6
7
nativeBuildInputs = [ autoreconfHook pkgconfig ];
8
+
buildInputs = [ vim mysql.connector-c libaio ];
9
10
src = fetchFromGitHub {
11
owner = "akopytov";
+3
-3
pkgs/games/zod/default.nix
···
1
{ fetchurl, stdenv, unrar, unzip, SDL, SDL_image, SDL_ttf, SDL_mixer
2
-
, libmysql, makeWrapper }:
3
4
stdenv.mkDerivation rec {
5
name = "zod-engine-2011-03-18";
···
24
sourceRoot=`pwd`/src
25
'';
26
27
-
buildInputs = [ unrar unzip SDL SDL_image SDL_ttf SDL_mixer libmysql makeWrapper ];
28
29
-
NIX_LDFLAGS = "-L${stdenv.lib.getLib libmysql}/lib/mysql";
30
31
installPhase = ''
32
mkdir -p $out/bin $out/share/zod
···
1
{ fetchurl, stdenv, unrar, unzip, SDL, SDL_image, SDL_ttf, SDL_mixer
2
+
, mysql, makeWrapper }:
3
4
stdenv.mkDerivation rec {
5
name = "zod-engine-2011-03-18";
···
24
sourceRoot=`pwd`/src
25
'';
26
27
+
buildInputs = [ unrar unzip SDL SDL_image SDL_ttf SDL_mixer mysql.connector-c makeWrapper ];
28
29
+
NIX_LDFLAGS = "-L${mysql.connector-c}/lib/mysql";
30
31
installPhase = ''
32
mkdir -p $out/bin $out/share/zod
+7
-2
pkgs/servers/clickhouse/default.nix
···
1
-
{ stdenv, fetchFromGitHub, cmake, libtool, boost, double-conversion, gperftools, icu, libmysql, lz4, openssl, poco, re2, rdkafka, readline, sparsehash, unixODBC, zookeeper_mt, zstd }:
0
0
2
3
stdenv.mkDerivation rec {
4
name = "clickhouse-${version}";
···
16
17
nativeBuildInputs = [ cmake libtool ];
18
19
-
buildInputs = [ boost double-conversion gperftools icu libmysql lz4 openssl poco re2 rdkafka readline sparsehash unixODBC zookeeper_mt zstd ];
0
0
0
20
21
cmakeFlags = [ "-DENABLE_TESTS=OFF" "-DUNBUNDLED=ON" "-DUSE_STATIC_LIBRARIES=OFF" ];
22
···
1
+
{ stdenv, fetchFromGitHub, cmake, libtool, boost, double-conversion, gperftools
2
+
, icu, mysql, lz4, openssl, poco, re2, rdkafka, readline, sparsehash, unixODBC
3
+
, zookeeper_mt, zstd }:
4
5
stdenv.mkDerivation rec {
6
name = "clickhouse-${version}";
···
18
19
nativeBuildInputs = [ cmake libtool ];
20
21
+
buildInputs = [
22
+
boost double-conversion gperftools icu mysql.connector-c lz4 openssl poco
23
+
re2 rdkafka readline sparsehash unixODBC zookeeper_mt zstd
24
+
];
25
26
cmakeFlags = [ "-DENABLE_TESTS=OFF" "-DUNBUNDLED=ON" "-DUSE_STATIC_LIBRARIES=OFF" ];
27
+3
-3
pkgs/servers/freeradius/default.nix
···
13
, withMemcached ? false
14
, hiredis
15
, withRedis ? false
16
-
, libmysql
17
, withMysql ? false
18
, json_c
19
, withJson ? false
···
29
assert withCap -> libcap != null;
30
assert withMemcached -> libmemcached != null;
31
assert withRedis -> hiredis != null;
32
-
assert withMysql -> libmysql != null;
33
assert withYubikey -> libyubikey != null;
34
assert withCollectd -> collectd != null;
35
···
56
++ optional withCap libcap
57
++ optional withMemcached libmemcached
58
++ optional withRedis hiredis
59
-
++ optional withMysql libmysql
60
++ optional withJson json_c
61
++ optional withYubikey libyubikey
62
++ optional withCollectd collectd;
···
13
, withMemcached ? false
14
, hiredis
15
, withRedis ? false
16
+
, mysql
17
, withMysql ? false
18
, json_c
19
, withJson ? false
···
29
assert withCap -> libcap != null;
30
assert withMemcached -> libmemcached != null;
31
assert withRedis -> hiredis != null;
32
+
assert withMysql -> mysql != null;
33
assert withYubikey -> libyubikey != null;
34
assert withCollectd -> collectd != null;
35
···
56
++ optional withCap libcap
57
++ optional withMemcached libmemcached
58
++ optional withRedis hiredis
59
+
++ optional withMysql mysql.connector-c
60
++ optional withJson json_c
61
++ optional withYubikey libyubikey
62
++ optional withCollectd collectd;
+2
-2
pkgs/servers/mail/dovecot/default.nix
···
2
, bzip2, zlib, inotify-tools, pam, libcap
3
, clucene_core_2, icu, openldap
4
# Auth modules
5
-
, withMySQL ? false, libmysql
6
, withPgSQL ? false, postgresql
7
, withSQLite ? true, sqlite
8
}:
···
13
nativeBuildInputs = [ perl pkgconfig ];
14
buildInputs = [ openssl bzip2 zlib clucene_core_2 icu openldap ]
15
++ lib.optionals (stdenv.isLinux) [ systemd pam libcap inotify-tools ]
16
-
++ lib.optional withMySQL libmysql
17
++ lib.optional withPgSQL postgresql
18
++ lib.optional withSQLite sqlite;
19
···
2
, bzip2, zlib, inotify-tools, pam, libcap
3
, clucene_core_2, icu, openldap
4
# Auth modules
5
+
, withMySQL ? false, mysql
6
, withPgSQL ? false, postgresql
7
, withSQLite ? true, sqlite
8
}:
···
13
nativeBuildInputs = [ perl pkgconfig ];
14
buildInputs = [ openssl bzip2 zlib clucene_core_2 icu openldap ]
15
++ lib.optionals (stdenv.isLinux) [ systemd pam libcap inotify-tools ]
16
+
++ lib.optional withMySQL mysql.connector-c
17
++ lib.optional withPgSQL postgresql
18
++ lib.optional withSQLite sqlite;
19
+6
-4
pkgs/servers/mail/opensmtpd/extras.nix
···
1
{ stdenv, fetchurl, openssl, libevent, libasr,
2
-
python2, pkgconfig, lua5, perl, mariadb, postgresql, sqlite, hiredis }:
0
3
stdenv.mkDerivation rec {
4
name = "opensmtpd-extras-${version}";
5
version = "5.7.1";
···
11
12
nativeBuildInputs = [ pkgconfig ];
13
buildInputs = [ openssl libevent
14
-
libasr python2 lua5 perl mariadb.client postgresql sqlite hiredis ];
15
16
configureFlags = [
17
"--sysconfdir=/etc"
···
54
"--with-perl=${perl}"
55
"--with-filter-perl"
56
57
-
] ++ stdenv.lib.optional (mariadb != null) [
58
"--with-table-mysql"
59
60
] ++ stdenv.lib.optional (postgresql != null) [
···
67
"--with-table-redis"
68
];
69
70
-
NIX_CFLAGS_COMPILE = stdenv.lib.optional (hiredis != null) [ "-I${hiredis}/include/hiredis" ];
0
71
72
meta = with stdenv.lib; {
73
homepage = https://www.opensmtpd.org/;
···
1
{ stdenv, fetchurl, openssl, libevent, libasr,
2
+
python2, pkgconfig, lua5, perl, mysql, postgresql, sqlite, hiredis }:
3
+
4
stdenv.mkDerivation rec {
5
name = "opensmtpd-extras-${version}";
6
version = "5.7.1";
···
12
13
nativeBuildInputs = [ pkgconfig ];
14
buildInputs = [ openssl libevent
15
+
libasr python2 lua5 perl mysql.connector-c postgresql sqlite hiredis ];
16
17
configureFlags = [
18
"--sysconfdir=/etc"
···
55
"--with-perl=${perl}"
56
"--with-filter-perl"
57
58
+
] ++ stdenv.lib.optional (mysql != null) [
59
"--with-table-mysql"
60
61
] ++ stdenv.lib.optional (postgresql != null) [
···
68
"--with-table-redis"
69
];
70
71
+
NIX_CFLAGS_COMPILE = stdenv.lib.optional (hiredis != null) "-I${hiredis}/include/hiredis" ++
72
+
stdenv.lib.optional (mysql != null) "-L${mysql.connector-c}/lib/mysql";
73
74
meta = with stdenv.lib; {
75
homepage = https://www.opensmtpd.org/;
+3
-3
pkgs/tools/backup/bareos/default.nix
···
1
{ stdenv, fetchFromGitHub, pkgconfig, nettools, gettext, libtool, flex
2
, readline ? null, openssl ? null, python2 ? null, ncurses ? null, rocksdb
3
-
, sqlite ? null, postgresql ? null, libmysql ? null, zlib ? null, lzo ? null
4
, jansson ? null, acl ? null, glusterfs ? null, libceph ? null, libcap ? null
5
}:
6
7
-
assert sqlite != null || postgresql != null || libmysql != null;
8
9
with stdenv.lib;
10
let
···
55
++ optional (openssl != null) "--with-openssl=${openssl.dev}"
56
++ optional (sqlite != null) "--with-sqlite3=${sqlite.dev}"
57
++ optional (postgresql != null) "--with-postgresql=${postgresql}"
58
-
++ optional (libmysql != null) "--with-mysql=${libmysql}"
59
++ optional (zlib != null) "--with-zlib=${zlib.dev}"
60
++ optional (lzo != null) "--with-lzo=${lzo}"
61
++ optional (jansson != null) "--with-jansson=${jansson}"
···
1
{ stdenv, fetchFromGitHub, pkgconfig, nettools, gettext, libtool, flex
2
, readline ? null, openssl ? null, python2 ? null, ncurses ? null, rocksdb
3
+
, sqlite ? null, postgresql ? null, mysql ? null, zlib ? null, lzo ? null
4
, jansson ? null, acl ? null, glusterfs ? null, libceph ? null, libcap ? null
5
}:
6
7
+
assert sqlite != null || postgresql != null || mysql != null;
8
9
with stdenv.lib;
10
let
···
55
++ optional (openssl != null) "--with-openssl=${openssl.dev}"
56
++ optional (sqlite != null) "--with-sqlite3=${sqlite.dev}"
57
++ optional (postgresql != null) "--with-postgresql=${postgresql}"
58
+
++ optional (mysql != null) "--with-mysql=${mysql.connector-c}"
59
++ optional (zlib != null) "--with-zlib=${zlib.dev}"
60
++ optional (lzo != null) "--with-lzo=${lzo}"
61
++ optional (jansson != null) "--with-jansson=${jansson}"
+2
-2
pkgs/tools/security/thc-hydra/default.nix
···
1
-
{ stdenv, lib, fetchurl, zlib, openssl, ncurses, libidn, pcre, libssh, libmysql, postgresql
2
, withGUI ? false, makeWrapper, pkgconfig, gtk2 }:
3
4
let
···
23
'';
24
25
nativeBuildInputs = lib.optionals withGUI [ pkgconfig makeWrapper ];
26
-
buildInputs = [ zlib openssl ncurses libidn pcre libssh libmysql postgresql ]
27
++ lib.optional withGUI gtk2;
28
29
postInstall = lib.optionalString withGUI ''
···
1
+
{ stdenv, lib, fetchurl, zlib, openssl, ncurses, libidn, pcre, libssh, mysql, postgresql
2
, withGUI ? false, makeWrapper, pkgconfig, gtk2 }:
3
4
let
···
23
'';
24
25
nativeBuildInputs = lib.optionals withGUI [ pkgconfig makeWrapper ];
26
+
buildInputs = [ zlib openssl ncurses libidn pcre libssh mysql.connector-c postgresql ]
27
++ lib.optional withGUI gtk2;
28
29
postInstall = lib.optionalString withGUI ''
+4
-3
pkgs/tools/system/collectd/default.nix
···
20
, libtool ? null
21
, lm_sensors ? null
22
, lvm2 ? null
23
-
, libmysql ? null
24
, postgresql ? null
25
, protobufc ? null
26
, python ? null
···
50
buildInputs = [
51
curl libdbi libgcrypt libmemcached
52
cyrus_sasl libnotify gdk_pixbuf liboping libpcap libvirt
53
-
libxml2 libmysql postgresql protobufc rrdtool
54
varnish yajl jdk libtool python hiredis libmicrohttpd
55
-
] ++ stdenv.lib.optionals stdenv.isLinux [
0
56
iptables libatasmart libcredis libmodbus libsigrok
57
lm_sensors lvm2 rabbitmq-c udev net_snmp libmnl
58
] ++ stdenv.lib.optionals stdenv.isDarwin [
···
20
, libtool ? null
21
, lm_sensors ? null
22
, lvm2 ? null
23
+
, mysql ? null
24
, postgresql ? null
25
, protobufc ? null
26
, python ? null
···
50
buildInputs = [
51
curl libdbi libgcrypt libmemcached
52
cyrus_sasl libnotify gdk_pixbuf liboping libpcap libvirt
53
+
libxml2 postgresql protobufc rrdtool
54
varnish yajl jdk libtool python hiredis libmicrohttpd
55
+
] ++ stdenv.lib.optional (mysql != null) mysql.connector-c
56
+
++ stdenv.lib.optionals stdenv.isLinux [
57
iptables libatasmart libcredis libmodbus libsigrok
58
lm_sensors lvm2 rabbitmq-c udev net_snmp libmnl
59
] ++ stdenv.lib.optionals stdenv.isDarwin [
+5
-4
pkgs/tools/system/rsyslog/default.nix
···
1
{ stdenv, fetchurl, pkgconfig, autoreconfHook, libestr, json_c, zlib, pythonPackages, fastJson
2
-
, libkrb5 ? null, systemd ? null, jemalloc ? null, libmysql ? null, postgresql ? null
3
, libdbi ? null, net_snmp ? null, libuuid ? null, curl ? null, gnutls ? null
4
, libgcrypt ? null, liblognorm ? null, openssl ? null, librelp ? null, libksi ? null
5
, libgt ? null, liblogging ? null, libnet ? null, hadoop ? null, rdkafka ? null
···
22
23
nativeBuildInputs = [ pkgconfig autoreconfHook ];
24
buildInputs = [
25
-
fastJson libestr json_c zlib pythonPackages.docutils libkrb5 jemalloc libmysql
26
postgresql libdbi net_snmp libuuid curl gnutls libgcrypt liblognorm openssl
27
librelp libgt libksi liblogging libnet hadoop rdkafka libmongo-client czmq
28
rabbitmq-c hiredis
29
-
] ++ stdenv.lib.optional stdenv.isLinux systemd;
0
30
31
hardeningDisable = [ "format" ];
32
···
49
(mkFlag false "valgrind")
50
(mkFlag false "diagtools")
51
(mkFlag true "usertools")
52
-
(mkFlag (libmysql != null) "mysql")
53
(mkFlag (postgresql != null) "pgsql")
54
(mkFlag (libdbi != null) "libdbi")
55
(mkFlag (net_snmp != null) "snmp")
···
1
{ stdenv, fetchurl, pkgconfig, autoreconfHook, libestr, json_c, zlib, pythonPackages, fastJson
2
+
, libkrb5 ? null, systemd ? null, jemalloc ? null, mysql ? null, postgresql ? null
3
, libdbi ? null, net_snmp ? null, libuuid ? null, curl ? null, gnutls ? null
4
, libgcrypt ? null, liblognorm ? null, openssl ? null, librelp ? null, libksi ? null
5
, libgt ? null, liblogging ? null, libnet ? null, hadoop ? null, rdkafka ? null
···
22
23
nativeBuildInputs = [ pkgconfig autoreconfHook ];
24
buildInputs = [
25
+
fastJson libestr json_c zlib pythonPackages.docutils libkrb5 jemalloc
26
postgresql libdbi net_snmp libuuid curl gnutls libgcrypt liblognorm openssl
27
librelp libgt libksi liblogging libnet hadoop rdkafka libmongo-client czmq
28
rabbitmq-c hiredis
29
+
] ++ stdenv.lib.optional (mysql != null) mysql.connector-c
30
+
++ stdenv.lib.optional stdenv.isLinux systemd;
31
32
hardeningDisable = [ "format" ];
33
···
50
(mkFlag false "valgrind")
51
(mkFlag false "diagtools")
52
(mkFlag true "usertools")
53
+
(mkFlag (mysql != null) "mysql")
54
(mkFlag (postgresql != null) "pgsql")
55
(mkFlag (libdbi != null) "libdbi")
56
(mkFlag (net_snmp != null) "snmp")
+1
-2
pkgs/top-level/all-packages.nix
···
1254
libkrb5 = null;
1255
systemd = null;
1256
jemalloc = null;
1257
-
libmysql = null;
1258
postgresql = null;
1259
libdbi = null;
1260
net_snmp = null;
···
1508
convertlit = callPackage ../tools/text/convertlit { };
1509
1510
collectd = callPackage ../tools/system/collectd {
1511
-
libmysql = mysql.connector-c;
1512
libsigrok = libsigrok-0-3-0; # not compatible with >= 0.4.0 yet
1513
};
1514
···
1254
libkrb5 = null;
1255
systemd = null;
1256
jemalloc = null;
1257
+
mysql = null;
1258
postgresql = null;
1259
libdbi = null;
1260
net_snmp = null;
···
1508
convertlit = callPackage ../tools/text/convertlit { };
1509
1510
collectd = callPackage ../tools/system/collectd {
0
1511
libsigrok = libsigrok-0-3-0; # not compatible with >= 0.4.0 yet
1512
};
1513