about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/graphics/fbv/default.nix
blob: 6f6e0aeca2cc17ce1dd80f3bdb29a9bc0f3cd1b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, stdenv, fetchurl, getopt, libjpeg, libpng12, libungif }:

stdenv.mkDerivation rec {
  name = "fbv-1.0b";

  src = fetchurl {
    url = "http://s-tech.elsat.net.pl/fbv/${name}.tar.gz";
    sha256 = "0g5b550vk11l639y8p5sx1v1i6ihgqk0x1hd0ri1bc2yzpdbjmcv";
  };

  buildInputs = [ getopt libjpeg libpng12 libungif ];

  enableParallelBuilding = true;

  preInstall = ''
    mkdir -p $out/{bin,man/man1}
  '';

  meta = with lib; {
    description = "View pictures on a linux framebuffer device";
    homepage = "http://s-tech.elsat.net.pl/fbv/";
    license = licenses.gpl2;
    maintainers = with maintainers; [ peterhoeg ];
  };
}