nixpkgs/pkgs/applications/graphics/imv/default.nix

29 lines
705 B
Nix
Raw Normal View History

2015-11-12 18:40:00 +00:00
{ stdenv, fetchFromGitHub,
SDL2, freeimage
}:
stdenv.mkDerivation rec {
2015-11-14 09:11:12 +00:00
name = "imv-${version}";
2015-12-08 15:22:16 +00:00
version = "1.1.0";
2015-11-12 18:40:00 +00:00
src = fetchFromGitHub {
owner = "eXeC64";
repo = "imv";
2015-12-08 15:22:16 +00:00
rev = "4d1a6d581b70b25d9533c5c788aab6900ebf82bb";
sha256 = "1c5r4pqqypir8ymicxyn2k7mhq8nl88b3x6giaafd77ssjn0vz9r";
2015-11-12 18:40:00 +00:00
};
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;
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;
};
}