1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/applications/misc/vp/default.nix

28 lines
686 B
Nix
Raw Normal View History

2016-09-06 15:48:02 +01:00
{ stdenv, fetchFromGitHub, autoreconfHook, SDL, SDL_image }:
2016-06-28 20:50:26 +01:00
stdenv.mkDerivation rec {
name = "vp-${version}";
version = "1.8";
src = fetchFromGitHub {
owner = "erikg";
repo = "vp";
rev = "v${version}";
sha256 = "08q6xrxsyj6vj0sz59nix9isqz84gw3x9hym63lz6v8fpacvykdq";
};
2016-09-06 15:48:02 +01:00
nativeBuildInputs = [ autoreconfHook ];
2016-06-28 20:50:26 +01:00
2016-09-06 15:48:02 +01:00
buildInputs = [ SDL SDL_image ];
NIX_CFLAGS_COMPILE="-I${SDL}/include/SDL -I${SDL_image}/include/SDL";
2016-06-28 20:50:26 +01:00
meta = with stdenv.lib; {
homepage = http://brlcad.org/~erik/;
description = "SDL based picture viewer/slideshow";
platforms = platforms.unix;
license = licenses.gpl3;
maintainers = [ maintainers.vrthra ];
};
}