2012-10-16 17:30:08 +02:00
|
|
|
{ stdenv, fetchurl, gtk2, which, pkgconfig, intltool }:
|
|
|
|
|
|
|
|
let
|
2013-12-11 08:58:18 +01:00
|
|
|
version = "1.23.1";
|
2012-10-16 17:30:08 +02:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "geany-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-04-11 19:28:21 +02:00
|
|
|
url = "http://download.geany.org/${name}.tar.bz2";
|
2013-12-11 08:58:18 +01:00
|
|
|
sha256 = "1bcgjxywggsljs9kq22kr9xpzrq5xr7pb9d1b71rwryqb5pb25c8";
|
2012-10-16 17:30:08 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gtk2 which pkgconfig intltool ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2012-11-28 00:21:34 +01:00
|
|
|
# This file should normally require a gtk-update-icon-cache -q /usr/share/icons/hicolor command
|
|
|
|
# It have no reasons to exist in a redistribuable package
|
|
|
|
postInstall = "rm $out/share/icons/hicolor/icon-theme.cache";
|
|
|
|
|
2012-10-16 17:30:08 +02:00
|
|
|
meta = {
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "Small and lightweight IDE";
|
2012-10-16 17:30:08 +02:00
|
|
|
longDescription = ''
|
|
|
|
Geany is a small and lightweight Integrated Development Environment.
|
|
|
|
It was developed to provide a small and fast IDE, which has only a few dependencies from other packages.
|
|
|
|
Another goal was to be as independent as possible from a special Desktop Environment like KDE or GNOME.
|
|
|
|
Geany only requires the GTK2 runtime libraries.
|
|
|
|
Some basic features of Geany:
|
|
|
|
- Syntax highlighting
|
|
|
|
- Code folding
|
|
|
|
- Symbol name auto-completion
|
|
|
|
- Construct completion/snippets
|
|
|
|
- Auto-closing of XML and HTML tags
|
|
|
|
- Call tips
|
|
|
|
- Many supported filetypes including C, Java, PHP, HTML, Python, Perl, Pascal (full list)
|
|
|
|
- Symbol lists
|
|
|
|
- Code navigation
|
|
|
|
- Build system to compile and execute your code
|
|
|
|
- Simple project management
|
|
|
|
- Plugin interface
|
|
|
|
'';
|
|
|
|
homepage = "http://www.geany.org/";
|
|
|
|
license = "GPL";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bbenoist ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|