nixpkgs/pkgs/development/python-modules/pygtksourceview/default.nix

21 lines
554 B
Nix
Raw Normal View History

2016-08-31 11:01:16 +02:00
{ lib, fetchurl, python, mkPythonDerivation, pkgconfig, pygobject, glib, pygtk, gnome2 }:
let version = "2.10.1"; in
2016-08-31 11:01:16 +02:00
mkPythonDerivation {
name = "pygtksourceview-${version}";
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 pygobject glib pygtk gnome2.gtksourceview ];
meta = {
2016-08-31 11:01:16 +02:00
platforms = lib.platforms.unix;
};
}