lol
1{ stdenv, fetchurl, freetds, readline }:
2
3stdenv.mkDerivation rec {
4 version = "2.5.16.1";
5 name = "sqsh-${version}";
6
7 src = fetchurl {
8 url = "http://www.mirrorservice.org/sites/downloads.sourceforge.net/s/sq/sqsh/sqsh/sqsh-2.5/${name}.tgz";
9 sha256 = "1wi0hdmhk7l8nrz4j3kaa177mmxyklmzhj7sq1gj4q6fb8v1yr6n";
10 };
11
12 preConfigure =
13 ''
14 export SYBASE=${freetds}
15 '';
16
17 buildInputs = [
18 freetds
19 readline
20 ];
21
22 meta = {
23 description = "Command line tool for querying Sybase/MSSQL databases";
24 longDescription =
25 ''
26 Sqsh (pronounced skwish) is short for SQshelL (pronounced s-q-shell),
27 it is intended as a replacement for the venerable 'isql' program supplied
28 by Sybase.
29 '';
30 homepage = "http://www.cs.washington.edu/~rose/sqsh/sqsh.html";
31 platforms = stdenv.lib.platforms.all;
32 };
33}