nixpkgs/pkgs/applications/graphics/imv/default.nix
2016-05-28 15:00:32 +02:00

26 lines
714 B
Nix

{ stdenv, fetchgit, SDL2, SDL2_ttf, freeimage }:
stdenv.mkDerivation rec {
name = "imv-${version}";
version = "2.1.2";
src = fetchgit {
url = "https://github.com/eXeC64/imv.git";
rev = "3e6402456b00e29f659baf26ced10f3d7205cf63";
sha256 = "0fhc944g7b61jrkd4wn1piq6dkpabsbxpm80pifx9dqmj16sf0pf";
};
buildInputs = [ SDL2 SDL2_ttf 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.gpl2;
maintainers = with maintainers; [ rnhmjoj ];
platforms = platforms.unix;
};
}