3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/pspg/default.nix

27 lines
678 B
Nix
Raw Normal View History

2020-01-21 09:20:00 +00:00
{ stdenv, fetchFromGitHub, gnugrep, ncurses, pkgconfig, readline, postgresql }:
2018-04-08 06:24:34 +01:00
stdenv.mkDerivation rec {
pname = "pspg";
2020-03-29 08:27:43 +01:00
version = "2.7.1";
2018-04-08 06:24:34 +01:00
src = fetchFromGitHub {
owner = "okbob";
repo = pname;
2019-09-09 00:38:31 +01:00
rev = version;
2020-03-29 08:27:43 +01:00
sha256 = "1fq8n5naicfv0lsyzfb52c84w40zrsks0x9rrvyyzih4vkhic4vm";
2018-04-08 06:24:34 +01:00
};
nativeBuildInputs = [ pkgconfig ];
2020-01-21 09:20:00 +00:00
buildInputs = [ gnugrep ncurses readline postgresql ];
2018-04-08 06:24:34 +01:00
makeFlags = [ "PREFIX=${placeholder "out"}" ];
2018-04-08 06:24:34 +01:00
meta = with stdenv.lib; {
homepage = "https://github.com/okbob/pspg";
2018-04-08 06:24:34 +01:00
description = "Postgres Pager";
license = licenses.bsd2;
2020-01-21 09:20:00 +00:00
platforms = platforms.unix;
2018-04-08 06:24:34 +01:00
maintainers = [ maintainers.jlesquembre ];
};
}