Merge pull request #45976 from rnhmjoj/imv

imv: 2.1.3 -> 3.0.0
This commit is contained in:
xeji 2018-09-04 00:48:20 +02:00 committed by GitHub
commit 6f91e44b6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,25 +1,32 @@
{ stdenv, fetchgit, SDL2, SDL2_ttf, freeimage, fontconfig }:
{ stdenv, fetchFromGitHub, SDL2, SDL2_ttf
, freeimage, fontconfig, pkgconfig
, asciidoc, docbook_xsl, libxslt, cmocka
}:
stdenv.mkDerivation rec {
name = "imv-${version}";
version = "2.1.3";
version = "3.0.0";
src = fetchgit {
url = "https://github.com/eXeC64/imv.git";
rev = "e59d0e9e120f1dbde9ab068748a190e93978e5b7";
sha256 = "0j48dk1bcbh5541522qkn487637wcx104zckrnxa5g3nirfqa7r7";
src = fetchFromGitHub {
owner = "eXeC64";
repo = "imv";
rev = "v${version}";
sha256 = "0j5aykdkm1g518ism5y5flhwxvjvl92ksq989fhl2wpnv0la82jp";
};
buildInputs = [ SDL2 SDL2_ttf freeimage fontconfig ];
buildInputs = [
SDL2 SDL2_ttf freeimage fontconfig pkgconfig
asciidoc docbook_xsl libxslt cmocka
];
configurePhase = "substituteInPlace Makefile --replace /usr $out";
installFlags = [ "PREFIX=$(out)" "CONFIGPREFIX=$(out)/etc" ];
meta = with stdenv.lib; {
description = "A command line image viewer for tiling window managers";
homepage = https://github.com/eXeC64/imv;
license = licenses.gpl2;
maintainers = with maintainers; [ rnhmjoj ];
platforms = platforms.unix;
platforms = [ "x86_64-linux" ];
};
}