summary refs log tree commit diff
path: root/pkgs/development/python-modules/pygtksourceview/default.nix
blob: 48019c62f3ee035d350ef15a0148d2f0bde6b890 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, python, pkgconfig, pygobject, glib, pygtk, gnome2 }:

let version = "2.10.1"; in

stdenv.mkDerivation {
  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 = {
    platforms = stdenv.lib.platforms.unix;
  };
}