2009-10-14 15:38:16 +01:00
|
|
|
{ stdenv, fetchurl, zlib, ncurses, readline }:
|
|
|
|
|
2013-04-04 14:43:08 +01:00
|
|
|
let version = "8.4.17"; in
|
2009-10-14 15:38:16 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "postgresql-${version}";
|
2012-08-21 13:41:11 +01:00
|
|
|
|
2009-10-14 15:38:16 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
|
2013-04-04 14:43:08 +01:00
|
|
|
sha256 = "0dh4rn4q2amqjwmjjiya99bz1ph3lx45j5brnpwdjd9mxhs4r26w";
|
2009-10-14 15:38:16 +01:00
|
|
|
};
|
|
|
|
|
2010-06-21 21:43:05 +01:00
|
|
|
buildInputs = [ zlib ncurses readline ];
|
2009-10-14 15:38:16 +01:00
|
|
|
|
2010-02-11 16:18:14 +00:00
|
|
|
LC_ALL = "C";
|
2009-10-14 15:38:16 +01:00
|
|
|
|
|
|
|
passthru = { inherit readline; };
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.postgresql.org/;
|
|
|
|
description = "A powerful, open source object-relational database system";
|
|
|
|
license = "bsd";
|
|
|
|
};
|
|
|
|
}
|