mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 12:02:47 +00:00
28 lines
678 B
Nix
28 lines
678 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, SDL, SDL_image }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vp";
|
|
version = "1.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "erikg";
|
|
repo = "vp";
|
|
rev = "v${version}";
|
|
sha256 = "08q6xrxsyj6vj0sz59nix9isqz84gw3x9hym63lz6v8fpacvykdq";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ SDL SDL_image ];
|
|
|
|
NIX_CFLAGS_COMPILE="-I${SDL}/include/SDL -I${SDL_image}/include/SDL";
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "http://brlcad.org/~erik/";
|
|
description = "SDL based picture viewer/slideshow";
|
|
platforms = platforms.unix;
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.vrthra ];
|
|
};
|
|
}
|