2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-11-27 22:27:27 +00:00
|
|
|
, fetchurl
|
|
|
|
, gtk3
|
|
|
|
, which
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-11-27 22:27:27 +00:00
|
|
|
, intltool
|
|
|
|
, file
|
|
|
|
, libintl
|
|
|
|
, hicolor-icon-theme
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2012-10-16 16:30:08 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "geany";
|
2021-10-09 16:48:44 +01:00
|
|
|
version = "1.38";
|
2019-11-27 22:27:27 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" "doc" "man" ];
|
2012-10-16 16:30:08 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-13 22:52:01 +01:00
|
|
|
url = "https://download.geany.org/${pname}-${version}.tar.bz2";
|
2021-10-09 16:48:44 +01:00
|
|
|
sha256 = "abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546";
|
2012-10-16 16:30:08 +01:00
|
|
|
};
|
|
|
|
|
2019-11-27 22:27:27 +00:00
|
|
|
nativeBuildInputs = [
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-11-27 22:27:27 +00:00
|
|
|
intltool
|
|
|
|
libintl
|
|
|
|
which
|
|
|
|
file
|
|
|
|
hicolor-icon-theme
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
];
|
2012-10-16 16:30:08 +01:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Small and lightweight IDE";
|
2012-10-16 16:30:08 +01: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.
|
2019-11-27 22:27:27 +00:00
|
|
|
Geany only requires the GTK runtime libraries.
|
2012-10-16 16:30:08 +01:00
|
|
|
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
|
|
|
|
'';
|
2019-11-27 22:27:27 +00:00
|
|
|
homepage = "https://www.geany.org/";
|
2018-08-20 18:35:29 +01:00
|
|
|
license = licenses.gpl2;
|
2018-12-18 18:39:06 +00:00
|
|
|
maintainers = with maintainers; [ frlan ];
|
2017-03-19 18:02:08 +00:00
|
|
|
platforms = platforms.all;
|
2012-10-16 16:30:08 +01:00
|
|
|
};
|
|
|
|
}
|