pinfo: 0.6.10 -> 0.6.13

This commit is contained in:
Fabian Affolter 2021-07-07 13:56:07 +02:00
parent 8001cd5ac0
commit c7ddc7e001

View file

@ -1,24 +1,45 @@
{ lib, stdenv, fetchurl, autoreconfHook, gettext, texinfo, ncurses, readline }: { lib
, autoreconfHook
, fetchFromGitHub
, gettext
, ncurses
, readline
, stdenv
, texinfo
}:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "pinfo-0.6.10"; pname = "pinfo";
version = "0.6.13";
src = fetchurl { src = fetchFromGitHub {
# homepage needed you to login to download the tarball owner = "baszoetekouw";
url = "https://src.fedoraproject.org/repo/pkgs/pinfo/pinfo-0.6.10.tar.bz2" repo = pname;
+ "/fe3d3da50371b1773dfe29bf870dbc5b/pinfo-0.6.10.tar.bz2"; rev = "v${version}";
sha256 = "0p8wyrpz9npjcbx6c973jspm4c3xz4zxx939nngbq49xqah8088j"; sha256 = "173d2p22irwiabvr4z6qvr6zpr6ysfkhmadjlyhyiwd7z62larvy";
}; };
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [
buildInputs = [ gettext texinfo ncurses readline ]; autoreconfHook
];
configureFlags = [ "--with-curses=${ncurses.dev}" "--with-readline=${readline.dev}" ]; buildInputs = [
gettext
texinfo
ncurses
readline
];
configureFlags = [
"--with-curses=${ncurses.dev}"
"--with-readline=${readline.dev}"
];
meta = with lib; { meta = with lib; {
description = "A viewer for info files"; description = "A viewer for info files";
homepage = "https://github.com/baszoetekouw/pinfo";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ fab ];
}; };
} }