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