1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 08:34:50 +00:00
nixpkgs/pkgs/tools/misc/pspg/default.nix

27 lines
677 B
Nix
Raw Normal View History

2021-01-17 03:51:22 +00:00
{ lib, stdenv, fetchFromGitHub, gnugrep, ncurses, pkg-config, readline, postgresql }:
2018-04-08 06:24:34 +01:00
stdenv.mkDerivation rec {
pname = "pspg";
2021-03-22 15:03:26 +00:00
version = "4.4.0";
2018-04-08 06:24:34 +01:00
src = fetchFromGitHub {
owner = "okbob";
repo = pname;
2019-09-09 00:38:31 +01:00
rev = version;
2021-03-22 15:03:26 +00:00
sha256 = "sha256-kRKU6ynZffV17GqEArkXxz6M9xoa3kn2yNqjyLRY0rc=";
2018-04-08 06:24:34 +01:00
};
2021-01-17 03:51:22 +00:00
nativeBuildInputs = [ pkg-config ];
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 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 ];
};
}