at 15.09-beta 25 lines 760 B view raw
1{ stdenv, fetchurl, postgresql, wxGTK, libxml2, libxslt, openssl }: 2 3stdenv.mkDerivation rec { 4 name = "pgadmin3-${version}"; 5 version = "1.20.0"; 6 7 src = fetchurl { 8 url = "http://ftp.postgresql.org/pub/pgadmin3/release/v${version}/src/pgadmin3-${version}.tar.gz"; 9 sha256 = "133bcbx9a322adldd1498h8bn2wfk45v1sbj9269jylwda1dfwq7"; 10 }; 11 12 buildInputs = [ postgresql wxGTK libxml2 libxslt openssl ]; 13 14 preConfigure = '' 15 substituteInPlace pgadmin/ver_svn.sh --replace "bin/bash" "$shell" 16 ''; 17 18 meta = with stdenv.lib; { 19 description = "PostgreSQL administration GUI tool"; 20 homepage = http://www.pgadmin.org; 21 license = licenses.gpl2; 22 maintainers = with maintainers; [ iElectric wmertens ]; 23 platforms = platforms.unix; 24 }; 25}