3f6ccc14b8
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
29 lines
695 B
Nix
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 ];
|
|
};
|
|
}
|