2016-04-24 08:22:40 -07:00
|
|
|
{ stdenv, fetchurl, postgresql, wxGTK, libxml2, libxslt, openssl, zlib }:
|
2010-07-28 04:55:54 -07:00
|
|
|
|
2009-10-08 02:26:47 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2013-08-08 07:49:26 -07:00
|
|
|
name = "pgadmin3-${version}";
|
2016-03-03 13:11:32 -08:00
|
|
|
version = "1.22.1";
|
2008-01-28 17:24:54 -08:00
|
|
|
|
2008-01-30 09:20:48 -08:00
|
|
|
src = fetchurl {
|
2013-08-08 07:49:26 -07:00
|
|
|
url = "http://ftp.postgresql.org/pub/pgadmin3/release/v${version}/src/pgadmin3-${version}.tar.gz";
|
2016-03-03 13:11:32 -08:00
|
|
|
sha256 = "0gkqpj8cg6jd6yhssrij1cbh960rg9fkjbdzcpryi6axwv0ag7ki";
|
2008-01-28 17:24:54 -08:00
|
|
|
};
|
|
|
|
|
2016-03-27 10:56:27 -07:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-04-24 08:22:40 -07:00
|
|
|
buildInputs = [ postgresql wxGTK openssl zlib ];
|
2008-01-28 17:24:54 -08:00
|
|
|
|
2013-08-08 07:49:26 -07:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace pgadmin/ver_svn.sh --replace "bin/bash" "$shell"
|
|
|
|
'';
|
|
|
|
|
2016-04-24 08:22:40 -07:00
|
|
|
configureFlags = [
|
|
|
|
"--with-libxml2=${libxml2}"
|
2016-08-22 17:34:38 -07:00
|
|
|
"--with-libxslt=${libxslt.dev}"
|
2016-04-24 08:22:40 -07:00
|
|
|
];
|
|
|
|
|
2013-08-08 07:49:26 -07:00
|
|
|
meta = with stdenv.lib; {
|
2010-07-28 04:55:54 -07:00
|
|
|
description = "PostgreSQL administration GUI tool";
|
|
|
|
homepage = http://www.pgadmin.org;
|
2013-08-08 07:49:26 -07:00
|
|
|
license = licenses.gpl2;
|
2016-05-17 04:57:28 -07:00
|
|
|
maintainers = with maintainers; [ domenkozar wmertens ];
|
2013-08-08 07:49:26 -07:00
|
|
|
platforms = platforms.unix;
|
2010-07-28 04:55:54 -07:00
|
|
|
};
|
2008-01-28 17:24:54 -08:00
|
|
|
}
|