mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
27 lines
656 B
Nix
27 lines
656 B
Nix
{ stdenv, fetchFromGitHub, gnugrep, ncurses, pkgconfig, readline }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pspg";
|
|
version = "2.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "okbob";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0cs0hsrrknl2cv39zzq4wydx5p7095hz18yly572fnniyi4ljbdg";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ gnugrep ncurses readline ];
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/okbob/pspg";
|
|
description = "Postgres Pager";
|
|
license = licenses.bsd2;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.jlesquembre ];
|
|
};
|
|
}
|