2016-08-27 05:42:44 +01:00
|
|
|
{ stdenv, fetchgit, SDL2, SDL2_ttf, freeimage, fontconfig }:
|
2015-11-12 18:40:00 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-11-14 09:11:12 +00:00
|
|
|
name = "imv-${version}";
|
2016-10-31 20:32:10 +00:00
|
|
|
version = "2.1.3";
|
2015-11-12 18:40:00 +00:00
|
|
|
|
2016-02-13 04:13:49 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/eXeC64/imv.git";
|
2016-10-31 20:32:10 +00:00
|
|
|
rev = "e59d0e9e120f1dbde9ab068748a190e93978e5b7";
|
|
|
|
sha256 = "0j48dk1bcbh5541522qkn487637wcx104zckrnxa5g3nirfqa7r7";
|
2015-11-12 18:40:00 +00:00
|
|
|
};
|
|
|
|
|
2016-08-27 05:42:44 +01:00
|
|
|
buildInputs = [ SDL2 SDL2_ttf freeimage fontconfig ];
|
2015-11-12 18:40:00 +00:00
|
|
|
|
|
|
|
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;
|
2015-12-08 15:22:16 +00:00
|
|
|
license = licenses.gpl2;
|
2015-11-12 18:40:00 +00:00
|
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|