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

26 lines
714 B
Nix
Raw Normal View History

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-05-28 13:59:46 +01:00
version = "2.1.2";
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-05-28 13:59:46 +01:00
rev = "3e6402456b00e29f659baf26ced10f3d7205cf63";
sha256 = "0fhc944g7b61jrkd4wn1piq6dkpabsbxpm80pifx9dqmj16sf0pf";
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;
};
}