Desktop entry
This commit is contained in:
parent
ec0442f7b3
commit
d5e447a086
|
|
@ -14,6 +14,7 @@ pkgs.stdenv.mkDerivation rec {
|
||||||
makeWrapper
|
makeWrapper
|
||||||
jdk17
|
jdk17
|
||||||
unzip
|
unzip
|
||||||
|
copyDesktopItems
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
|
|
@ -77,12 +78,28 @@ EOF
|
||||||
]}"
|
]}"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Make sure shell scripts are executable
|
|
||||||
chmod +x $out/opt/apache-hop/*.sh
|
chmod +x $out/opt/apache-hop/*.sh
|
||||||
|
|
||||||
|
mkdir -p $out/share/applications
|
||||||
|
mkdir -p $out/share/pixmaps
|
||||||
|
|
||||||
|
cp $out/opt/apache-hop/hop.ico $out/share/pixmaps/hop.ico
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
desktopItems = [
|
||||||
|
(pkgs.makeDesktopItem {
|
||||||
|
name = "apache-hop";
|
||||||
|
desktopName = "Apache Hop";
|
||||||
|
comment = "Data Integration Platform";
|
||||||
|
exec = "hop-gui";
|
||||||
|
icon = "hop";
|
||||||
|
categories = [ "Development" "Database" ];
|
||||||
|
mimeTypes = [ "application/x-hop-workflow" "application/x-hop-pipeline" ];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
meta = with pkgs.lib; {
|
meta = with pkgs.lib; {
|
||||||
description = "Apache Hop - Data Integration Platform";
|
description = "Apache Hop - Data Integration Platform";
|
||||||
homepage = "https://hop.apache.org/";
|
homepage = "https://hop.apache.org/";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue