1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/applications/graphics/fbida/default.nix

32 lines
994 B
Nix
Raw Normal View History

2016-04-04 17:05:01 +01:00
{ stdenv, fetchurl, libjpeg, libexif, libungif, libtiff, libpng, libwebp, libdrm
2016-11-27 16:07:01 +00:00
, pkgconfig, freetype, fontconfig, which, imagemagick, curl, sane-backends, libXpm
2017-03-21 12:39:52 +00:00
, epoxy, poppler, lirc }:
stdenv.mkDerivation rec {
2017-03-21 12:35:57 +00:00
name = "fbida-2.13";
src = fetchurl {
url = "http://dl.bytesex.org/releases/fbida/${name}.tar.gz";
2017-03-21 12:35:57 +00:00
sha256 = "01yv4qqqfbz9v281y2jlxhxdym3ricyb0zkqkgp5b40qrmfik1x8";
};
nativeBuildInputs = [ pkgconfig which ];
2016-11-27 16:07:01 +00:00
buildInputs = [ libexif libjpeg libpng libungif freetype fontconfig libtiff
2017-03-21 12:39:52 +00:00
libwebp imagemagick curl sane-backends libdrm libXpm epoxy poppler lirc ];
makeFlags = [ "prefix=$(out)" "verbose=yes" ];
patchPhase =
''
sed -e 's@ cpp\>@ gcc -E -@' -i GNUmakefile
'';
meta = with stdenv.lib; {
description = "Image viewing and manipulation programs";
homepage = https://www.kraxel.org/blog/linux/fbida/;
license = licenses.gpl2;
maintainers = with maintainers; [ pSub ];
2016-11-27 16:07:01 +00:00
platforms = platforms.linux;
};
}