tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
mysql-workbench: format with nixpkgs-fmt
Jan Tojnar
6 years ago
eacf018e
ce961fad
+82
-18
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
mysql-workbench
default.nix
+82
-18
pkgs/applications/misc/mysql-workbench/default.nix
···
1
-
{ stdenv, fetchurl, substituteAll, cmake, ninja, pkgconfig
2
-
, glibc, gtk3, gtkmm3, pcre, swig, antlr4_7, sudo
3
-
, mysql, libxml2, libmysqlconnectorcpp
4
-
, vsqlite, gdal, libiodbc, libpthreadstubs
5
-
, libXdmcp, libuuid, libzip, libsecret, libssh
6
-
, python2, jre
7
-
, boost, libsigcxx, libX11, openssl
8
-
, proj, cairo, libxkbcommon, epoxy, wrapGAppsHook
9
-
, at-spi2-core, dbus, bash, coreutils
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
10
}:
11
12
let
···
22
23
patches = [
24
./fix-gdal-includes.patch
0
25
(substituteAll {
26
src = ./hardcode-paths.patch;
27
catchsegv = "${glibc.bin}/bin/catchsegv";
···
44
'';
45
46
nativeBuildInputs = [
47
-
cmake ninja pkgconfig jre swig wrapGAppsHook
0
0
0
0
0
48
];
49
50
buildInputs = [
51
-
gtk3 gtkmm3 libX11 antlr4_7.runtime.cpp python2 mysql libxml2
52
-
libmysqlconnectorcpp vsqlite gdal boost libssh openssl
53
-
libiodbc pcre cairo libuuid libzip libsecret
54
-
libsigcxx proj
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
55
# python dependencies:
56
-
paramiko pycairo pyodbc # sqlanydb
0
0
0
0
57
# transitive dependencies:
58
-
libpthreadstubs libXdmcp libxkbcommon epoxy at-spi2-core dbus
0
0
0
0
0
59
];
60
61
postPatch = ''
62
patchShebangs tools/get_wb_version.sh
63
'';
64
65
-
# error: 'OGRErr OGRSpatialReference::importFromWkt(char**)' is deprecated
66
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
67
68
cmakeFlags = [
···
104
and execute SQL queries.
105
'';
106
107
-
homepage = http://wb.mysql.com/;
108
license = licenses.gpl2;
109
maintainers = [ maintainers.kkallio ];
110
platforms = platforms.linux;
···
1
+
{ stdenv
2
+
, fetchurl
3
+
, substituteAll
4
+
, cmake
5
+
, ninja
6
+
, pkgconfig
7
+
, glibc
8
+
, gtk3
9
+
, gtkmm3
10
+
, pcre
11
+
, swig
12
+
, antlr4_7
13
+
, sudo
14
+
, mysql
15
+
, libxml2
16
+
, libmysqlconnectorcpp
17
+
, vsqlite
18
+
, gdal
19
+
, libiodbc
20
+
, libpthreadstubs
21
+
, libXdmcp
22
+
, libuuid
23
+
, libzip
24
+
, libsecret
25
+
, libssh
26
+
, python2
27
+
, jre
28
+
, boost
29
+
, libsigcxx
30
+
, libX11
31
+
, openssl
32
+
, proj
33
+
, cairo
34
+
, libxkbcommon
35
+
, epoxy
36
+
, wrapGAppsHook
37
+
, at-spi2-core
38
+
, dbus
39
+
, bash
40
+
, coreutils
41
}:
42
43
let
···
53
54
patches = [
55
./fix-gdal-includes.patch
56
+
57
(substituteAll {
58
src = ./hardcode-paths.patch;
59
catchsegv = "${glibc.bin}/bin/catchsegv";
···
76
'';
77
78
nativeBuildInputs = [
79
+
cmake
80
+
ninja
81
+
pkgconfig
82
+
jre
83
+
swig
84
+
wrapGAppsHook
85
];
86
87
buildInputs = [
88
+
gtk3
89
+
gtkmm3
90
+
libX11
91
+
antlr4_7.runtime.cpp
92
+
python2
93
+
mysql
94
+
libxml2
95
+
libmysqlconnectorcpp
96
+
vsqlite
97
+
gdal
98
+
boost
99
+
libssh
100
+
openssl
101
+
libiodbc
102
+
pcre
103
+
cairo
104
+
libuuid
105
+
libzip
106
+
libsecret
107
+
libsigcxx
108
+
proj
109
+
110
# python dependencies:
111
+
paramiko
112
+
pycairo
113
+
pyodbc
114
+
# TODO: package sqlanydb and add it here
115
+
116
# transitive dependencies:
117
+
libpthreadstubs
118
+
libXdmcp
119
+
libxkbcommon
120
+
epoxy
121
+
at-spi2-core
122
+
dbus
123
];
124
125
postPatch = ''
126
patchShebangs tools/get_wb_version.sh
127
'';
128
129
+
# error: 'OGRErr OGRSpatialReference::importFromWkt(char**)' is deprecated
130
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
131
132
cmakeFlags = [
···
168
and execute SQL queries.
169
'';
170
171
+
homepage = "http://wb.mysql.com/";
172
license = licenses.gpl2;
173
maintainers = [ maintainers.kkallio ];
174
platforms = platforms.linux;