impressive: 0.10.5 -> 0.11.1

fixes #21501
This commit is contained in:
Jörg Thalheim 2016-12-30 10:22:19 +01:00
parent 64f45520b9
commit 74caf88a58
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -1,9 +1,9 @@
{ fetchurl, stdenv, python2Packages, makeWrapper, lib
, xpdf, mesa, freeglut }:
, xpdf, mesa, SDL, freeglut }:
let
inherit (python2Packages) python pyopengl pygame setuptools pillow;
version = "0.10.5";
version = "0.11.1";
in stdenv.mkDerivation {
# This project was formerly known as KeyJNote.
# See http://keyj.s2000.ws/?p=77 for details.
@ -12,7 +12,7 @@ in stdenv.mkDerivation {
src = fetchurl {
url = "mirror://sourceforge/impressive/Impressive-${version}.tar.gz";
sha256 = "0fz1zahxlfjang53wn06svy4s4aw28c79v24gwadvjvv3h1g5wam";
sha256 = "0b3rmy6acp2vmf5nill3aknxvr9a5aawk1vnphkah61anxp62gsr";
};
# Note: We need to have `setuptools' in the path to be able to use
@ -39,13 +39,13 @@ in stdenv.mkDerivation {
# honors $LIBRARY_PATH. See
# http://python.net/crew/theller/ctypes/reference.html#id1 .
wrapProgram "$out/bin/impressive" \
--prefix PATH ":" "${xpdf}" \
--prefix PATH ":" "${xpdf}/bin" \
--prefix PYTHONPATH ":" \
${lib.concatStringsSep ":"
(map (path:
path + "/lib/${python.libPrefix}/site-packages")
[ pillow pyopengl pygame setuptools ])} \
--prefix LIBRARY_PATH ":" "${lib.makeLibraryPath [ mesa freeglut ]}"
--prefix LIBRARY_PATH ":" "${lib.makeLibraryPath [ mesa freeglut SDL ]}"
'';
meta = {