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

26 lines
737 B
Nix
Raw Normal View History

2016-08-27 06:42:44 +02:00
{ stdenv, fetchgit, SDL2, SDL2_ttf, freeimage, fontconfig }:
2015-11-12 19:40:00 +01:00
stdenv.mkDerivation rec {
2015-11-14 10:11:12 +01:00
name = "imv-${version}";
2016-10-31 21:32:10 +01:00
version = "2.1.3";
2015-11-12 19:40:00 +01:00
2016-02-13 05:13:49 +01:00
src = fetchgit {
url = "https://github.com/eXeC64/imv.git";
2016-10-31 21:32:10 +01:00
rev = "e59d0e9e120f1dbde9ab068748a190e93978e5b7";
sha256 = "0j48dk1bcbh5541522qkn487637wcx104zckrnxa5g3nirfqa7r7";
2015-11-12 19:40:00 +01:00
};
2016-08-27 06:42:44 +02:00
buildInputs = [ SDL2 SDL2_ttf freeimage fontconfig ];
2015-11-12 19:40:00 +01: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 16:22:16 +01:00
license = licenses.gpl2;
2015-11-12 19:40:00 +01:00
maintainers = with maintainers; [ rnhmjoj ];
platforms = platforms.unix;
};
}