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";
|
2020-11-13 13:08:06 +00:00
|
|
|
version = "1.37.1";
|
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";
|
2020-11-13 13:08:06 +00:00
|
|
|
sha256 = "060sachn33xpx3a609f09y97qq5ky17gvv686zbvrn618ij7bi8q";
|
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
|
|
|
};
|
|
|
|
}
|