Merge pull request #38602 from jlesquembre/pspg

pspg: init at 1.0.0
This commit is contained in:
lewo 2018-04-08 09:57:17 +02:00 committed by GitHub
commit 5aae2a8998
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, gnugrep, ncurses, pkgconfig }:
stdenv.mkDerivation rec {
name = "pspg-${version}";
version = "1.0.0";
src = fetchFromGitHub {
owner = "okbob";
repo = "pspg";
rev = "${version}";
sha256 = "1swrg4bg7i4xpdrsg8dsfldbxaffni04x8i1s0g6h691qcin675v";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gnugrep ncurses ];
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 ];
};
}

View File

@ -4421,6 +4421,8 @@ with pkgs;
pssh = callPackage ../tools/networking/pssh { };
pspg = callPackage ../tools/misc/pspg { };
pstoedit = callPackage ../tools/graphics/pstoedit { };
psutils = callPackage ../tools/typesetting/psutils { };