nixpkgs/pkgs/development/libraries/libiodbc/default.nix

28 lines
709 B
Nix
Raw Normal View History

{ config, stdenv, fetchurl, pkgconfig, gtk2, Carbon
, useGTK ? config.libiodbc.gtk or false }:
stdenv.mkDerivation rec {
libiodbc: 3.52.8 -> 3.52.12 Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctest -h` got 0 exit code - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctest --help` got 0 exit code - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctest help` got 0 exit code - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctest version` and found version 3.52.12 - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctest help` and found version 3.52.12 - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctestw -h` got 0 exit code - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctestw --help` got 0 exit code - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctestw help` got 0 exit code - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctestw version` and found version 3.52.12 - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctestw help` and found version 3.52.12 - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbc-config --version` and found version 3.52.12 - found 3.52.12 with grep in /nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12 - found 3.52.12 in filename of file in /nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12
2018-02-27 04:40:29 +00:00
name = "libiodbc-3.52.12";
src = fetchurl {
url = "mirror://sourceforge/iodbc/${name}.tar.gz";
libiodbc: 3.52.8 -> 3.52.12 Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctest -h` got 0 exit code - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctest --help` got 0 exit code - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctest help` got 0 exit code - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctest version` and found version 3.52.12 - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctest help` and found version 3.52.12 - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctestw -h` got 0 exit code - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctestw --help` got 0 exit code - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctestw help` got 0 exit code - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctestw version` and found version 3.52.12 - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbctestw help` and found version 3.52.12 - ran `/nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12/bin/iodbc-config --version` and found version 3.52.12 - found 3.52.12 with grep in /nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12 - found 3.52.12 in filename of file in /nix/store/253wjz6c1fkj3af92qa1yrfwsr21agr3-libiodbc-3.52.12
2018-02-27 04:40:29 +00:00
sha256 = "0qpvklgr1lcn5g8xbz7fbc9rldqf9r8s6xybhqj20m4sglxgziai";
};
nativeBuildInputs = [ pkgconfig ];
2018-04-17 20:37:29 +01:00
buildInputs = stdenv.lib.optionals useGTK [ gtk2 ]
++ stdenv.lib.optional stdenv.isDarwin Carbon;
preBuild =
''
export NIX_LDFLAGS_BEFORE="-rpath $out/lib"
'';
2018-10-17 19:55:14 +01:00
meta = with stdenv.lib; {
description = "iODBC driver manager";
homepage = http://www.iodbc.org;
2018-10-17 19:55:14 +01:00
platforms = platforms.unix;
license = licenses.bsd3;
};
}