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

35 lines
878 B
Nix
Raw Normal View History

2018-09-03 13:22:32 +01:00
{ stdenv, fetchFromGitHub, SDL2, SDL2_ttf
, freeimage, fontconfig, pkgconfig
, asciidoc, docbook_xsl, libxslt, cmocka
2019-07-19 07:40:54 +01:00
, librsvg
2018-09-03 13:22:32 +01:00
}:
2015-11-12 18:40:00 +00:00
stdenv.mkDerivation rec {
pname = "imv";
2019-07-19 07:40:54 +01:00
version = "3.1.2";
2015-11-12 18:40:00 +00:00
2018-09-03 13:22:32 +01:00
src = fetchFromGitHub {
owner = "eXeC64";
repo = "imv";
rev = "v${version}";
2019-07-19 07:40:54 +01:00
sha256 = "0gg362x2f7hli6cr6s7dmlanh4cqk7fd2pmk4zs9438jvqklf4cl";
2015-11-12 18:40:00 +00:00
};
2018-09-03 13:22:32 +01:00
buildInputs = [
SDL2 SDL2_ttf freeimage fontconfig pkgconfig
2019-07-19 07:40:54 +01:00
asciidoc docbook_xsl libxslt cmocka librsvg
2018-09-03 13:22:32 +01:00
];
2015-11-12 18:40:00 +00:00
2018-09-03 13:22:32 +01:00
installFlags = [ "PREFIX=$(out)" "CONFIGPREFIX=$(out)/etc" ];
2015-11-12 18:40:00 +00:00
2019-07-19 07:40:54 +01:00
doCheck = true;
2015-11-12 18:40:00 +00:00
meta = with stdenv.lib; {
description = "A command line image viewer for tiling window managers";
2019-07-19 07:40:54 +01:00
homepage = https://github.com/eXeC64/imv;
2015-12-08 15:22:16 +00:00
license = licenses.gpl2;
2019-07-19 07:40:54 +01:00
maintainers = with maintainers; [ rnhmjoj markus1189 ];
platforms = [ "i686-linux" "x86_64-linux" ];
2015-11-12 18:40:00 +00:00
};
}