2016-02-13 04:13:49 +00:00
|
|
|
{ stdenv, fetchgit, SDL2, SDL2_ttf, freeimage }:
|
2015-11-12 18:40:00 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-11-14 09:11:12 +00:00
|
|
|
name = "imv-${version}";
|
2016-02-13 04:13:49 +00:00
|
|
|
version = "2.0.0";
|
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";
|
|
|
|
rev = "bc90a0adcc5b22d2bf0158333eb6dfb34c402d48";
|
|
|
|
sha256 = "1bzx57d9mcxw9s72pdbdbwq9pns946jl6p2g881z43w68gimlpw7";
|
2015-11-12 18:40:00 +00:00
|
|
|
};
|
|
|
|
|
2016-02-13 04:13:49 +00:00
|
|
|
buildInputs = [ SDL2 SDL2_ttf freeimage ];
|
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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|