2018-09-03 14:22:32 +02:00
|
|
|
{ stdenv, fetchFromGitHub, SDL2, SDL2_ttf
|
|
|
|
, freeimage, fontconfig, pkgconfig
|
|
|
|
, asciidoc, docbook_xsl, libxslt, cmocka
|
|
|
|
}:
|
2015-11-12 19:40:00 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-11-14 10:11:12 +01:00
|
|
|
name = "imv-${version}";
|
2018-09-03 14:22:32 +02:00
|
|
|
version = "3.0.0";
|
2015-11-12 19:40:00 +01:00
|
|
|
|
2018-09-03 14:22:32 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "eXeC64";
|
|
|
|
repo = "imv";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0j5aykdkm1g518ism5y5flhwxvjvl92ksq989fhl2wpnv0la82jp";
|
2015-11-12 19:40:00 +01:00
|
|
|
};
|
|
|
|
|
2018-09-03 14:22:32 +02:00
|
|
|
buildInputs = [
|
|
|
|
SDL2 SDL2_ttf freeimage fontconfig pkgconfig
|
|
|
|
asciidoc docbook_xsl libxslt cmocka
|
|
|
|
];
|
2015-11-12 19:40:00 +01:00
|
|
|
|
2018-09-03 14:22:32 +02:00
|
|
|
installFlags = [ "PREFIX=$(out)" "CONFIGPREFIX=$(out)/etc" ];
|
2015-11-12 19:40:00 +01:00
|
|
|
|
|
|
|
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 ];
|
2018-09-09 10:30:58 +02:00
|
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
2015-11-12 19:40:00 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|