Merge pull request #104597 from zupo/master
Add pgweb, a light and fast web-based PostgreSQL database browser
This commit is contained in:
commit
5b6aeb1b92
@ -9998,4 +9998,10 @@
|
||||
github = "pulsation";
|
||||
githubId = 1838397;
|
||||
};
|
||||
zupo = {
|
||||
name = "Nejc Zupan";
|
||||
email = "nejczupan+nix@gmail.com";
|
||||
github = "zupo";
|
||||
githubId = 311580;
|
||||
};
|
||||
}
|
||||
|
26
pkgs/development/tools/database/pgweb/default.nix
Normal file
26
pkgs/development/tools/database/pgweb/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user