mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
b2fa805948
svn path=/nixpkgs/trunk/; revision=25104
25 lines
564 B
Nix
25 lines
564 B
Nix
{ stdenv, fetchurl, zlib, ncurses, readline }:
|
|
|
|
let version = "8.3.12"; in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "postgresql-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
|
|
sha256 = "0w7h09nx8pkpzznmz4wd1zv8dg3f6jv366rr8bf3s5g6vrvxcssr";
|
|
};
|
|
|
|
buildInputs = [ zlib ncurses readline ];
|
|
|
|
LC_ALL = "en_US";
|
|
|
|
passthru = { inherit readline; };
|
|
|
|
meta = {
|
|
homepage = http://www.postgresql.org/;
|
|
description = "A powerful, open source object-relational database system";
|
|
license = "bsd";
|
|
};
|
|
}
|