mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 16:11:58 +00:00
3b4ee14a83
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. These checks were done: - built on NixOS - ran ‘/nix/store/g5s0d7h461nd55hnzp5k6v74dlfcz6dh-pspg-1.1.1/bin/pspg --help’ got 0 exit code - ran ‘/nix/store/g5s0d7h461nd55hnzp5k6v74dlfcz6dh-pspg-1.1.1/bin/pspg -V’ and found version 1.1.1 - ran ‘/nix/store/g5s0d7h461nd55hnzp5k6v74dlfcz6dh-pspg-1.1.1/bin/pspg --version’ and found version 1.1.1 - found 1.1.1 with grep in /nix/store/g5s0d7h461nd55hnzp5k6v74dlfcz6dh-pspg-1.1.1 - directory tree listing: https://gist.github.com/ba99487fab26f86a314d4a727749a490
29 lines
710 B
Nix
29 lines
710 B
Nix
{ stdenv, fetchFromGitHub, gnugrep, ncurses, pkgconfig, readline }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "pspg-${version}";
|
|
version = "1.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "okbob";
|
|
repo = "pspg";
|
|
rev = "${version}";
|
|
sha256 = "19jiixanyghasd2awkxx7c224fz01d9v0c4qxn4msvkny39m3gz9";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|