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