nixpkgs/pkgs/desktops/gnome-3/devtools/anjuta/default.nix

45 lines
1.2 KiB
Nix
Raw Normal View History

2021-01-17 02:21:50 +00:00
{ lib, stdenv, fetchurl, pkg-config, gnome3, gtk3, gjs, flex, bison, libxml2, intltool,
gdl, libgda, gtksourceview, gsettings-desktop-schemas,
2017-12-18 23:04:20 +00:00
itstool, python3, ncurses, makeWrapper }:
stdenv.mkDerivation rec {
pname = "anjuta";
2019-09-09 19:05:43 +01:00
version = "3.34.0";
src = fetchurl {
2021-01-15 13:21:58 +00:00
url = "mirror://gnome/sources/anjuta/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2019-09-09 19:05:43 +01:00
sha256 = "13ql7axw6zz387s7pa1m7wmh7qps3x7fk53h9832vq1yxlq33aa2";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "anjuta"; attrPath = "gnome3.anjuta"; };
};
enableParallelBuilding = true;
2017-12-18 23:04:20 +00:00
nativeBuildInputs = [
2021-01-17 02:21:50 +00:00
pkg-config intltool itstool python3 makeWrapper
2017-12-18 23:04:20 +00:00
# Required by python3
ncurses
];
buildInputs = [
2019-11-04 23:38:42 +00:00
flex bison gtk3 libxml2 gjs gdl
2019-01-19 06:28:06 +00:00
libgda gtksourceview
gsettings-desktop-schemas
];
preFixup = ''
wrapProgram $out/bin/anjuta \
--prefix XDG_DATA_DIRS : \
"$GSETTINGS_SCHEMAS_PATH"
'';
meta = with lib; {
description = "Software development studio";
homepage = "http://anjuta.org/";
license = licenses.gpl2;
2017-12-18 23:04:20 +00:00
maintainers = with maintainers; [];
platforms = platforms.linux;
};
}