git.iko.soy/typeable/nixpkgs
on master help sign in
mypaint: do not use top-level python packages
commit0ccf17590ba06b8b8e5ce03001d2b178b10e129e authorFrederik Rietdijk <fridh@fridh.nl> dateMon 26 Sep 2016, 09:45 (10 years ago) parent76ef3ef
1 file changed+5−3
pkgs/applications/graphics/mypaint/default.nix+5−3
pkgs/applications/graphics/mypaint/default.nix+5−3
@@ -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