2018-03-14 20:15:06 +01:00
|
|
|
{ stdenv, fetchurl, gtk2, which, pkgconfig, intltool, file, libintl }:
|
2012-10-16 17:30:08 +02:00
|
|
|
|
2017-03-19 19:02:08 +01:00
|
|
|
with stdenv.lib;
|
|
|
|
|
2012-10-16 17:30:08 +02:00
|
|
|
let
|
2018-02-25 14:59:59 +01:00
|
|
|
version = "1.33";
|
2012-10-16 17:30:08 +02:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "geany-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://download.geany.org/${name}.tar.bz2";
|
2018-02-25 14:59:59 +01:00
|
|
|
sha256 = "66baaff43f12caebcf0efec9a5533044dc52837f799c73a1fd7312caa86099c2";
|
2012-10-16 17:30:08 +02:00
|
|
|
};
|
|
|
|
|
2018-03-14 20:15:06 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool libintl ];
|
2017-03-19 19:15:40 +01:00
|
|
|
buildInputs = [ gtk2 which file ];
|
2012-10-16 17:30:08 +02:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2015-01-08 10:26:49 +01:00
|
|
|
patchPhase = "patchShebangs .";
|
|
|
|
|
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
|
|
|
|
'';
|
2018-01-05 20:42:46 +01:00
|
|
|
homepage = https://www.geany.org/;
|
2012-10-16 17:30:08 +02:00
|
|
|
license = "GPL";
|
2017-03-23 03:02:09 +01:00
|
|
|
maintainers = [];
|
2017-03-19 19:02:08 +01:00
|
|
|
platforms = platforms.all;
|
2012-10-16 17:30:08 +02:00
|
|
|
};
|
|
|
|
}
|