@@ -0,0 +1,28 @@
1+{ stdenv, fetchFromGitHub,
2+ SDL2, freeimage
3+}:
4+
5+stdenv.mkDerivation rec {
6+ name = "imv";
7+ version = "1.0.0";
8+
9+ src = fetchFromGitHub {
10+ owner = "eXeC64";
11+ repo = "imv";
12+ rev = "f2ce793d628e88825eff3364b293104cb0bdb582";
13+ sha256 = "1xqaqbfjgksbjmy1yy7q4sv5bak7w8va60xa426jzscy9cib2sgh";
14+ };
15+
16+ buildInputs = [ SDL2 freeimage ];
17+
18+ configurePhase = "substituteInPlace Makefile --replace /usr $out";
19+
20+ meta = with stdenv.lib; {
21+ description = "A command line image viewer for tiling window managers";
22+ homepage = https://github.com/eXeC64/imv;
23+ license = licenses.mit;
24+ maintainers = with maintainers; [ rnhmjoj ];
25+ platforms = platforms.unix;
26+ };
27+}
28+