3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/editors/geany/default.nix

59 lines
1.8 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, gtk2, which, pkgconfig, intltool, file }:
2017-03-19 18:02:08 +00:00
with stdenv.lib;
let
2017-07-29 11:43:45 +01:00
version = "1.31";
in
stdenv.mkDerivation rec {
name = "geany-${version}";
src = fetchurl {
2013-04-11 18:28:21 +01:00
url = "http://download.geany.org/${name}.tar.bz2";
2017-07-29 11:43:45 +01:00
sha256 = "30fdb906bb76c4251a8bcf83ee267db28c26ef6ab867668a782cec1164a3aba5";
};
2016-08-12 04:14:45 +01:00
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
2017-07-29 11:43:45 +01:00
2017-03-19 18:15:40 +00:00
nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ gtk2 which file ];
doCheck = true;
enableParallelBuilding = true;
patchPhase = "patchShebangs .";
# 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";
meta = {
description = "Small and lightweight IDE";
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
'';
2017-03-19 18:02:08 +00:00
homepage = http://www.geany.org/;
license = "GPL";
maintainers = [];
2017-03-19 18:02:08 +00:00
platforms = platforms.all;
};
}