nixpkgs-suyu/pkgs/tools/misc/pspg/default.nix

27 lines
656 B
Nix
Raw Normal View History

2018-04-26 20:27:41 +02:00
{ stdenv, fetchFromGitHub, gnugrep, ncurses, pkgconfig, readline }:
2018-04-08 07:24:34 +02:00
stdenv.mkDerivation rec {
pname = "pspg";
2019-12-24 08:25:43 +01:00
version = "2.6.4";
2018-04-08 07:24:34 +02:00
src = fetchFromGitHub {
owner = "okbob";
repo = pname;
2019-09-09 01:38:31 +02:00
rev = version;
2019-12-24 08:25:43 +01:00
sha256 = "1sp6ign4phr5j5gg0n345wf2ssihsvqmc8lww8vddi6hiq1l86gp";
2018-04-08 07:24:34 +02:00
};
nativeBuildInputs = [ pkgconfig ];
2018-04-26 20:27:41 +02:00
buildInputs = [ gnugrep ncurses readline ];
2018-04-08 07:24:34 +02:00
makeFlags = [ "PREFIX=${placeholder "out"}" ];
2018-04-08 07:24:34 +02:00
meta = with stdenv.lib; {
homepage = "https://github.com/okbob/pspg";
2018-04-08 07:24:34 +02:00
description = "Postgres Pager";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = [ maintainers.jlesquembre ];
};
}