Skip to content

Commit

Permalink
fim: init at 0.5rc3
Browse files Browse the repository at this point in the history
  • Loading branch information
primeos committed Sep 21, 2017
1 parent 41cca29 commit e0ef28c
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pkgs/tools/graphics/fim/default.nix
@@ -0,0 +1,40 @@
{ stdenv, fetchurl, autoconf, automake, pkgconfig, perl
, flex, bison, readline
, giflib, libtiff, libexif, libpng, libjpeg, jasper
, aalib, inkscape#, SDL, fig2dev, jasper # TODO
}:

stdenv.mkDerivation rec {
name = "fim-${version}";
version = "0.5rc3";

src = fetchurl {
url = mirror://savannah/fbi-improved/fim-0.5-rc3.tar.gz;
sha256 = "12aka85h469zfj0zcx3xdpan70gq8nf5rackgb1ldcl9mqjn50c2";
};

postPatch = ''
substituteInPlace doc/vim2html.pl \
--replace /usr/bin/perl ${perl}/bin/perl
'';

nativeBuildInputs = [ autoconf automake pkgconfig ];

buildInputs = [
perl flex bison readline
giflib libtiff libexif libpng libjpeg jasper aalib inkscape
];

meta = with stdenv.lib; {
description = "A lightweight, highly customizable and scriptable image viewer";
longDescription = ''
FIM (Fbi IMproved) is a lightweight, console based image viewer that aims
to be a highly customizable and scriptable for users who are comfortable
with software like the VIM text editor or the Mutt mail user agent.
'';
homepage = http://www.nongnu.org/fbi-improved/;
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ primeos ];
};
}
3 changes: 3 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -2013,6 +2013,9 @@ with pkgs;

fdk_aac = callPackage ../development/libraries/fdk-aac { };

# WIP: fim
fimFull = callPackage ../tools/graphics/fim { };

flac123 = callPackage ../applications/audio/flac123 { };

flamegraph = callPackage ../development/tools/flamegraph { };
Expand Down

0 comments on commit e0ef28c

Please sign in to comment.