diff options
author | Nejc Zupan <nejc.zupan@gmail.com> | 2020-11-22 13:08:47 +0000 |
---|---|---|
committer | Nejc Zupan <nejc.zupan@gmail.com> | 2020-11-22 23:43:36 +0000 |
commit | 2ea951480d629e6b329a30c14ea0b92be1ab5039 (patch) | |
tree | 8e442a733f456bc674f827e7a10fc48b273779a6 | |
parent | 3c8c57dc33cc45ae7695dd8e6846a78b5550abaf (diff) |
pgweb: init at 0.11.7
Add pgweb, a light and fast web-based PostgreSQL database browser
-rw-r--r-- | maintainers/maintainer-list.nix | 6 | ||||
-rw-r--r-- | pkgs/development/tools/database/pgweb/default.nix | 26 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 34 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index f2e33938e051..c686510142c5 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -9998,4 +9998,10 @@ github = "pulsation"; githubId = 1838397; }; + zupo = { + name = "Nejc Zupan"; + email = "nejczupan+nix@gmail.com"; + github = "zupo"; + githubId = 311580; + }; } diff --git a/pkgs/development/tools/database/pgweb/default.nix b/pkgs/development/tools/database/pgweb/default.nix new file mode 100644 index 000000000000..de9d0847f8b6 --- /dev/null +++ b/pkgs/development/tools/database/pgweb/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2b0603007c41..e44b25615596 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { }; |