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