mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
27 lines
637 B
Nix
27 lines
637 B
Nix
{ stdenv, fetchFromGitHub, autoconf, automake, SDL, SDL_image }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "vp-${version}";
|
|
version = "1.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "erikg";
|
|
repo = "vp";
|
|
rev = "v${version}";
|
|
sha256 = "08q6xrxsyj6vj0sz59nix9isqz84gw3x9hym63lz6v8fpacvykdq";
|
|
};
|
|
|
|
buildInputs = [ SDL autoconf automake SDL_image ];
|
|
|
|
preConfigure = ''
|
|
autoreconf -i
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://brlcad.org/~erik/;
|
|
description = "SDL based picture viewer/slideshow";
|
|
platforms = platforms.unix;
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.vrthra ];
|
|
};
|
|
}
|