nixpkgs/pkgs/tools/misc/pspg/default.nix
R. RyanTM 5914078b0b pspg: 2.0.4 -> 2.1.8 (#71758)
* pspg: 2.0.4 -> 2.1.8

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pspg/versions

* pspg: cleanup

pkgconfig is now found automatically
2019-10-23 16:51:14 +02:00

27 lines
656 B
Nix

{ stdenv, fetchFromGitHub, gnugrep, ncurses, pkgconfig, readline }:
stdenv.mkDerivation rec {
pname = "pspg";
version = "2.1.8";
src = fetchFromGitHub {
owner = "okbob";
repo = pname;
rev = version;
sha256 = "0nfc1cv2l2v1rav5jj7jz5wyb2df5l3iwrvvpkvxxpv3qll8kcfv";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gnugrep ncurses readline ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with stdenv.lib; {
homepage = "https://github.com/okbob/pspg";
description = "Postgres Pager";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = [ maintainers.jlesquembre ];
};
}