mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 17:41:12 +00:00
26 lines
760 B
Nix
26 lines
760 B
Nix
{ stdenv, fetchurl, postgresql, wxGTK, libxml2, libxslt, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "pgadmin3-${version}";
|
|
version = "1.20.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://ftp.postgresql.org/pub/pgadmin3/release/v${version}/src/pgadmin3-${version}.tar.gz";
|
|
sha256 = "133bcbx9a322adldd1498h8bn2wfk45v1sbj9269jylwda1dfwq7";
|
|
};
|
|
|
|
buildInputs = [ postgresql wxGTK libxml2 libxslt openssl ];
|
|
|
|
preConfigure = ''
|
|
substituteInPlace pgadmin/ver_svn.sh --replace "bin/bash" "$shell"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "PostgreSQL administration GUI tool";
|
|
homepage = http://www.pgadmin.org;
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ iElectric wmertens ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|