2010-07-28 13:55:54 +02:00
|
|
|
{ stdenv, fetchurl, postgresql, wxGTK, libxml2, libxslt, openssl }:
|
|
|
|
|
2009-10-08 11:26:47 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2013-08-08 16:49:26 +02:00
|
|
|
name = "pgadmin3-${version}";
|
|
|
|
version = "1.16.1";
|
2008-01-29 02:24:54 +01:00
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
src = fetchurl {
|
2013-08-08 16:49:26 +02:00
|
|
|
url = "http://ftp.postgresql.org/pub/pgadmin3/release/v${version}/src/pgadmin3-${version}.tar.gz";
|
|
|
|
sha256 = "13n2nyjnbmjbz9n0xp6627n3pavkqfp4n45l1mnqxhjdq8yj9fnl";
|
2008-01-29 02:24:54 +01:00
|
|
|
};
|
|
|
|
|
2010-07-28 13:55:54 +02:00
|
|
|
buildInputs = [ postgresql wxGTK libxml2 libxslt openssl ];
|
2008-01-29 02:24:54 +01:00
|
|
|
|
2013-08-08 16:49:26 +02:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace pgadmin/ver_svn.sh --replace "bin/bash" "$shell"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2010-07-28 13:55:54 +02:00
|
|
|
description = "PostgreSQL administration GUI tool";
|
|
|
|
homepage = http://www.pgadmin.org;
|
2013-08-08 16:49:26 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.iElectric ];
|
|
|
|
platforms = platforms.unix;
|
2010-07-28 13:55:54 +02:00
|
|
|
};
|
2008-01-29 02:24:54 +01:00
|
|
|
}
|