2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, SDL, SDL_image }:
|
2016-06-28 21:50:26 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "vp";
|
2016-06-28 21:50:26 +02:00
|
|
|
version = "1.8";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "erikg";
|
|
|
|
repo = "vp";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "08q6xrxsyj6vj0sz59nix9isqz84gw3x9hym63lz6v8fpacvykdq";
|
|
|
|
};
|
|
|
|
|
2016-09-06 16:48:02 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2016-06-28 21:50:26 +02:00
|
|
|
|
2016-09-06 16:48:02 +02:00
|
|
|
buildInputs = [ SDL SDL_image ];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE="-I${SDL}/include/SDL -I${SDL_image}/include/SDL";
|
2016-06-28 21:50:26 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-10-02 09:58:50 +02:00
|
|
|
homepage = "https://brlcad.org/~erik/";
|
2016-06-28 21:50:26 +02:00
|
|
|
description = "SDL based picture viewer/slideshow";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.vrthra ];
|
|
|
|
};
|
|
|
|
}
|