Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

pgcenter: init at 0.5.0

+138
+24
pkgs/tools/misc/pgcenter/default.nix
··· 1 + { stdenv, buildGoPackage, fetchFromGitHub }: 2 + 3 + buildGoPackage rec { 4 + name = "pgcenter-${version}"; 5 + version = "0.5.0"; 6 + 7 + goPackagePath = "github.com/lesovsky/pgcenter"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "lesovsky"; 11 + repo = "pgcenter"; 12 + rev = "v${version}"; 13 + sha256 = "1bbpzli8hh5356gink6byk085zyfwxi8wigdy5cbadppx4qnk078"; 14 + }; 15 + 16 + goDeps = ./deps.nix; 17 + 18 + meta = with stdenv.lib; { 19 + homepage = https://pgcenter.org/; 20 + description = "Command-line admin tool for observing and troubleshooting PostgreSQL"; 21 + license = licenses.bsd3; 22 + maintainers = [ maintainers.marsam ]; 23 + }; 24 + }
+112
pkgs/tools/misc/pgcenter/deps.nix
··· 1 + [ 2 + 3 + { 4 + goPackagePath = "github.com/inconshreveable/mousetrap"; 5 + fetch = { 6 + type = "git"; 7 + url = "https://github.com/inconshreveable/mousetrap"; 8 + rev = "v1.0.0"; 9 + sha256 = "1mn0kg48xkd74brf48qf5hzp0bc6g8cf5a77w895rl3qnlpfw152"; 10 + }; 11 + } 12 + 13 + { 14 + goPackagePath = "github.com/jehiah/go-strftime"; 15 + fetch = { 16 + type = "git"; 17 + url = "https://github.com/jehiah/go-strftime"; 18 + rev = "1d33003b3869"; 19 + sha256 = "056zagn4zhmrcqg8y5k5wql01x4ijbxn4pv75bh1bn45by6qx1gv"; 20 + }; 21 + } 22 + 23 + { 24 + goPackagePath = "github.com/jroimartin/gocui"; 25 + fetch = { 26 + type = "git"; 27 + url = "https://github.com/jroimartin/gocui"; 28 + rev = "v0.4.0"; 29 + sha256 = "1b1cbjg925l1c5v3ls8amni9716190yzf847cqs9wjnj82z8qa47"; 30 + }; 31 + } 32 + 33 + { 34 + goPackagePath = "github.com/lib/pq"; 35 + fetch = { 36 + type = "git"; 37 + url = "https://github.com/lib/pq"; 38 + rev = "v1.0.0"; 39 + sha256 = "1zqnnyczaf00xi6xh53vq758v5bdlf0iz7kf22l02cal4i6px47i"; 40 + }; 41 + } 42 + 43 + { 44 + goPackagePath = "github.com/mattn/go-runewidth"; 45 + fetch = { 46 + type = "git"; 47 + url = "https://github.com/mattn/go-runewidth"; 48 + rev = "v0.0.3"; 49 + sha256 = "0lc39b6xrxv7h3v3y1kgz49cgi5qxwlygs715aam6ba35m48yi7g"; 50 + }; 51 + } 52 + 53 + { 54 + goPackagePath = "github.com/nsf/termbox-go"; 55 + fetch = { 56 + type = "git"; 57 + url = "https://github.com/nsf/termbox-go"; 58 + rev = "b66b20ab708e"; 59 + sha256 = "0wrgnwfdxrspni5q15vzr5q1bxnzb7m6q4xjhllcyddgn2zqprsa"; 60 + }; 61 + } 62 + 63 + { 64 + goPackagePath = "github.com/pkg/errors"; 65 + fetch = { 66 + type = "git"; 67 + url = "https://github.com/pkg/errors"; 68 + rev = "v0.8.0"; 69 + sha256 = "001i6n71ghp2l6kdl3qq1v2vmghcz3kicv9a5wgcihrzigm75pp5"; 70 + }; 71 + } 72 + 73 + { 74 + goPackagePath = "github.com/spf13/cobra"; 75 + fetch = { 76 + type = "git"; 77 + url = "https://github.com/spf13/cobra"; 78 + rev = "v0.0.3"; 79 + sha256 = "1q1nsx05svyv9fv3fy6xv6gs9ffimkyzsfm49flvl3wnvf1ncrkd"; 80 + }; 81 + } 82 + 83 + { 84 + goPackagePath = "github.com/spf13/pflag"; 85 + fetch = { 86 + type = "git"; 87 + url = "https://github.com/spf13/pflag"; 88 + rev = "v1.0.2"; 89 + sha256 = "005598piihl3l83a71ahj10cpq9pbhjck4xishx1b4dzc02r9xr2"; 90 + }; 91 + } 92 + 93 + { 94 + goPackagePath = "golang.org/x/crypto"; 95 + fetch = { 96 + type = "git"; 97 + url = "https://go.googlesource.com/crypto"; 98 + rev = "0e37d006457b"; 99 + sha256 = "1fj8rvrhgv5j8pmckzphvm3sqkzhcqp3idkxvgv13qrjdfycsa5r"; 100 + }; 101 + } 102 + 103 + { 104 + goPackagePath = "golang.org/x/sys"; 105 + fetch = { 106 + type = "git"; 107 + url = "https://go.googlesource.com/sys"; 108 + rev = "ee1b12c67af4"; 109 + sha256 = "0cgp0xzbhg3fr77n2qrfmmsvhc287srnwi4mghwcjdxp6rx0s988"; 110 + }; 111 + } 112 + ]
+2
pkgs/top-level/all-packages.nix
··· 4794 4794 4795 4795 pg_top = callPackage ../tools/misc/pg_top { }; 4796 4796 4797 + pgcenter = callPackage ../tools/misc/pgcenter { }; 4798 + 4797 4799 pgmetrics = callPackage ../tools/misc/pgmetrics { }; 4798 4800 4799 4801 pdsh = callPackage ../tools/networking/pdsh {