45 lines
1.1 KiB
Nix
45 lines
1.1 KiB
Nix
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, flex, bison, libxml2, intltool,
|
|
gdl, libgda, gtksourceview,
|
|
itstool, python3, ncurses, makeWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "anjuta-${version}";
|
|
version = "3.28.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/anjuta/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "0ya7ajai9rx9g597sr5wawr6l5pb2s34bbjdsbnx0lkrhnjv11xh";
|
|
};
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript { packageName = "anjuta"; attrPath = "gnome3.anjuta"; };
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig intltool itstool python3 makeWrapper
|
|
# Required by python3
|
|
ncurses
|
|
];
|
|
buildInputs = [
|
|
flex bison gtk3 libxml2 gnome3.gjs gdl
|
|
libgda gtksourceview
|
|
gnome3.gsettings-desktop-schemas
|
|
];
|
|
|
|
preFixup = ''
|
|
wrapProgram $out/bin/anjuta \
|
|
--prefix XDG_DATA_DIRS : \
|
|
"$GSETTINGS_SCHEMAS_PATH"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Software development studio";
|
|
homepage = http://anjuta.org/;
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|