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
This commit is contained in:
R. RyanTM 2019-10-23 07:51:14 -07:00 committed by Renaud
parent b451d3327c
commit 5914078b0b

View file

@ -2,24 +2,22 @@
stdenv.mkDerivation rec {
pname = "pspg";
version = "2.0.4";
version = "2.1.8";
src = fetchFromGitHub {
owner = "okbob";
repo = "pspg";
repo = pname;
rev = version;
sha256 = "1xiyshz56qpx3bv0mzx73rqr7wmyamyj8jbqdv05wjb72npkjmzl";
sha256 = "0nfc1cv2l2v1rav5jj7jz5wyb2df5l3iwrvvpkvxxpv3qll8kcfv";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gnugrep ncurses readline ];
preBuild = ''
makeFlags="PREFIX=$out PKG_CONFIG=${pkgconfig}/bin/pkg-config"
'';
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with stdenv.lib; {
homepage = https://github.com/okbob/pspg;
homepage = "https://github.com/okbob/pspg";
description = "Postgres Pager";
license = licenses.bsd2;
platforms = platforms.linux;