Compare commits
2 commits
cf541d2e22
...
62666ff3fb
Author | SHA1 | Date | |
---|---|---|---|
62666ff3fb | |||
c9803a9349 |
2 changed files with 60 additions and 4 deletions
|
@ -1,8 +1,9 @@
|
||||||
final: prev: {
|
final: prev: {
|
||||||
enigma = prev.callPackage ./enigma.nix { };
|
|
||||||
vineflower = prev.callPackage ./vineflower.nix { };
|
|
||||||
koi = prev.kdePackages.callPackage ./koi.nix { };
|
|
||||||
asus-numpad = prev.callPackage ./asus-numpad.nix { };
|
asus-numpad = prev.callPackage ./asus-numpad.nix { };
|
||||||
openwebstart = prev.callPackage ./openwebstart.nix { };
|
enigma = prev.callPackage ./enigma.nix { };
|
||||||
|
jaspersoft-studio-community = prev.callPackage ./jaspersoft-studio-community.nix { };
|
||||||
json2cdn = prev.callPackage ./json2cdn/package.nix { };
|
json2cdn = prev.callPackage ./json2cdn/package.nix { };
|
||||||
|
koi = prev.kdePackages.callPackage ./koi.nix { };
|
||||||
|
openwebstart = prev.callPackage ./openwebstart.nix { };
|
||||||
|
vineflower = prev.callPackage ./vineflower.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