pythonPackages: use mkPythonDerivation
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchurl, python, pkgconfig, pygobject, glib, pygtk, gnome2 }:
|
||||
{ lib, fetchurl, python, mkPythonDerivation, pkgconfig, pygobject, glib, pygtk, gnome2 }:
|
||||
|
||||
let version = "2.10.1"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
mkPythonDerivation {
|
||||
name = "pygtksourceview-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
@@ -15,6 +15,6 @@ stdenv.mkDerivation {
|
||||
buildInputs = [ python pkgconfig pygobject glib pygtk gnome2.gtksourceview ];
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user