git.iko.soy/typeable/nixpkgs
on master help sign in
mirage: use pillow instead of pil
60e2dceFrederik Rietdijk
pkgs/applications/graphics/mirage/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, buildPythonPackage, python, pygtk, pil, libX11, gettext }:
1+{ stdenv, fetchurl, buildPythonPackage, python, pygtk, pillow, libX11, gettext }:
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 namePrefix = "";
4 namePrefix = "";
@@ -17,7 +17,7 @@ buildPythonPackage rec {
17 sed -i "s@/usr/local/share/locale@$out/share/locale@" mirage.py
17 sed -i "s@/usr/local/share/locale@$out/share/locale@" mirage.py
18 '';
18 '';
19
19
20− pythonPath = [ pygtk pil ];
20+ propagatedBuildInputs = [ pygtk pillow ];
21
21
22 meta = {
22 meta = {
23 description = "Simple image viewer written in PyGTK";
23 description = "Simple image viewer written in PyGTK";
pkgs/top-level/all-packages.nix+4−1
@@ -12371,7 +12371,10 @@ let
12371
12371
12372 mimms = callPackage ../applications/audio/mimms {};
12372 mimms = callPackage ../applications/audio/mimms {};
12373
12373
12374− mirage = callPackage ../applications/graphics/mirage {};
12374+ mirage = callPackage ../applications/graphics/mirage {
12375+ inherit (pythonPackages) pygtk;
12376+ inherit (pythonPackages) pillow;
12377+ };
12375
12378
12376 mixxx = callPackage ../applications/audio/mixxx {
12379 mixxx = callPackage ../applications/audio/mixxx {
12377 inherit (vamp) vampSDK;
12380 inherit (vamp) vampSDK;