Skip to content

Commit

Permalink
impressive: 0.10.5 -> 0.11.1
Browse files Browse the repository at this point in the history
fixes #21501

(cherry picked from commit a3a6ff5c51f6cadc53409f242213110cdce60812)
  • Loading branch information
Mic92 committed Dec 30, 2016
1 parent 2ce4178 commit bada11e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkgs/applications/office/impressive/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{ fetchurl, stdenv, pythonPackages, makeWrapper, lib
, xpdf, mesa, freeglut }:
, xpdf, mesa, SDL, freeglut }:

let
inherit (pythonPackages) 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.
Expand All @@ -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
Expand All @@ -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 = {
Expand Down

0 comments on commit bada11e

Please sign in to comment.