1{ buildGoPackage, fetchFromGitHub, lib }:
2
3buildGoPackage rec {
4 pname = "pgweb";
5 version = "0.11.7";
6
7 src = fetchFromGitHub {
8 owner = "sosedoff";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "1df3vixxca80i040apbim80nqni94q882ykn3cglyccyl0iz59ix";
12 };
13
14 goPackagePath = "github.com/sosedoff/pgweb";
15
16 meta = with lib; {
17 description = "A web-based database browser for PostgreSQL";
18 longDescription = ''
19 A simple postgres browser that runs as a web server. You can view data,
20 run queries and examine tables and indexes.
21 '';
22 homepage = "https://sosedoff.github.io/pgweb/";
23 license = licenses.mit;
24 maintainers = with maintainers; [ zupo ];
25 };
26}