3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/graphics/imv/default.nix

33 lines
842 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
}:
2015-11-12 18:40:00 +00:00
stdenv.mkDerivation rec {
2015-11-14 09:11:12 +00:00
name = "imv-${version}";
2018-09-03 13:22:32 +01:00
version = "3.0.0";
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}";
sha256 = "0j5aykdkm1g518ism5y5flhwxvjvl92ksq989fhl2wpnv0la82jp";
2015-11-12 18:40:00 +00:00
};
2018-09-03 13:22:32 +01:00
buildInputs = [
SDL2 SDL2_ttf freeimage fontconfig pkgconfig
asciidoc docbook_xsl libxslt cmocka
];
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
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 = [ "i686-linux" "x86_64-linux" ];
2015-11-12 18:40:00 +00:00
};
}