@@ -1,9 +1,11 @@
11{ stdenv, fetchurl, gettext, glib, gtk2, hicolor_icon_theme, json_c
2−, lcms2, libpng , makeWrapper, pkgconfig, pygtk, python, pythonPackages
2+, lcms2, libpng , makeWrapper, pkgconfig, pythonPackages
33, scons, swig
44}:
55
6−stdenv.mkDerivation rec {
6+let
7+ inherit (pythonPackages) python pygtk numpy;
8+in stdenv.mkDerivation rec {
79 name = "mypaint-${version}";
810 version = "1.1.0";
911
@@ -17,7 +19,7 @@ stdenv.mkDerivation rec {
1719 python scons swig
1820 ];
1921
20− propagatedBuildInputs = [ hicolor_icon_theme pythonPackages.numpy ];
22+ propagatedBuildInputs = [ hicolor_icon_theme numpy ];
2123
2224 buildPhase = "scons prefix=$out";
2325