nixpkgs/pkgs/development/python-modules/pygtksourceview/default.nix
Andrey Arapov 9f623a820d Adds a new package: cherrytree - A hierarchical note taking application
cherrytree - A hierarchical note taking application, featuring rich text
and syntax highlighting, storing data in a single xml or sqlite file.

This commit also adds PyGtkSourceView - a Python wrapper for the GtkSourceView widget library.

Official page http://www.giuspen.com/cherrytree
2015-01-31 02:17:00 +01:00

17 lines
485 B
Nix

{ 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 ];
}