Merge pull request #104597 from zupo/master

Add pgweb, a light and fast web-based PostgreSQL database browser
This commit is contained in:
Domen Kožar 2020-11-23 14:53:58 +01:00 committed by GitHub
commit 5b6aeb1b92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 0 deletions

View file

@ -9998,4 +9998,10 @@
github = "pulsation";
githubId = 1838397;
};
zupo = {
name = "Nejc Zupan";
email = "nejczupan+nix@gmail.com";
github = "zupo";
githubId = 311580;
};
}

View file

@ -0,0 +1,26 @@
{ buildGoPackage, fetchFromGitHub, lib }:
buildGoPackage rec {
pname = "pgweb";
version = "0.11.7";
src = fetchFromGitHub {
owner = "sosedoff";
repo = pname;
rev = "v${version}";
sha256 = "1df3vixxca80i040apbim80nqni94q882ykn3cglyccyl0iz59ix";
};
goPackagePath = "github.com/sosedoff/pgweb";
meta = with lib; {
description = "A web-based database browser for PostgreSQL";
longDescription = ''
A simple postgres browser that runs as a web server. You can view data,
run queries and examine tables and indexes.
'';
homepage = "https://sosedoff.github.io/pgweb/";
license = licenses.mit;
maintainers = with maintainers; [ zupo ];
};
}

View file

@ -13068,6 +13068,8 @@ in
pgpkeyserver-lite = callPackage ../servers/web-apps/pgpkeyserver-lite {};
pgweb = callPackage ../development/tools/database/pgweb { };
gpgstats = callPackage ../tools/security/gpgstats { };
gpshell = callPackage ../development/tools/misc/gpshell { };