1 { lib, stdenv, fetchurl, fetchpatch, getopt, libjpeg, libpng12, giflib }:
3 stdenv.mkDerivation rec {
8 url = "http://s-tech.elsat.net.pl/fbv/fbv-${version}.tar.gz";
9 sha256 = "0g5b550vk11l639y8p5sx1v1i6ihgqk0x1hd0ri1bc2yzpdbjmcv";
14 url = "https://raw.githubusercontent.com/void-linux/void-packages/4a5bfe522ea5afd8203e804dc6a642d0871cd6dd/srcpkgs/fbv/patches/giflib-5.1.patch";
15 sha256 = "00q1zcn92yvvyij68bnq0m1sr3a411w914f4nyp6mpz0j5xc6dc7";
19 patchFlags = [ "-p0" ];
21 buildInputs = [ getopt libjpeg libpng12 giflib ];
22 makeFlags = [ "LDFLAGS=-lgif" ];
24 enableParallelBuilding = true;
27 mkdir -p $out/{bin,man/man1}
31 description = "View pictures on a linux framebuffer device";
32 homepage = "http://s-tech.elsat.net.pl/fbv/";
33 license = licenses.gpl2Only;
34 maintainers = with maintainers; [ peterhoeg ];