depot/third_party/nixpkgs/pkgs/development/tools/database/pgweb/default.nix
Default email 93ffb054db Project import generated by Copybara.
GitOrigin-RevId: 6f0c00907bbd81b47052eef59f7b284926a77289
2020-11-24 21:58:05 +01: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 ];
};
}