Merge pull request #69124 from asbachb/update-to-netbeans-11.1
Update to NetBeans 11.1
This commit is contained in:
commit
a2638b611f
@ -3,12 +3,12 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "11.0";
|
version = "11.1";
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
name = "netbeans";
|
name = "netbeans";
|
||||||
exec = "netbeans";
|
exec = "netbeans";
|
||||||
comment = "Integrated Development Environment";
|
comment = "Integrated Development Environment";
|
||||||
desktopName = "Netbeans IDE";
|
desktopName = "Apache NetBeans IDE";
|
||||||
genericName = "Integrated Development Environment";
|
genericName = "Integrated Development Environment";
|
||||||
categories = "Application;Development;";
|
categories = "Application;Development;";
|
||||||
icon = "netbeans";
|
icon = "netbeans";
|
||||||
@ -18,8 +18,8 @@ stdenv.mkDerivation {
|
|||||||
pname = "netbeans";
|
pname = "netbeans";
|
||||||
inherit version;
|
inherit version;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://apache/incubator/netbeans/incubating-netbeans/incubating-${version}/incubating-netbeans-${version}-bin.zip";
|
url = "mirror://apache/netbeans/netbeans/${version}/netbeans-${version}-bin.zip";
|
||||||
sha512 = "15mv59njrnq3sjfzb0n7xcc79kpixygf37cxvbswnvm651cw6lb1i9w8wbjivh0z4zcf3f62vbmshxh5pkaxqpqsg0iyy6gddfbwzwx";
|
sha512 = "bb061b9258d524b7b53b3b5ee9aa95111f7a391a5e2c5c0bc949164166af9a03d0cebbde2b47a8853fb765307b4c93ce8389a9c87bef26c92c08cdf446314e4d";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
@ -48,7 +48,7 @@ stdenv.mkDerivation {
|
|||||||
convert -resize "$size"x"$size" netbeans_1024x1024x32.png $out/share/icons/hicolor/"$size"x"$size"/apps/netbeans.png
|
convert -resize "$size"x"$size" netbeans_1024x1024x32.png $out/share/icons/hicolor/"$size"x"$size"/apps/netbeans.png
|
||||||
fi
|
fi
|
||||||
done;
|
done;
|
||||||
|
|
||||||
# Create desktop item, so we can pick it from the KDE/GNOME menu
|
# Create desktop item, so we can pick it from the KDE/GNOME menu
|
||||||
mkdir -pv $out/share/applications
|
mkdir -pv $out/share/applications
|
||||||
ln -s ${desktopItem}/share/applications/* $out/share/applications
|
ln -s ${desktopItem}/share/applications/* $out/share/applications
|
||||||
@ -58,7 +58,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "An integrated development environment for Java, C, C++ and PHP";
|
description = "An integrated development environment for Java, C, C++ and PHP";
|
||||||
homepage = "https://netbeans.org/";
|
homepage = "https://netbeans.apache.org/";
|
||||||
license = stdenv.lib.licenses.asl20;
|
license = stdenv.lib.licenses.asl20;
|
||||||
maintainers = with stdenv.lib.maintainers; [ sander rszibele ];
|
maintainers = with stdenv.lib.maintainers; [ sander rszibele ];
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
|
Loading…
Reference in New Issue
Block a user