Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5f1bb369a95e
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 02114b5f5988
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Nov 26, 2018

  1. pgcenter: init at 0.5.0

    marsam committed Nov 26, 2018
    Copy the full SHA
    b7c2848 View commit details
  2. Merge pull request #49267 from marsam/feature/init-pgcenter

    pgcenter: init at 0.5.0
    worldofpeace authored Nov 26, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    ruyadorno Ruy Adorno
    Copy the full SHA
    02114b5 View commit details
Showing with 138 additions and 0 deletions.
  1. +24 −0 pkgs/tools/misc/pgcenter/default.nix
  2. +112 −0 pkgs/tools/misc/pgcenter/deps.nix
  3. +2 −0 pkgs/top-level/all-packages.nix
24 changes: 24 additions & 0 deletions pkgs/tools/misc/pgcenter/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
name = "pgcenter-${version}";
version = "0.5.0";

goPackagePath = "github.com/lesovsky/pgcenter";

src = fetchFromGitHub {
owner = "lesovsky";
repo = "pgcenter";
rev = "v${version}";
sha256 = "1bbpzli8hh5356gink6byk085zyfwxi8wigdy5cbadppx4qnk078";
};

goDeps = ./deps.nix;

meta = with stdenv.lib; {
homepage = https://pgcenter.org/;
description = "Command-line admin tool for observing and troubleshooting PostgreSQL";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
};
}
112 changes: 112 additions & 0 deletions pkgs/tools/misc/pgcenter/deps.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -4794,6 +4794,8 @@ with pkgs;

pg_top = callPackage ../tools/misc/pg_top { };

pgcenter = callPackage ../tools/misc/pgcenter { };

pgmetrics = callPackage ../tools/misc/pgmetrics { };

pdsh = callPackage ../tools/networking/pdsh {