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