pythonPackages: use mkPythonDerivation

This commit is contained in:
Frederik Rietdijk
2016-08-31 11:01:16 +02:00
parent e9c4d00cac
commit 4f6b6f1472
13 changed files with 56 additions and 65 deletions

View File

@@ -1,6 +1,6 @@
{ stdenv, fetchurl, python, pkgconfig, glib }:
{ stdenv, fetchurl, python, mkPythonDerivation, pkgconfig, glib }:
stdenv.mkDerivation rec {
mkPythonDerivation rec {
name = "pygobject-2.28.6";
src = fetchurl {
@@ -18,9 +18,7 @@ stdenv.mkDerivation rec {
configureFlags = "--disable-introspection";
buildInputs = [ python pkgconfig glib ];
passthru.pythonPath = [];
buildInputs = [ pkgconfig glib ];
# in a "normal" setup, pygobject and pygtk are installed into the
# same site-packages: we need a pth file for both. pygtk.py would be