summary refs log tree commit diff
path: root/pkgs/applications/graphics/imv/default.nix
blob: e9a0dccd30a9c2e0ffe08927d8689bfbb5372b5a (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
{ stdenv, fetchgit, SDL2, SDL2_ttf, freeimage, fontconfig }:

stdenv.mkDerivation rec {
  name = "imv-${version}";
  version = "2.1.3";

  src = fetchgit {
    url = "https://github.com/eXeC64/imv.git";
    rev = "e59d0e9e120f1dbde9ab068748a190e93978e5b7";
    sha256 = "0j48dk1bcbh5541522qkn487637wcx104zckrnxa5g3nirfqa7r7";
  };

  buildInputs = [ SDL2 SDL2_ttf freeimage fontconfig ];

  configurePhase = "substituteInPlace Makefile --replace /usr $out";

  meta = with stdenv.lib; {
    description = "A command line image viewer for tiling window managers";
    homepage    = https://github.com/eXeC64/imv; 
    license     = licenses.gpl2;
    maintainers = with maintainers; [ rnhmjoj ];
    platforms   = platforms.unix;
  };
}