jaspersoft-studio-community: init at 6.21.3
This commit is contained in:
parent
cf541d2e22
commit
c9803a9349
2 changed files with 56 additions and 0 deletions
|
@ -5,4 +5,5 @@ final: prev: {
|
||||||
asus-numpad = prev.callPackage ./asus-numpad.nix { };
|
asus-numpad = prev.callPackage ./asus-numpad.nix { };
|
||||||
openwebstart = prev.callPackage ./openwebstart.nix { };
|
openwebstart = prev.callPackage ./openwebstart.nix { };
|
||||||
json2cdn = prev.callPackage ./json2cdn/package.nix { };
|
json2cdn = prev.callPackage ./json2cdn/package.nix { };
|
||||||
|
jaspersoft-studio-community = prev.callPackage ./jaspersoft-studio-community.nix { };
|
||||||
}
|
}
|
||||||
|
|
55
pkgs/jaspersoft-studio-community.nix
Normal file
55
pkgs/jaspersoft-studio-community.nix
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
{
|
||||||
|
stdenvNoCC,
|
||||||
|
autoPatchelfHook,
|
||||||
|
copyDesktopItems,
|
||||||
|
makeDesktopItem,
|
||||||
|
requireFile,
|
||||||
|
temurin-bin-17,
|
||||||
|
}:
|
||||||
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
|
pname = "jaspersoft-studio-community";
|
||||||
|
version = "6.21.3";
|
||||||
|
|
||||||
|
src = requireFile {
|
||||||
|
name = "js-studiocomm_${finalAttrs.version}_linux_x86_64.tgz";
|
||||||
|
url = "https://community.jaspersoft.com/download-jaspersoft/community-edition/jaspersoft-studio_${finalAttrs.version}";
|
||||||
|
hash = "sha256-llxWq2hNTlHC2slhov0VDK2mJu2NZ2xOh3Rut9XDKac=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoPatchelfHook
|
||||||
|
copyDesktopItems
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
rm -rf features/jre.linux.gtk.x86_64.feature_17.0.8.1_1/eclipsetemurin_jre
|
||||||
|
ln -s ${temurin-bin-17} features/jre.linux.gtk.x86_64.feature_17.0.8.1_1/eclipsetemurin_jre
|
||||||
|
|
||||||
|
mkdir -p $out/share/jaspersoft-studio-community
|
||||||
|
cp -r . $out/share/jaspersoft-studio-community
|
||||||
|
|
||||||
|
install -Dm644 icon.xpm $out/share/pixmaps/jaspersoft-studio-community.xpm
|
||||||
|
|
||||||
|
mkdir -p $out/bin
|
||||||
|
ln -s "$out/share/jaspersoft-studio-community/Jaspersoft Studio" $out/bin/jaspersoft-studio-community
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
dontCheck = true;
|
||||||
|
|
||||||
|
desktopItems = [
|
||||||
|
(makeDesktopItem {
|
||||||
|
name = "JasperSoft Studio Community";
|
||||||
|
type = "Application";
|
||||||
|
desktopName = "JasperSoft Studio Community";
|
||||||
|
exec = "jaspersoft-studio-community";
|
||||||
|
icon = "jaspersoft-studio-community";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
meta.mainProgram = "jaspersoft-studio-community";
|
||||||
|
})
|
Loading…
Add table
Add a link
Reference in a new issue