Python: replace mkPythonDerivation with buildPythonPackage and format="other";
This way all Python packages use the same function, `buildPythonPackage`.
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
{ lib, fetchurl, python, mkPythonDerivation, pkgconfig, pygobject2, glib, pygtk, gnome2 }:
|
||||
{ lib, fetchurl, python, buildPythonPackage, pkgconfig, pygobject2, glib, pygtk, gnome2 }:
|
||||
|
||||
let version = "2.10.1"; in
|
||||
|
||||
mkPythonDerivation {
|
||||
buildPythonPackage {
|
||||
name = "pygtksourceview-${version}";
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.gnome.org/pub/gnome/sources/pygtksourceview/2.10/pygtksourceview-${version}.tar.bz2";
|
||||
|
||||
Reference in New Issue
Block a user