nixpkgs/pkgs/development/tools/database/pgweb/default.nix
Nejc Zupan 2ea951480d pgweb: init at 0.11.7
Add pgweb, a light and fast web-based PostgreSQL database browser
2020-11-22 23:43:36 +00:00

26 lines
702 B
Nix

{ 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 ];
};
}