mysql-workbench: format with nixpkgs-fmt
This commit is contained in:
parent
ce961fad16
commit
eacf018ea7
@ -1,12 +1,43 @@
|
|||||||
{ stdenv, fetchurl, substituteAll, cmake, ninja, pkgconfig
|
{ stdenv
|
||||||
, glibc, gtk3, gtkmm3, pcre, swig, antlr4_7, sudo
|
, fetchurl
|
||||||
, mysql, libxml2, libmysqlconnectorcpp
|
, substituteAll
|
||||||
, vsqlite, gdal, libiodbc, libpthreadstubs
|
, cmake
|
||||||
, libXdmcp, libuuid, libzip, libsecret, libssh
|
, ninja
|
||||||
, python2, jre
|
, pkgconfig
|
||||||
, boost, libsigcxx, libX11, openssl
|
, glibc
|
||||||
, proj, cairo, libxkbcommon, epoxy, wrapGAppsHook
|
, gtk3
|
||||||
, at-spi2-core, dbus, bash, coreutils
|
, gtkmm3
|
||||||
|
, pcre
|
||||||
|
, swig
|
||||||
|
, antlr4_7
|
||||||
|
, sudo
|
||||||
|
, mysql
|
||||||
|
, libxml2
|
||||||
|
, libmysqlconnectorcpp
|
||||||
|
, vsqlite
|
||||||
|
, gdal
|
||||||
|
, libiodbc
|
||||||
|
, libpthreadstubs
|
||||||
|
, libXdmcp
|
||||||
|
, libuuid
|
||||||
|
, libzip
|
||||||
|
, libsecret
|
||||||
|
, libssh
|
||||||
|
, python2
|
||||||
|
, jre
|
||||||
|
, boost
|
||||||
|
, libsigcxx
|
||||||
|
, libX11
|
||||||
|
, openssl
|
||||||
|
, proj
|
||||||
|
, cairo
|
||||||
|
, libxkbcommon
|
||||||
|
, epoxy
|
||||||
|
, wrapGAppsHook
|
||||||
|
, at-spi2-core
|
||||||
|
, dbus
|
||||||
|
, bash
|
||||||
|
, coreutils
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -22,6 +53,7 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./fix-gdal-includes.patch
|
./fix-gdal-includes.patch
|
||||||
|
|
||||||
(substituteAll {
|
(substituteAll {
|
||||||
src = ./hardcode-paths.patch;
|
src = ./hardcode-paths.patch;
|
||||||
catchsegv = "${glibc.bin}/bin/catchsegv";
|
catchsegv = "${glibc.bin}/bin/catchsegv";
|
||||||
@ -44,25 +76,57 @@ in stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake ninja pkgconfig jre swig wrapGAppsHook
|
cmake
|
||||||
|
ninja
|
||||||
|
pkgconfig
|
||||||
|
jre
|
||||||
|
swig
|
||||||
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk3 gtkmm3 libX11 antlr4_7.runtime.cpp python2 mysql libxml2
|
gtk3
|
||||||
libmysqlconnectorcpp vsqlite gdal boost libssh openssl
|
gtkmm3
|
||||||
libiodbc pcre cairo libuuid libzip libsecret
|
libX11
|
||||||
libsigcxx proj
|
antlr4_7.runtime.cpp
|
||||||
|
python2
|
||||||
|
mysql
|
||||||
|
libxml2
|
||||||
|
libmysqlconnectorcpp
|
||||||
|
vsqlite
|
||||||
|
gdal
|
||||||
|
boost
|
||||||
|
libssh
|
||||||
|
openssl
|
||||||
|
libiodbc
|
||||||
|
pcre
|
||||||
|
cairo
|
||||||
|
libuuid
|
||||||
|
libzip
|
||||||
|
libsecret
|
||||||
|
libsigcxx
|
||||||
|
proj
|
||||||
|
|
||||||
# python dependencies:
|
# python dependencies:
|
||||||
paramiko pycairo pyodbc # sqlanydb
|
paramiko
|
||||||
|
pycairo
|
||||||
|
pyodbc
|
||||||
|
# TODO: package sqlanydb and add it here
|
||||||
|
|
||||||
# transitive dependencies:
|
# transitive dependencies:
|
||||||
libpthreadstubs libXdmcp libxkbcommon epoxy at-spi2-core dbus
|
libpthreadstubs
|
||||||
|
libXdmcp
|
||||||
|
libxkbcommon
|
||||||
|
epoxy
|
||||||
|
at-spi2-core
|
||||||
|
dbus
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs tools/get_wb_version.sh
|
patchShebangs tools/get_wb_version.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# error: 'OGRErr OGRSpatialReference::importFromWkt(char**)' is deprecated
|
# error: 'OGRErr OGRSpatialReference::importFromWkt(char**)' is deprecated
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
@ -104,7 +168,7 @@ in stdenv.mkDerivation rec {
|
|||||||
and execute SQL queries.
|
and execute SQL queries.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
homepage = http://wb.mysql.com/;
|
homepage = "http://wb.mysql.com/";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = [ maintainers.kkallio ];
|
maintainers = [ maintainers.kkallio ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user