2021-07-07 13:56:07 +02:00
|
|
|
{ lib
|
|
|
|
, autoreconfHook
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gettext
|
|
|
|
, ncurses
|
|
|
|
, readline
|
|
|
|
, stdenv
|
|
|
|
, texinfo
|
|
|
|
}:
|
2005-11-13 16:02:31 +01:00
|
|
|
|
2021-07-07 13:56:07 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pinfo";
|
|
|
|
version = "0.6.13";
|
2014-08-31 18:33:31 +02:00
|
|
|
|
2021-07-07 13:56:07 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "baszoetekouw";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "173d2p22irwiabvr4z6qvr6zpr6ysfkhmadjlyhyiwd7z62larvy";
|
2005-11-13 16:02:31 +01:00
|
|
|
};
|
2008-01-01 00:38:10 +01:00
|
|
|
|
2021-07-07 13:56:07 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
];
|
2014-08-31 18:33:31 +02:00
|
|
|
|
2021-07-07 13:56:07 +02:00
|
|
|
buildInputs = [
|
|
|
|
gettext
|
|
|
|
texinfo
|
|
|
|
ncurses
|
|
|
|
readline
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-curses=${ncurses.dev}"
|
|
|
|
"--with-readline=${readline.dev}"
|
|
|
|
];
|
2014-08-31 18:33:31 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2014-08-31 18:33:31 +02:00
|
|
|
description = "A viewer for info files";
|
2021-07-07 13:56:07 +02:00
|
|
|
homepage = "https://github.com/baszoetekouw/pinfo";
|
2014-08-31 18:33:31 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = platforms.unix;
|
2021-07-07 13:56:07 +02:00
|
|
|
maintainers = with maintainers; [ fab ];
|
2014-08-31 18:33:31 +02:00
|
|
|
};
|
2005-11-13 16:02:31 +01:00
|
|
|
}
|