summary refs log tree commit diff
path: root/pkgs/applications/graphics/imv/default.nix
blob: b5d44eb4ccef19bab881aa5ad4fa55a743d27718 (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
26
27
28
{ stdenv, fetchFromGitHub,
  SDL2, freeimage
}:

stdenv.mkDerivation rec {
  name = "imv";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "eXeC64";
    repo  = "imv";
    rev = "f2ce793d628e88825eff3364b293104cb0bdb582";
    sha256 = "1xqaqbfjgksbjmy1yy7q4sv5bak7w8va60xa426jzscy9cib2sgh";
  };

  buildInputs = [ SDL2 freeimage ];

  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.mit;
    maintainers = with maintainers; [ rnhmjoj ];
    platforms   = platforms.unix;
  };
}