3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/pspg/default.nix
R. RyanTM 3f6ccc14b8 pspg: 1.6.8 -> 2.0.4
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
2019-09-27 18:56:19 -07:00

29 lines
695 B
Nix

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