mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
commit
5aae2a8998
28
pkgs/tools/misc/pspg/default.nix
Normal file
28
pkgs/tools/misc/pspg/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user