pgweb: init at 0.11.7

Add pgweb, a light and fast web-based PostgreSQL database browser
This commit is contained in:
Nejc Zupan 2020-11-22 13:08:47 +00:00
parent 3c8c57dc33
commit 2ea951480d
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

@ -13051,6 +13051,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 { };