nixpkgs/pkgs/development/python-modules/pygtksourceview/default.nix
Frederik Rietdijk 3760c8c7fd Python: replace mkPythonDerivation with buildPythonPackage and format="other";
This way all Python packages use the same function,
`buildPythonPackage`.
2017-03-21 13:01:49 +01:00

22 lines
576 B
Nix

{ lib, fetchurl, python, buildPythonPackage, pkgconfig, pygobject2, glib, pygtk, gnome2 }:
let version = "2.10.1"; in
buildPythonPackage {
name = "pygtksourceview-${version}";
format = "other";
src = fetchurl {
url = "http://ftp.gnome.org/pub/gnome/sources/pygtksourceview/2.10/pygtksourceview-${version}.tar.bz2";
sha256 = "0x2r9k547ad68sfddr5am341ap6zvy8k0rh3rd0n38k7xdd7rd5l";
};
patches = [ ./codegendir.patch ];
buildInputs = [ python pkgconfig pygobject2 glib pygtk gnome2.gtksourceview ];
meta = {
platforms = lib.platforms.unix;
};
}