python-rsvg: do not use top-level python packages

This commit is contained in:
Frederik Rietdijk 2016-09-25 23:19:17 +02:00
parent 0721cd2f7d
commit e1619caf9b

View File

@ -1,6 +1,8 @@
{ stdenv, fetchurl, gnome2, librsvg, pkgconfig, pygtk, python, gtk }: { stdenv, fetchurl, gnome2, librsvg, pkgconfig, python27Packages, gtk }:
stdenv.mkDerivation rec { let
inherit (python27Packages) python pygtk;
in stdenv.mkDerivation rec {
ver_maj = "2.32"; ver_maj = "2.32";
ver_min = "0"; ver_min = "0";
version = "${ver_maj}.${ver_min}"; version = "${ver_maj}.${ver_min}";